-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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: build failure with new setuptools 73.0.0 #21416
Comments
* Try adding a workaround in the wheel builds for scipygh-21416. [wheel build]
* Try setting an upper bound to `setuptools` version in `pyproject.toml` (this is probably terrible), to hack around scipygh-21416. [wheel build]
This hack does seem to help isolated builds deal with the transitive dep issue locally, but is obviously very undesirable: --- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,6 +28,7 @@ requires = [
# The upper bound on pythran is pre-emptive only; 0.16.1
# is released/working at time of writing.
"pythran>=0.14.0,<0.17.0",
+ "setuptools<73.0.0", # hack to work around gh-21416 So, hopefully gets resolved/yanked upstream. |
Thanks for the above investigation and fix - I've opened an issue and proposed a fix to pythran upstream here: serge-sans-paille/pythran#2229 |
xref serge-sans-paille/pythran#2228 (comment) for context |
I just bisected, and the first bad commit in cross-posted from serge-sans-paille/pythran#2228 |
Upstream issue: pypa/setuptools#4579 (as linked above). |
This can now be closed since https://pypi.org/project/setuptools/73.0.1/ is now up. |
@agriyakhetarpal Thanks for the hard work bisecting and coordinating upstream with I see the issue fixed locally as well, with the newly-released |
* Revert some commits related to `setuptools` breakage. See scipygh-21416. [wheel build]
Bump py3-setuptools package to pick-up fix for: scipy/scipy#21416 This was a bug introduced upstream which is causing a number of our packages to fail to build. This patch release resolves it: pypa/setuptools@ebddeb3 The tag was cut 4 days ago but they haven't cut a release yet - we're monitoring releases not tags. But given this is causing package failures, bumping ahead. Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
I don't think it is particularly surprising when this happens, but it did just bite me while working on the release/backports in gh-21362, and I confirmed that I can reproduce on
main
withsetuptools
73.0.0
, released an hour ago, via its interaction withpythran
0.16.0
,0.15.0
, or0.16.1
on MacOS ARM (didn't check other platforms).python -m pip install "setuptools<73.0.0"
in an affected environment suffices to fix the issue. I suspect this is an "upstream" matter, but perhaps worth noting at least. cc @serge-sans-paille just in case maybe, though perhapssetuptools
will yank if it is a problem on their end.The text was updated successfully, but these errors were encountered: