Skip to content

Commit 97fbf48

Browse files
committed
add testing on Python 3.11
Also update versioneer to 0.21 (with modifications to make it work with 2.6)
1 parent 8eb0731 commit 97fbf48

File tree

5 files changed

+709
-261
lines changed

5 files changed

+709
-261
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ jobs:
8282
os: ubuntu-latest
8383
python-version: '3.10'
8484
tox-env: gmpy2py310
85+
- name: py3.11
86+
os: ubuntu-latest
87+
python-version: '3.11.0-alpha.3'
88+
tox-env: py311
8589
- name: pypy
8690
os: ubuntu-latest
8791
python-version: pypy-2.7

src/ecdsa/__init__.py

+3-5
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)