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
BLD: revert adding PEP 621 metadata, it confuses setuptools #22687
Conversation
Argh, now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Random bash scripting observation.
bfcc9dc
to
3c880a0
Compare
3c880a0
to
1b47584
Compare
Current test failure is:
I'm confused; I don't see any mention of |
@stefanv we just added |
Ahh, I guess weird PR timing there, the meson config just doesn't know about |
OK, I just added |
Can you remove the upload_wheels changes? That will be part of #22690. |
1b47584
to
fe31f6b
Compare
Done. |
This is probably ready to merge then? |
Edit: yes, it is in the |
So with this change it appears that strictly We have some jobs in pandas to test with the nightly wheels and are encountering this error https://github.com/pandas-dev/pandas/actions/runs/3589194341/jobs/6041379775
|
That action indeed includes the changes from this PR. It's unlikely that this caused the problem though - this reverted an earlier changed, and all that is left in
The real question here is why you're getting a build from source, rather than picking up a wheel. |
The problem is that some macOS wheel builds failed, but an sdist was uploaded to the nightly bucket. @charris @mattip I don't think we should upload an sdist to nightlies at all, that is going to result in these kinds of problems as Pandas is seeing. If a nightly wheel is missing for some platform, one should get a wheel built a week before. |
@mroeschke I've deleted the most recent sdist, so I think your next CI run should not fail. Could you confirm that after it has run? |
Ah thanks @rgommers. A recent build has started to pass now! https://github.com/pandas-dev/pandas/actions/runs/3596938344/jobs/6058167508 |
@@ -463,6 +463,9 @@ def setup_package(): | |||
else: | |||
#from numpy.distutils.core import setup | |||
from setuptools import setup | |||
# workaround for broken --no-build-isolation with newer setuptools, | |||
# see gh-21288 | |||
metadata["packages"] = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need a backport to 1.24.x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I missed this question. Yes, I think it's a good idea to backport this change. I'll open a PR now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(bit late, sorry about this. it can go into the next bug fix release)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See https://github.com/numpy/numpy/pull/22663/files#r1034053192.
The one
setup.py
tweak is to even make it possible to test newersetuptools
versions without build isolation (applies fix suggested in gh-21288).