Keep compatibility with setuptools tagging wheels with py2.py3#1286
Merged
moreati merged 1 commit intomitogen-hq:masterfrom Jun 18, 2025
Merged
Keep compatibility with setuptools tagging wheels with py2.py3#1286moreati merged 1 commit intomitogen-hq:masterfrom
setuptools tagging wheels with py2.py3#1286moreati merged 1 commit intomitogen-hq:masterfrom
Conversation
1 task
setuptools tagging wheels with py2.py3setuptools tagging wheels with py2.py3
Modern versions of `setuptools` emit a warning when the `universal = 1` option of `bdist_wheel` is used. This warning will turn into an error on Aug 30, 2025. The only function of `universal = 1` is assigning the dual `py2.py3` tag to the wheels. It does not perform any content or metadata compatibility validation that might be related to this. It is possible to keep producing same-tagged wheels by setting the non-deprecated `python_tag` option instead, which is what this PR does. Fixes mitogen-hq#1283 Ref pypa/setuptools#4939
Member
|
Thank you. It'll probably be in a release later this month. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Modern versions of
setuptoolsemit a warning when theuniversal = 1option ofbdist_wheelis used. This warning will turn into an error on Aug 30, 2025.The only function of
universal = 1is assigning the dualpy2.py3tag to the wheels. It does not perform any content or metadata compatibility validation that might be related to this.It is possible to keep producing same-tagged wheels by setting the non-deprecated
python_tagoption instead, which is what this PR does.Fixes #1283
Ref pypa/setuptools#4939