Skip to content

Commit

Permalink
Drop py 3.7, add py 3.12 (#48)
Browse files Browse the repository at this point in the history
* drop py 3.7, add py 3.12

* whatsnew
  • Loading branch information
kandersolar authored May 14, 2024
1 parent dbe6769 commit c1ad8dc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.7"
python: "3.8"

python:

Expand Down
3 changes: 3 additions & 0 deletions docs/source/whatsnew.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- ``twoaxistracking.__version__`` now correctly reports the version string instead
of raising ``AttributeError`` (see PR#45).

### Testing
- Remove python 3.7 and add python 3.12 to test matrix (see PR#48).


## [0.2.4] - 2023-01-05

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers =

[options]
packages = twoaxistracking
python_requires = >=3.7
python_requires = >=3.8
install_requires =
numpy
matplotlib
Expand Down
6 changes: 1 addition & 5 deletions twoaxistracking/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
try: # pragma: no cover
from importlib.metadata import PackageNotFoundError, version
except ImportError: # pragma: no cover
# for python < 3.8 (remove when dropping 3.7 support)
from importlib_metadata import PackageNotFoundError, version
from importlib.metadata import PackageNotFoundError, version

try: # pragma: no cover
__version__ = version(__package__)
Expand Down

0 comments on commit c1ad8dc

Please sign in to comment.