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
TST: Fix numpy-dev failure #13322
TST: Fix numpy-dev failure #13322
Conversation
👋 Thank you for your draft pull request! Do you know that you can use |
I just attempted the same fix in astropy/asdf-astropy#94, and it looks like it failed just like this one did. |
Still no luck |
Yeah, I'll have to report back to numpy. I dunno why they exact pin setuptools. |
The installation is building numpy from source rather than installing a binary wheel. Somehow using the source from https://pypi.anaconda.org/scipy-wheels-nightly then confuses pip, and it tries to install the depenencies from that index as well, which fails because of course there is no |
Maybe another victim of pypa/pip#9140. Is there a way to add |
Sorry, I think it needs to be |
Yay. On to the next failure: the interface for unit's |
What is astropy/astropy/coordinates/tests/test_transformations.py Lines 262 to 266 in bbee7b4
|
Could it be due to numpy/numpy#21627 ? |
Yes, seems likely! I'll try to look at it later today. |
p.s. Added the bug label since this fixes a bug with all numpy >=1.20. |
99e8f42
to
3d25f10
Compare
Nooooo, matplotlib wants to join the fun too...
|
@pllim - is it perhaps easier if I split off my fix? After all, it includes tests that will fail on numpy 1.20 too. What do you think? |
@mhvk , up to you. Thanks! |
Looks like matplotlib took that whole API private but I dunno what they mean by "vendor the code," so I asked at matplotlib/matplotlib#23244 |
OK, probably easier with it separated out given the matplotlib errors - see #13323 |
Co-authored-by: Simon Conseil <simon.conseil@lam.fr>
7d72e13
to
d3f4cc2
Compare
I dropped the changes that went into #13323 , removed usage of |
Should we get this in and I can open up follow up issue about matplotlib? (see #13326) |
It's Friday night, so #yolo |
…322-on-v5.0.x Backport PR #13322 on branch v5.0.x (TST: Fix numpy-dev failure)
…322-on-v5.1.x Backport PR #13322 on branch v5.1.x (TST: Fix numpy-dev failure)
Description
This pull request is attempt to fix failing dev job. xref numpy/numpy#21711
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
Extra CI
label.no-changelog-entry-needed
label. If this is a manual backport, use theskip-changelog-checks
label unless special changelog handling is necessary.astropy-bot
check might be missing; do not let the green checkmark fool you.backport-X.Y.x
label(s) before merge.