Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing dev tests with numpy 2.0 #1006

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,11 @@ jobs:
${{ needs.cache.outputs.path }}
${{ needs.cache.outputs.testing_cache }}
key: ${{ needs.cache.outputs.key }}
- run: pip uninstall -y astropy matplotlib contourpy
- run: pip install git+https://github.com/astropy/astropy.git
- run: pip install git+https://github.com/matplotlib/matplotlib.git
- run: pip install git+https://github.com/contourpy/contourpy.git
- run: pip uninstall -y numpy scipy
- run: pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
- run: pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scipy
- run: ./runtests --cover
2 changes: 1 addition & 1 deletion crds_setup_crds
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

pip install --upgrade numpy
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
pip install --upgrade git+https://github.com/spacetelescope/jwst
pip uninstall --yes crds

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "crds"
description = "Calibration Reference Data System, HST/JWST/Roman reference file management"
authors = [{ name = "STScI CRDS s/w developers" }]
requires-python = ">=3.9"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
Expand Down
4 changes: 4 additions & 0 deletions requirements-dev-numpy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Use Bi-weekly numpy dev build
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
numpy>=2.0.0.dev0
scipy>=0.0.dev0
Loading