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

BUG: fix numpy dev version as their versioning system changed #481

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Aug 16, 2023

Numpy's versioning has changed in numpy/numpy#24196 causing the repr issues we see #479.

This PR fixes #479

@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Merging #481 (98e5bf9) into main (6656130) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #481   +/-   ##
=======================================
  Coverage   80.00%   80.00%           
=======================================
  Files          52       52           
  Lines        6035     6035           
=======================================
  Hits         4828     4828           
  Misses       1207     1207           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -17,7 +17,7 @@
ASTROPY_HEADER = False

# Keep this until we require numpy to be >=2.0
if minversion(np, "2.0.0.dev0+151"):
if minversion(np, "2.0.0.dev0+git20230726"):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could probably use just the 2.0.0.dev0 tag, but that's technically not correct and could cause failures for the unlikely scenario of someone having an a couple of weeks old dev version. So will just go with this.

@bsipocz bsipocz merged commit 86459c0 into astropy:main Aug 16, 2023
11 checks passed
bsipocz added a commit that referenced this pull request Aug 16, 2023
BUG: fix numpy dev version as their versioning system changed
@bsipocz bsipocz deleted the BUG_change_of_np_versioning branch October 20, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: more numpy repr issues
1 participant