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

Fix Windows build of Python for latest WinSDK. #6874

Merged
merged 1 commit into from
May 17, 2018

Conversation

carljm
Copy link
Member

@carljm carljm commented May 15, 2018

Python would not build on a fresh Windows machine with a fresh Visual Studio install. Per @zooba this is because there is a new version of the Windows SDK bundled with latest VS. This issue would not affect anyone upgrading earlier VS versions, only a fresh install.

Confirmed that this fix allows PCBuild/build.bat to complete instead of failing to find the Win SDK.

@carljm
Copy link
Member Author

carljm commented May 16, 2018

The Travis CI failure appears to be spurious; this PR doesn't contain any changes that would affect a non-Windows build.

I can add a bugs.python.org issue if that's needed; wasn't sure if this build-system fix met the triviality bar or not.

I don't think a news entry should be needed here, but I don't have permission to add the "skip news" label.

Copy link
Member

@zooba zooba left a comment

Choose a reason for hiding this comment

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

Thanks! Sorry for not seeing this earlier

@zooba zooba merged commit c0ee341 into python:master May 17, 2018
@miss-islington
Copy link
Contributor

Thanks @carljm for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 17, 2018
(cherry picked from commit c0ee341)

Co-authored-by: Carl Meyer <[email protected]>
@bedevere-bot
Copy link

GH-6952 is a backport of this pull request to the 3.7 branch.

@miss-islington
Copy link
Contributor

Sorry, @carljm and @zooba, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker c0ee341b29bd7d978b49272a2c0e2dcfa77404d5 3.6

@bedevere-bot
Copy link

GH-6953 is a backport of this pull request to the 3.6 branch.

zooba pushed a commit that referenced this pull request May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants