Skip to content

Commit

Permalink
Change devdeps test to python 3.12, force install dev numpy despite m…
Browse files Browse the repository at this point in the history
…atplotlib
  • Loading branch information
rosteen committed Sep 27, 2023
1 parent 1967512 commit 21a97c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ jobs:
fail-fast: false
matrix:
include:
- name: (Allowed Failure) Python 3.11 with remote data and dev version of key dependencies
- name: (Allowed Failure) Python 3.12 with remote data and dev version of key dependencies
os: ubuntu-latest
python: '3.11'
toxenv: py311-test-devdeps
python: '3.12-dev'
toxenv: py312-test-devdeps
toxposargs: --remote-data=any

steps:
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,310,311}-test{,-devdeps,-oldestdeps,-predeps}{,-cov,-external}
py{38,39,310,311,312}-test{,-devdeps,-oldestdeps,-predeps}{,-cov,-external}
linkcheck
codestyle
requires =
Expand Down Expand Up @@ -66,6 +66,8 @@ extras =
!oldestdeps: jwst

commands =
# Force numpy-dev after matplotlib downgrades it (https://github.com/matplotlib/matplotlib/issues/26847)
devdeps: python -m pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
pip freeze
!cov: pytest --pyargs specutils {toxinidir}/docs {posargs}
cov: pytest --pyargs specutils {toxinidir}/docs --cov specutils --cov-config={toxinidir}/setup.cfg {posargs}
Expand Down

0 comments on commit 21a97c1

Please sign in to comment.