Skip to content
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

Remove bdist_wininst, Filter out distutils deprecation #2566

Merged
merged 2 commits into from Mar 31, 2021

Conversation

hroncok
Copy link
Contributor

@hroncok hroncok commented Feb 12, 2021

Summary of changes

Python 3.10.0a5 related fix / workaround. See individual commits.

Closes #2558

Pull Request Checklist

  • Changes have tests -- nope, not sure how
  • News fragment added in changelog.d/ -- not yet

pytest.ini Outdated Show resolved Hide resolved
@hroncok
Copy link
Contributor Author

hroncok commented Mar 2, 2021

@jaraco Is this a way to go for now?

@jaraco
Copy link
Member

jaraco commented Mar 7, 2021

Apologies for letting this linger so long. I’ll try to get to it today.

@jaraco
Copy link
Member

jaraco commented Mar 7, 2021

At one point, it was proposed that Setuptools might continue to support bdist_wininst after the removal from Python, or at least it might enable support on Python 3.10+. This approach takes a different tack and accelerates the deprecation and imposes it on older Pythons. I'm okay with that, because those users can still use older Setuptools as a stopgap.

Copy link
Member

@jaraco jaraco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go ahead and write up a breaking changelog and we can get this out.

The distutils platform problems are likely to be resolved before the removal.
Once this happens, setuptools will no longer use distutils from the Python
standard library.
@hroncok
Copy link
Contributor Author

hroncok commented Mar 8, 2021

Amedned. I've also extended the filterwarnings commit message a bit.

@hroncok hroncok marked this pull request as ready for review March 8, 2021 11:16
@hroncok
Copy link
Contributor Author

hroncok commented Mar 30, 2021

@jaraco Could you please merge this PR? It has been approved 3 weeks ago.

@jaraco jaraco merged commit b3d7759 into pypa:main Mar 31, 2021
@jaraco
Copy link
Member

jaraco commented Mar 31, 2021

Yes. Thanks for your patience.

@hroncok hroncok deleted the remove_bdist_wininst branch October 24, 2022 23:47
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.

Python 3.10: ModuleNotFoundError: No module named 'distutils.command.bdist_wininst'
2 participants