Skip to content

Commit

Permalink
add python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdalton committed Oct 28, 2024
1 parent ceae60e commit c94f942
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
numpy-version: ['numpy<2.0', 'numpy>=2.0']
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']

# Skip CI if 'skip ci' is contained in latest commit message
if: "!contains(github.event.head_commit.message, 'skip ci')"
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Test with pytest
run: |
python setup.py test
pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
2 changes: 1 addition & 1 deletion reciprocalspaceship/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.2
1.0.3
5 changes: 2 additions & 3 deletions reciprocalspaceship/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Version number for reciprocalspaceship
def getVersionNumber():
import pkg_resources

version = pkg_resources.require("reciprocalspaceship")[0].version
from setuptools.version import metadata
version = metadata.version('reciprocalspaceship')
return version


Expand Down

0 comments on commit c94f942

Please sign in to comment.