Skip to content

Commit

Permalink
fix ci for tables 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmeagher committed Oct 5, 2023
1 parent c810430 commit 920833d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install pytables ubuntu
if: ${{ startsWith( matrix.os, 'ubuntu') && matrix.python-version == 3.12 }}
run: |
sudo apt-get install libhdf5-dev
python3 -m pip install --upgrade pip
python3 -m pip install git+https://github.com/PyTables/PyTables.git
- name: Install SimWeights
run: |
python3 -m pip install --upgrade pip
python3 -m pip install flit
python3 -m flit install --symlink --deps=production --extras=test
- name: Download Test Data
run: curl -u icecube:${{secrets.ICECUBE_PASSWORD}} https://convey.icecube.wisc.edu/data/user/kmeagher/simweights_testdata.tar.gz | tar xz
- name: Run Tests
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: BSD-2-Clause

[build-system]
requires = ["flit_core >=2,<4"]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
Expand All @@ -24,6 +24,7 @@ classifiers = [
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics',
]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
; SPDX-License-Identifier: BSD-2-Clause

[tox]
envlist = py3{7,8,9,10,11}
envlist = py3{8,9,10,11,12}
isolated_build = True

[testenv]
passenv = SIMWEIGHTS_TESTDATA
passenv = SIMWEIGHTS_TESTDATA, HDF5_DIR
deps = .[test]
commands = pytest

0 comments on commit 920833d

Please sign in to comment.