Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
zware merged 10 commits into
python:2.7python/cpython:2.7from
zware:goodbye_svn-2.7zware/cpython:goodbye_svn-2.7Copy head branch name to clipboard
Sep 4, 2017
Merged

[2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN (GH-1783)#3306
zware merged 10 commits into
python:2.7python/cpython:2.7from
zware:goodbye_svn-2.7zware/cpython:goodbye_svn-2.7Copy head branch name to clipboard

Conversation

@zware

@zware zware commented Sep 4, 2017

Copy link
Copy Markdown
Member

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

@zooba zooba left a comment

Copy link
Copy Markdown
Member

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

Comment thread Doc/make.bat
"%PYTHON%" -m pip install sphinx
if errorlevel 1 exit /B
)
)

Copy link
Copy Markdown
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 :)

Comment thread PCbuild/python.props
<!-- 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
Copy Markdown
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
Copy Markdown
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

zware commented Sep 4, 2017

Copy link
Copy Markdown
Member Author

@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

zooba commented Sep 4, 2017

Copy link
Copy Markdown
Member

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

@zware

zware commented Sep 4, 2017

Copy link
Copy Markdown
Member Author

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.