Skip to content

Commit

Permalink
update numpy version in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robelgeda committed Aug 16, 2024
1 parent 85a0df9 commit 6a449ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- os: ubuntu-latest
python: '3.12'
tox_env: 'py312-test-numpy122'
prefix: 'py312-test-numpy122'
tox_env: 'py312-test-numpy2'
prefix: 'py312-test-numpy2'

- os: ubuntu-latest
python: '3.12'
Expand All @@ -51,7 +51,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
python -m pip install tox setuptools
python -m pip install --upgrade setuptools
- name: Test with Tox
run: |
export PY_COLORS=1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]

requires = ["setuptools",
requires = ["setuptools>=72",
"setuptools_scm",
"wheel"]

Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist =
py{312}-test{-alldeps}
py{312}-test-numpy{122}
py{312}-test-numpy{2}
py{312}-test-astropy{61}
build_docs
linkcheck

requires =
setuptools >= 72.2.0
setuptools >= 72
pip >= 24.0.0

isolated_build = true
Expand Down Expand Up @@ -38,7 +38,6 @@ changedir = .tmp/{envname}
description =
run tests
alldeps: with all optional dependencies
numpy122: with numpy 1.22.*
numpy2: with numpy 2.0.*
astropy61: with astropy 6.1.*
astropylts: with the latest astropy LTS
Expand All @@ -47,7 +46,6 @@ description =
deps =
-r{toxinidir}/requirements.txt
numpy2: numpy==2.0.*
numpy122: numpy==1.22.*
astropy61: astropy==6.1.*

# The following indicates which extras_require from setup.cfg will be installed
Expand Down

0 comments on commit 6a449ae

Please sign in to comment.