Skip to content

Commit

Permalink
attempt to re-add numpy 2.0 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Mar 9, 2024
1 parent aa4f192 commit 1d2e11c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
envs: |
- linux: py310-test-devdeps-parallel
- linux: py311-test-devdeps-parallel
- linux: py311-test-devdeps-numpydev-parallel
oldest:
needs: [core, asdf-schemas]
Expand All @@ -103,24 +104,6 @@ jobs:
- linux: py39-test-oldestdep-parallels-cov
coverage: codecov

numpy:
needs: [core, asdf-schemas]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
cache-path: ~/.cache/pip
cache-key: pip-${{ needs.setup.outputs.requirements-hash }}
cache-restore-keys: |
pip-
# Any env name which does not start with `pyXY` will use this Python version.
default_python: '3.9'
envs: |
- linux: py39-test-numpy119-parallel
- linux: py39-test-numpy120-parallel
- linux: py310-test-numpy121-parallel
- linux: py310-test-numpy122-parallel
- linux: py311-test-numpy123-parallel
- linux: py311-test-numpy124-parallel
wheel_building:
permissions:
contents: none
Expand Down
17 changes: 3 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[tox]
envlist =
py{39,310}-test{,-alldeps}
py38-test-devdeps
py38-test-devdeps{,-numpydev}
py38-cov
py{39,}-test-numpy{119,120,121,122}
py38-astropylts
py39-test-oldestdep-parallels-cov
requires =
Expand All @@ -17,12 +16,6 @@ description =
alldeps: with all optional dependencies
devdeps: with the latest developer version of key dependencies
cov: and test coverage
numpy119: with numpy 1.19.*
numpy120: with numpy 1.20.*
numpy121: with numpy 1.21.*
numpy122: with numpy 1.22.*
numpy123: with numpy 1.23.*
numpy124: with numpy 1.24.*
astropylts: with astropy LTS

setenv =
Expand All @@ -31,12 +24,6 @@ setenv =
# The following provides some specific pinnings for key packages
deps =
cov: coverage
numpy119: numpy==1.19.*
numpy120: numpy==1.20.*
numpy121: numpy==1.21.*
numpy122: numpy==1.22.*
numpy123: numpy==1.23.*
numpy124: numpy==1.24.*
astropylts: astropy==5.0.*
transformlts: asdf-transform-schemas==0.2.*

Expand All @@ -48,6 +35,8 @@ extras =
test
alldeps: all
commands_pre=
numpydev: pip install -U --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
numpydev: pip install -U --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scipy
devdeps: pip install -U --pre -i https://pypi.anaconda.org/liberfa/simple pyerfa
devdeps: pip install -U --pre -i https://pypi.anaconda.org/astropy/simple astropy

Expand Down

0 comments on commit 1d2e11c

Please sign in to comment.