Skip to content

Commit

Permalink
numpy 2 testing env
Browse files Browse the repository at this point in the history
  • Loading branch information
snbianco committed Jun 11, 2024
1 parent 29ee109 commit 0b20829
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
python: "3.10"
toxenv: py310-test-alldeps

- name: Python 3.10 with numpy 2
os: ubuntu-latest
python: "3.10"
toxenv: py310-test-alldeps-numpy2

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions astrocut/utils/wcs_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# flake8: noqa

import copy
import numpy as np

from astropy import units as u
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ description =
astropy52: with astropy 5.2.*
numpy120: with numpy 1.20.*
numpy123: with numpy 1.23.*
numpy2: with numpy 2
astroquery04: with astroquery 0.4.*

# The following provides some specific pinnings for key packages
deps =
numpy120: numpy==1.20.*
numpy123: numpy==1.23.*
numpy2: numpy==2.0.0rc2

astropy52: astropy==5.2.*

Expand Down

0 comments on commit 0b20829

Please sign in to comment.