Skip to content

Commit

Permalink
Update test matrix for newer versions of numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Aug 20, 2024
1 parent a908a8c commit 36d7e4d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
- name: 'ubuntu-py39'
os: ubuntu-latest
python: '3.9'
tox_env: 'py39-test-alldeps-numpy119-cov'
tox_env: 'py39-test-alldeps-numpy124-cov'

- name: 'ubuntu-py39-bottleneck'
os: ubuntu-latest
python: '3.9'
tox_env: 'py39-test-alldeps-numpy119-cov-bottleneck'
tox_env: 'py39-test-alldeps-numpy124-cov-bottleneck'

- name: 'ubuntu-py310'
os: ubuntu-latest
Expand All @@ -60,12 +60,12 @@ jobs:
- name: 'macos-py312'
os: macos-latest
python: '3.12'
tox_env: 'py312-test-alldeps'
tox_env: 'py312-test-alldeps-numpy200' #DROP numpy200 restriction after astropy 6.1.3 is out

- name: 'windows-py312'
os: windows-latest
python: '3.12'
tox_env: 'py312-test-alldeps'
tox_env: 'py312-test-alldeps-numpy200' #DROP numpy200 restriction after astropy 6.1.3 is out

- name: 'ubuntu-codestyle'
os: ubuntu-latest
Expand Down
21 changes: 8 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,24 @@ description =
devdeps: with the latest developer version of key dependencies
oldestdeps: with the oldest supported version of key dependencies
cov: and test coverage
numpy118: with numpy 1.18.*
numpy119: with numpy 1.19.*
numpy120: with numpy 1.20.*
numpy121: with numpy 1.21.*
astropylts: with the latest astropy LTS
numpy124: with numpy 1.24.*
numpy126: with numpy 1.26.*
numpy200: with numpy 2.0.*
numpy210: with numpy 2.1.*
bottleneck: with bottleneck

# The following provides some specific pinnings for key packages
deps =
cov: coverage

numpy118: numpy==1.18.*
numpy119: numpy==1.19.*
numpy120: numpy==1.20.*
numpy121: numpy==1.21.*
numpy123: numpy==1.23.*
numpy124: numpy==1.24.* # current oldest suppported numpy
numpy126: numpy==1.26.*
numpy200: numpy==2.0.*
numpy210: numpy==2.1.*

astroscrappy11: astroscrappy==1.1.*
astroscrappy11: numpy<2.0

astropylts: astropy==4.0.*

bottleneck: bottleneck>=1.3.2

devdeps: git+https://github.com/astropy/astropy.git#egg=astropy
Expand All @@ -51,7 +46,7 @@ deps =
# packages which are constrained in the setup.cfg
# NOTE ABOUT NUMPY VERSION: for astroscrappy 1.0.8 have to use at least 1.20
# for the tests to even get to the point of running.
oldestdeps: numpy==1.21.*
oldestdeps: numpy==1.24.*
oldestdeps: astropy==5.0.*
oldestdeps: reproject==0.7
# astroscrappy needs to install AFTER numpy so its install is done in
Expand Down

0 comments on commit 36d7e4d

Please sign in to comment.