Skip to content

Commit

Permalink
Merge pull request #202 from J08nY/fix/py312
Browse files Browse the repository at this point in the history
Fix Python 3.12 install by bumping versioneer.
  • Loading branch information
hmaarrfk authored May 31, 2024
2 parents 3f13e90 + 5f93539 commit 96e9538
Show file tree
Hide file tree
Showing 5 changed files with 1,051 additions and 430 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.11']
python-version: ['3.7', '3.11', '3.12']

steps:
- uses: actions/checkout@v1
Expand All @@ -23,7 +23,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 numpy
- name: Test with tox
- name: Flake
run: |
flake8 picoscope setup.py
flake8 examples/*
5 changes: 2 additions & 3 deletions picoscope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
"ps5000a",
"ps6000"]

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit 96e9538

Please sign in to comment.