Skip to content

Conversation

@tucked
Copy link
Contributor

@tucked tucked commented Nov 23, 2022

Resolve #5496

https://packaging.python.org/en/latest/guides/dropping-older-python-versions/#dealing-with-the-universal-wheels

Traditionally, projects providing Python code that is semantically compatible with both Python 2 and Python 3, produce wheels that have a py2.py3 tag in their names. When dropping support for Python 2, it is important not to forget to change this tag to just py3. It is often configured within setup.cfg under the [bdist_wheel] section by setting universal = 1 if they use setuptools.

The checklist

  • Associated issue
  • A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

Python 2 is no longer supported.
@matteius matteius merged commit 66153e2 into pypa:main Nov 23, 2022
@tucked tucked deleted the universal-wheel branch November 23, 2022 17:56
@tucked
Copy link
Contributor Author

tucked commented Nov 23, 2022

FWIW, "Squash and Merge" discards commit signatures:
image
becomes
image

@matteius
Copy link
Member

Sorry about that, it's my default but definitely did not need to be squashed on your PR.

@tucked
Copy link
Contributor Author

tucked commented Nov 23, 2022

No worries, it's NBD... Just thought I'd mention it since most people aren't aware of it 😊

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.

Stop building universal wheels

2 participants