Skip to content

setuptools bdist_wheel.universal is deprecated, removal expected 2025-08-30 #1283

Closed
@moreati

Description

@moreati

Using python -m build to create a mitogen wheel results in several warnings, most critically that universal (i.e. Python 2 + Python 3) wheel support is due to end in a 2 months

!!

        ********************************************************************************
        With Python 2.7 end-of-life, support for building universal wheels
        (i.e., wheels that support both Python 2 and Python 3)
        is being obviated.
        Please discontinue using this option, or if you still need it,
        file an issue with pypa/setuptools describing your use case.

        By 2025-Aug-30, you need to update your project and remove deprecated calls
        or your builds will no longer be supported.
        ********************************************************************************

!!

Mitogen currently relies on this.

mitogen-build.log

TODO

  • Is deprecation only within setuptools? Or will e.g. twine, pypi.org also reject universal wheels?

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-0.3Issues related to 0.3.X Mitogen releasesbugCode feature that hinders desired execution outcomepackagingIssues with PyPI, Linux distro, or other packagespython2

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions