-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Use system distutils instead of the setuptools copy #22756
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
Conversation
0dc232c
to
f5ab2e5
Compare
setuptools-59.8.0 worked; going to try something from 60. now. |
cf8d106
to
ae0274f
Compare
And setuptools-60.10.0 fails. |
0e74630
to
8bd52b0
Compare
Dropping down to 60.0.0 fails as well, and the main change there is switching to setuptools' internal copy of distutils. |
cibuildwheel is pinned to setuptools 56, though AppVeyor is on 61.3.0. Not sure I should set the env var on the former too, but maybe we'll just wait until an update allows installing a newer version. |
Do we need to document this in the install instructions as well? I'm going to merge this to un-break CI. |
…756-on-v3.5.x Backport PR #22756 on branch v3.5.x (Use system distutils instead of the setuptools copy)
PR Summary
setuptools 60 re-enabled their local copy of
distutils
: pypa/setuptools#2896This apparently fails to set up paths that can find
msbuild
, so switch back the standard librarydistutils
.PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).