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

DEP: temporarily using dev version of indirect dependency pyerfa #501

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Dec 1, 2023

Apparently we need to make this hack to make the dev testing work. (It's a hack as pyerfa is not our direct dependency but astropy's, I'm not even sure we use any features in pyvo that requires erfa)

@bsipocz bsipocz added this to the v1.4.3 milestone Dec 1, 2023
@bsipocz bsipocz requested a review from pllim December 1, 2023 07:37
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7682a18) 80.08% compared to head (2f5c927) 80.08%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #501   +/-   ##
=======================================
  Coverage   80.08%   80.08%           
=======================================
  Files          52       52           
  Lines        6071     6071           
=======================================
  Hits         4862     4862           
  Misses       1209     1209           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@pllim pllim left a comment

Choose a reason for hiding this comment

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

I think astropy.utils.iers imports erfa stuff no matter what, so that in turn imports their C-extension, and triggers the numpy-dev stuff when you have numpy-dev and astropy-dev installed but not pyerfa-dev.

Once numpy 2.0 stable is out and both pyerfa has a stable version that is built with numpy 2.0 on PyPI, indeed, this won't be necessary anymore. But it also does not hurt to keep it going forward.

Thanks!

xref astropy/astropy#15638

@bsipocz bsipocz merged commit 36c012f into astropy:main Dec 1, 2023
12 of 13 checks passed
@bsipocz bsipocz modified the milestones: v1.4.3, v1.5 Dec 15, 2023
@bsipocz bsipocz deleted the dep_pyefra branch April 17, 2024 15:45
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.

2 participants