Skip to content

Deprecate bdist_wheel.universal #4617

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

Merged
merged 3 commits into from
Sep 15, 2024
Merged

Deprecate bdist_wheel.universal #4617

merged 3 commits into from
Sep 15, 2024

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Aug 30, 2024

Summary of changes

Closes #4613

Pull Request Checklist

@abravalheri abravalheri marked this pull request as ready for review August 30, 2024 14:49
Copy link
Member

@jaraco jaraco left a comment

Choose a reason for hiding this comment

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

I thought this change would affect some of the backport modules I maintain, but I scanned though them and in all cases, I've dropped support for Python 2.7. If I or others need to build a universal wheel, it seems reasonable they could pin to an older version of Setuptools, but it seems decreasingly likely it will be needed.

@jaraco jaraco merged commit 9fb53fd into pypa:main Sep 15, 2024
23 checks passed
@webknjaz
Copy link
Member

I thought this change would affect some of the backport modules I maintain, but I scanned though them and in all cases, I've dropped support for Python 2.7. If I or others need to build a universal wheel, it seems reasonable they could pin to an older version of Setuptools, but it seems decreasingly likely it will be needed.

One case this will affect is building old releases when the builders don't take reproducibility measures like using PIP_CONSTRAINT to force older setuptools.

@abravalheri abravalheri deleted the issue-4612 branch March 24, 2025 13:34
webknjaz added a commit to webknjaz/setuptools that referenced this pull request Apr 4, 2025
This is a follow-up to pypa#4617 which deprecated the `universal` flag of `bdist_wheel`. It originally offered people to complain in issues. I, however, think that it's useful to mention the non-deprecated alternative that will keep working past deprecation date. This is what this patch implements.
@webknjaz
Copy link
Member

webknjaz commented Apr 4, 2025

@abravalheri I think I've found a non-deprecated replacement that would be useful to mention as a part of deprecation messages: #4939.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Incompatible bdist_wheel.universal and requires-python behaviors build misleading "py2" package
3 participants