-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use CPython 3.8.0 mechanism to find msvc 14+ #1904
Conversation
Using a Python 3.8 back port instead of the current mechanism seem to be the good way to do. This also allow to completely drop the old mechanism that become unused. This will make this file far more easy to maintain. Note that this will remove the following:
I sent you a PR with the following changes:
I do not have a Windows right now to do more tests on it. There are maybe tests with Python 3.8 that can be back-ported too. |
Thanks @JGoutin, this is much cleaner indeed. All CI tests of cibuildwheel are passing with your version of If @pypa/setuptools-developers are ok with your notes (Microsoft Windows SDK 6.1 and 7.0, Python 3.4 support dropped), I'll merge that in this PR. |
f52bdec
to
31611ed
Compare
Indeed, I'll check if I can add those: |
It's exactly that. |
299bc07
to
20126c8
Compare
20126c8
to
8ca9d78
Compare
8ca9d78
to
e09614d
Compare
#1908 is merged, Python 3.4 support is dropped from setuptools. |
I will drop python 3.4 support in Edit: I won't drop python 3.4 Since python 3.4 uses the same code base as python 2.7, I'd rather not change it. It'll be easier to drop as a whole once python 2.7 support is really removed from setuptools. |
e09614d
to
3961813
Compare
Removing the python 3.4 support will not remove the Python 2.7 support. It will only remove the Python 2.7 requires |
@JGoutin, |
3961813
to
a99cacf
Compare
@jaraco, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks!
Released as 45.3.0 |
Summary of changes
Update
msvc.py
to use CPython 3.8.0 mechanism to find msvc 14+ as recommended in this comment.Closes #1903
This PR has been tested as part of cibuildwheel tests using various CI providers.
Please note that I can't test it more thoroughly cause I don't have any Windows environment at hand (except for CI which requires very long iterations).
Pull Request Checklist