Skip to content

Commit

Permalink
Merge pull request #282 from tlsfuzzer/new-pythons
Browse files Browse the repository at this point in the history
Test with new pythons
  • Loading branch information
tomato42 authored Jan 4, 2022
2 parents 065b40c + e594ec8 commit 4a8b1e3
Show file tree
Hide file tree
Showing 5 changed files with 726 additions and 267 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,23 @@ jobs:
os: ubuntu-latest
python-version: 3.9
tox-env: py39
- name: py3.9 with gmpy
- name: py3.10
os: ubuntu-latest
python-version: 3.9
tox-env: gmpypy39
- name: py3.9 with gmpy2
python-version: '3.10'
tox-env: py310
- name: py3.10 with gmpy
os: ubuntu-latest
python-version: 3.9
tox-env: gmpy2py39
python-version: '3.10'
tox-env: gmpypy310
- name: py3.10 with gmpy2
os: ubuntu-latest
python-version: '3.10'
tox-env: gmpy2py310
# Python 3.11a3 segfaults when running the test suite so skip it for now
#- name: py3.11
# os: ubuntu-latest
# python-version: '3.11.0-alpha.3'
# tox-env: py311
- name: pypy
os: ubuntu-latest
python-version: pypy-2.7
Expand Down
8 changes: 3 additions & 5 deletions src/ecdsa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,9 @@
InvalidSharedSecretError,
)
from .der import UnexpectedDER
from . import _version

# This code comes from http://github.com/tlsfuzzer/python-ecdsa
from ._version import get_versions

__version__ = get_versions()["version"]
del get_versions

__all__ = [
"curves",
"der",
Expand Down Expand Up @@ -90,3 +86,5 @@
six.b(""),
]
del _hush_pyflakes

__version__ = _version.get_versions()["version"]
Loading

0 comments on commit 4a8b1e3

Please sign in to comment.