Skip to content

setup.py bdist_wheel is deprecated and will be disabled in Oct. 2025 #770

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

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Jun 29, 2025

Four instances:

python3 setup.py bdist_wheel

python3 setup.py bdist_wheel

python setup.py bdist_wheel

python3 setup.py bdist_wheel

In the macOS or Windows Create wheel section, please see the warning:

/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

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

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!

@cclauss cclauss changed the title python3 setup.py bdist_wheel is deprecated and will be disabled in Oc… setup.py bdist_wheel is deprecated and will be disabled in Oct. 2025 Jun 29, 2025
@julianoes
Copy link
Collaborator

julianoes commented Jun 29, 2025

I assume we have to fully port our setup scripts?

@cclauss
Copy link
Contributor Author

cclauss commented Jun 29, 2025

Yes. My sense is that https://build.pypa.io makes it easier but I have to reread those docs for other projects that I maintain.

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.

2 participants