Skip to content

Commit 4a8b1e3

Browse files
authored
Merge pull request #282 from tlsfuzzer/new-pythons
Test with new pythons
2 parents 065b40c + e594ec8 commit 4a8b1e3

File tree

5 files changed

+726
-267
lines changed

5 files changed

+726
-267
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,23 @@ jobs:
7070
os: ubuntu-latest
7171
python-version: 3.9
7272
tox-env: py39
73-
- name: py3.9 with gmpy
73+
- name: py3.10
7474
os: ubuntu-latest
75-
python-version: 3.9
76-
tox-env: gmpypy39
77-
- name: py3.9 with gmpy2
75+
python-version: '3.10'
76+
tox-env: py310
77+
- name: py3.10 with gmpy
7878
os: ubuntu-latest
79-
python-version: 3.9
80-
tox-env: gmpy2py39
79+
python-version: '3.10'
80+
tox-env: gmpypy310
81+
- name: py3.10 with gmpy2
82+
os: ubuntu-latest
83+
python-version: '3.10'
84+
tox-env: gmpy2py310
85+
# Python 3.11a3 segfaults when running the test suite so skip it for now
86+
#- name: py3.11
87+
# os: ubuntu-latest
88+
# python-version: '3.11.0-alpha.3'
89+
# tox-env: py311
8190
- name: pypy
8291
os: ubuntu-latest
8392
python-version: pypy-2.7

src/ecdsa/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,9 @@
3737
InvalidSharedSecretError,
3838
)
3939
from .der import UnexpectedDER
40+
from . import _version
4041

4142
# This code comes from http://github.com/tlsfuzzer/python-ecdsa
42-
from ._version import get_versions
43-
44-
__version__ = get_versions()["version"]
45-
del get_versions
46-
4743
__all__ = [
4844
"curves",
4945
"der",
@@ -90,3 +86,5 @@
9086
six.b(""),
9187
]
9288
del _hush_pyflakes
89+
90+
__version__ = _version.get_versions()["version"]

0 commit comments

Comments
 (0)