Skip to content

Offer direct guidance for replacing bdist_wheel.universal #4939

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion setuptools/command/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,12 @@ class bdist_wheel(Command):
"g",
"Group name used when creating a tar file [default: current group]",
),
("universal", None, "*DEPRECATED* make a universal wheel [default: false]"),
(
"universal",
None,
"*DEPRECATED* make a universal wheel [default: false]\n\n"
"Set `python_tag = py2.py3` in `setup.cfg` instead.",
),
(
"compression=",
None,
Expand Down Expand Up @@ -267,6 +272,9 @@ def finalize_options(self) -> None:
is being obviated.
Please discontinue using this option, or if you still need it,
file an issue with pypa/setuptools describing your use case.

The use of this setting can be replaced with `python_tag = py2.py3`
entry in `setup.cfg`.",
""",
due_date=(2025, 8, 30), # Introduced in 2024-08-30
)
Expand Down
Loading