Skip to content

Commit

Permalink
add runners for python 3.13 (#43)
Browse files Browse the repository at this point in the history
* add runners for python 3.13

* remove nuflux from tests

* use numpy <2 to make pytables happy for py3.9
  • Loading branch information
kjmeagher authored Nov 20, 2024
1 parent 8d6a7c8 commit ecb840d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-24.04]
include:
- python-version: "3.12"
os: macos-14
- python-version: "3.13"
os: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -32,11 +32,11 @@ jobs:
cache-dependency-path: pyproject.toml
- name: Install SimWeights
run: |
if [ "${{matrix.python-version}}" == "3.9" ]; then
python3 -m pip install "numpy<2"
fi
python3 -m pip install flit
python3 -m flit install --symlink --deps=production --extras=test
if [ "$RUNNER_OS" == "Linux" ]; then
python3 -m pip install nuflux
fi
- name: Download Test Data
run: |
curl -u icecube:${{ secrets.ICECUBE_PASSWORD }} https://convey.icecube.wisc.edu/data/ana/Software/simweights/test-data/simweights_testdata.tar.gz -O
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics'
]
Expand Down

0 comments on commit ecb840d

Please sign in to comment.