Skip to content

Commit

Permalink
Fix devdeps (#194)
Browse files Browse the repository at this point in the history
* Fix devdeps
because photutils got installed after matplotlib downgraded numpy now.
  • Loading branch information
pllim committed Jan 2, 2024
1 parent af3b9c2 commit 7716703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_workflows.yml
Expand Up @@ -59,6 +59,6 @@ jobs:
linux: py39-test-alldeps
posargs: --remote-data -v
- name: Python 3.12 with remote data
- name: Python 3.12 with remote data and dev dependencies
linux: py312-test-devdeps
posargs: --remote-data -v
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -40,7 +40,6 @@ deps =
devdeps: scikit-image>=0.0.dev0
devdeps: pyerfa>=0.0.dev0
devdeps: astropy>=0.0.dev0
devdeps: git+https://github.com/astropy/photutils.git
devdeps: git+https://github.com/spacetelescope/ci_watson.git
devdeps: stsci.tools

Expand All @@ -52,6 +51,8 @@ extras =
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
# photutils has C-extension and must be built with numpy-dev in devdeps
devdeps: python -m pip install --pre --upgrade git+https://github.com/astropy/photutils.git
pip freeze
pytest --pyargs acstools {toxinidir}/doc {posargs}

Expand Down

0 comments on commit 7716703

Please sign in to comment.