Skip to content

Commit

Permalink
Formalize numpydev in tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jan 8, 2024
1 parent 98c8d87 commit 8179d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
toxenv: py311-test-pytestdev
- os: ubuntu-latest
python-version: '3.12'
toxenv: py312-test-pytestdev
toxenv: py312-test-pytestdev-numpydev

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 2 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ isolated_build = true
[testenv]
changedir = .tmp/{envname}
setenv =
# Until a released numpy version is 3.12 compatible, we install the dev wheel
py312: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
numpydev: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
description = run tests
deps =
pytestoldest: pytest==4.6.0
Expand All @@ -28,9 +27,7 @@ deps =
pytest73: pytest==7.3.*
pytest74: pytest==7.4.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
# We keep seeing pytest related issues with the latest release and python 3.12, keep using the dev version until it's fixed upstream
py312: git+https://github.com/pytest-dev/pytest#egg=pytest
py312: numpy>=0.0.dev0
numpydev: numpy>=0.0.dev0

extras =
test
Expand Down

0 comments on commit 8179d66

Please sign in to comment.