Skip to content

Commit d481a03

Browse files
webknjazmoreati
authored andcommitted
Keep comatibility with setuptools 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
1 parent 432ee9a commit d481a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bdist_wheel]
2-
universal=1
2+
python_tag = py2.py3
33

44
[coverage:run]
55
branch = true

0 commit comments

Comments
 (0)