Skip to content

Commit 990c435

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 990c435

File tree

5 files changed

+704
-271
lines changed

5 files changed

+704
-271
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

+4-5
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
from .der import UnexpectedDER
4040

4141
# 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-
4742
__all__ = [
4843
"curves",
4944
"der",
@@ -90,3 +85,7 @@
9085
six.b(""),
9186
]
9287
del _hush_pyflakes
88+
89+
from . import _version
90+
91+
__version__ = _version.get_versions()["version"]

0 commit comments

Comments
 (0)