Skip to content

[2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN (GH-1783) #3306

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

Merged
merged 10 commits into from
Sep 4, 2017

Conversation

zware
Copy link
Member

@zware zware commented Sep 4, 2017

This also contains (partial) cherry-picks of other PRs since then.

https://bugs.python.org/issue30450

zware and others added 7 commits September 4, 2017 11:15
…honGH-1783)

The Windows build now depends on Python 3.6 to fetch externals, but it
will be downloaded via NuGet (which is downloaded via PowerShell) if it
is not available via `py -3.6`.  This means the only thing that must be
installed on a modern Windows box to do a full build of CPython with all
extensions is Visual Studio.

(cherry-picked from 51599e2)
It's the version we use on 3.x, and it's simpler to just use it than to
also upload the old version to cpython-source-deps
…n vcvarsall.bat (python#2252)

* Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat
Also fixes bdist_wininst.vcxproj to use correct version in generated name.

(cherry-picked from parts of 40a23e8)
* bpo-30450: Fall back to git.exe if no Python is found.

* Also check whether git.exe is on PATH if it will be used.
@zware zware changed the title [2.7] Pull Windows dependencies from GitHub rather than SVN (GH-1783) [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN (GH-1783) Sep 4, 2017
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.

Looks good. Thanks for grabbing the Doc/make.bat change

Doc/make.bat Outdated
"%PYTHON%" -m pip install sphinx
if errorlevel 1 exit /B
)
)
Copy link
Member

Choose a reason for hiding this comment

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

I have an open PR making this bit even better! You should review that before backporting something different :)

@@ -32,9 +32,9 @@

<!-- Directories of external projects. tcltk is handled in tcltk.props -->
<ExternalsDir>$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals\`))</ExternalsDir>
<sqlite3Dir>$(ExternalsDir)sqlite-3.8.11.0\</sqlite3Dir>
<sqlite3Dir>$(ExternalsDir)sqlite-3.14.2.0\</sqlite3Dir>
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if this is a change we wanted to actually make...

Copy link
Member Author

Choose a reason for hiding this comment

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

This was simpler than creating a new branch for an old version of sqlite, and @benjaminp basically approved it on IRC (you never replied :)).

Fix logic for retrying nuget.exe download with Python.
Add support for HOST_PYTHON variable.
Clear internal environment variables used in find_python.bat
Use HOST_PYTHON as the actual Python if it is recent enough.
Adds HOST_PYTHON variable to AppVeyor configuration
@zware
Copy link
Member Author

zware commented Sep 4, 2017

@zooba Have I missed any other PRs that affect these scripts? I just found that last one via git log master .github/appveyor.yml.

@zooba
Copy link
Member

zooba commented Sep 4, 2017

Not yet, though I'm working on one to enable the v141 toolset and latest Win10 SDKs. Not really needed for 2.7

@zware
Copy link
Member Author

zware commented Sep 4, 2017

Ok, I'm not concerned about that for 2.7. Once CI is happy with the latest commit here, I'll go ahead and merge.

@zware zware merged commit 986b7ff into python:2.7 Sep 4, 2017
@zware zware deleted the goodbye_svn-2.7 branch September 4, 2017 23:05
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.

5 participants