Skip to content

Commit 96e9538

Browse files
authored
Merge pull request #202 from J08nY/fix/py312
Fix Python 3.12 install by bumping versioneer.
2 parents 3f13e90 + 5f93539 commit 96e9538

File tree

5 files changed

+1051
-430
lines changed

5 files changed

+1051
-430
lines changed

Diff for: .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.7', '3.11']
14+
python-version: ['3.7', '3.11', '3.12']
1515

1616
steps:
1717
- uses: actions/checkout@v1
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
python -m pip install --upgrade pip
2525
python -m pip install flake8 numpy
26-
- name: Test with tox
26+
- name: Flake
2727
run: |
2828
flake8 picoscope setup.py
2929
flake8 examples/*

Diff for: picoscope/__init__.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@
1010
"ps5000a",
1111
"ps6000"]
1212

13-
from ._version import get_versions
14-
__version__ = get_versions()['version']
15-
del get_versions
13+
from . import _version
14+
__version__ = _version.get_versions()['version']

0 commit comments

Comments
 (0)