-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Deprecate the setup.py bdist_wheel
code path
#13319
base: main
Are you sure you want to change the base?
Conversation
a7a3ff5
to
5fcc5d2
Compare
About the timeline, would it make sense to remove support for |
5fcc5d2
to
799716c
Compare
I am strongly -1 on an accelerated deprecation period (normal period is two releases, e.g. 25.1 -> 25.3), uv is keeping track of projects they have encountered that don't work with PEP 517: astral-sh/uv#2252, there are likely many more that don't use uv or aren't public, what is special about this that we are not giving them a normal notice period to fix their projects? Here are some more details about why thee setuptools/wheel issue still occurs under PEP 517: #13314 (comment) |
11cbf9b
to
66b9924
Compare
It is important to note that The main source of breakage will be build isolation by default. At some point, I was considering to use PEP 517 without build isolation by default for projects without pyproject.toml, but in the end I think it would introduce an additional variation and source of confusion. |
Should we consider the release planning of Python 3.14 to decide on the timeline for this deprecation? |
Why will that make a difference? Are you thinking about whether Python 3.14 ships with a version of pip that drops the legacy code path? I'd hope that most people would upgrade their existing pip much more quickly than they'd upgrade their Python version - especially people who are still using the legacy code path (and I therefore assume to be relatively cautious in their upgrade policy). IMO, we either follow our normal process (25.3, in October), or accelerate (25.2, in July). Python 3.14 is scheduled for release on 7th October, so 25.2 would be well in advance of 3.14, whereas 25.3 would be fairly shortly after. I would expect 3.14 to ship with 25.2, on that basis. |
FWIW, the spec says there should be some user options to workaround package backend issues, but not something that package authors can rely on:
Pip provides |
66b9924
to
04a8116
Compare
Alright, I have updated to 25.3, and aligned the removal of |
04a8116
to
d6cb790
Compare
Towards #6334
Towards #9175
Towards #11859