[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-12-06 Thread STINNER Victor
STINNER Victor added the comment: N! I loved Subversion so much! ... just kidding. Thanks for getting rid of Subversion. It became much easier to build CPython on Windows nowadays! -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-12-06 Thread Zachary Ware
Zachary Ware added the comment: This has been backported and working for nearly 3 months now; closing. As for whether to continue operating svn.python.org now that we're officially away from it: that can be determined elsewhere, probably by the box dying and deciding

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-12 Thread STINNER Victor
STINNER Victor added the comment: > This change also broke compilation on AMD64 Windows10 2.7 buildbot: > http://buildbot.python.org/all/builders/AMD64%20Windows10%202.7/builds/279 > (...) error MSB6006: "mt.exe" exited with code -1073741819. (...) I created the bug bpo-31430 to track this

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-08 Thread Zachary Ware
Zachary Ware added the comment: New changeset 1911cf3dd2ae67d600c166ba52872fdcf3e85824 by Zachary Ware in branch '2.7': [2.7] bpo-30450: Fall back on the old env.bat (GH-3443) https://github.com/python/cpython/commit/1911cf3dd2ae67d600c166ba52872fdcf3e85824 --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-07 Thread Zachary Ware
Changes by Zachary Ware : -- keywords: +patch pull_requests: +3439 stage: backport needed -> patch review ___ Python tracker ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-05 Thread Zachary Ware
Zachary Ware added the comment: New changeset 8905fb831cf7c400c479b79bb2f90bfbe9c71337 by Zachary Ware in branch '2.7': bpo-30450: Don't use where, XP doesn't have it (GH-3348) https://github.com/python/cpython/commit/8905fb831cf7c400c479b79bb2f90bfbe9c71337 --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-05 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +3361 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-05 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 986b7ffc650919b3022ccaa458a843bb8a95d2bd by Zachary Ware in > branch '2.7': > [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN > (GH-1783) (GH-3306) This change also broke compilation on AMD64 Windows10 2.7 buildbot:

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-05 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +3359 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-05 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 986b7ffc650919b3022ccaa458a843bb8a95d2bd by Zachary Ware in > branch '2.7': > [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN > (GH-1783) (GH-3306) This change broke Python 2.7 compilation on Windows XP. Pending fix: PR

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-04 Thread Zachary Ware
Zachary Ware added the comment: New changeset 986b7ffc650919b3022ccaa458a843bb8a95d2bd by Zachary Ware in branch '2.7': [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN (GH-1783) (GH-3306) https://github.com/python/cpython/commit/986b7ffc650919b3022ccaa458a843bb8a95d2bd

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-09-04 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +3336 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-08-06 Thread Steve Dower
Steve Dower added the comment: The prebuilt binaries have not, and the OpenSSL change has functional implications and should not be (unless someone wants to make the security justification, but right now I think it's a theoretical rather than an actual benefit). The TclTk build could be, but

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-08-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Has this actually been backported to 3.6? It looks like a lot of Tcl and OpenSSL stuff is being compiled on AppVeyor yet: https://ci.appveyor.com/project/python/cpython/build/3.6.1+.5134 -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-19 Thread Steve Dower
Steve Dower added the comment: New changeset e99d3a52a50b3f836fb9fb88f317aacddd494858 by Steve Dower in branch '3.6': [3.6] bpo-30450: Improved logic for obtaining dependencies (#2751) https://github.com/python/cpython/commit/e99d3a52a50b3f836fb9fb88f317aacddd494858 --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-18 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2810 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-18 Thread Steve Dower
Steve Dower added the comment: Zach - did this get backported to 2.7 or 3.5? It doesn't look like it. -- stage: commit review -> backport needed ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-18 Thread Steve Dower
Steve Dower added the comment: New changeset 5feda33a35d9413e2073411b848dc49d94c57497 by Steve Dower in branch 'master': bpo-30450: Fix logic for retrying nuget.exe download (#2744) https://github.com/python/cpython/commit/5feda33a35d9413e2073411b848dc49d94c57497 --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Ah, there's also a nuget.org outage affecting AppVeyor (but not me because I'm in Italy and so connecting to the EU mirror automatically) - https://appveyor.statuspage.io/ When that recovers it should be fine again. The workaround for those without py.exe is to

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Yeouch, it's been causing AppVeyor builds to get stuck, and then they time out after an hour. Luckily mine is up next in a minute or so, so I'll try to merge quickly and avoid anyone else getting held up. I also restored HOST_PYTHON in the PR, as a fallback for

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Changes by Steve Dower : -- assignee: zach.ware -> steve.dower resolution: fixed -> stage: resolved -> commit review status: closed -> open ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2804 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Hmm... looks like there's another way to fail I didn't account for that goes down a different path in the batch file. I'll try being less clever. -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I just got a download failure on an AppVeyor build: https://ci.appveyor.com/project/python/cpython/build/3.7.0a0.4571 Downloading nuget... Invoke-WebRequest : The operation has timed out. At line:1 char:1 + Invoke-WebRequest https://aka.ms/nugetclidl -OutFile

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Is that an actual convention? I didn't see any other references, so I figured > Zach had made it up. It has existed in the Windows build files since 2.5, when x64 supported was initially added by MvL. -- nosy: +jeremy.kloth

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: > In this case, the Powershell dependency fails on Windows 7 since it does not > have the Invoke-WebRequest command (unless you've been installing all your > updates). Just to note, PowerShell must be updated *manually* (at least on Win7). Plus you need to

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think that's used on Unix when cross-compiling, but I don't know about Windows... -- ___ Python tracker ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: > use the preexisting convention of the HOST_PYTHON envvar that was used prior > to the recent merged PRs Is that an actual convention? I didn't see any other references, so I figured Zach had made it up. -- ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: Or, use the preexisting convention of the HOST_PYTHON envvar that was used prior to the recent merged PRs -- nosy: +jkloth ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: The buildbots have already successfully built, so I'm declaring this and issue30916 resolved. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: New changeset efa26bcd5085279fc4e9ae96d052272a5214c2bd by Steve Dower in branch 'master': bpo-30450: Fall back to git.exe if no Python is found. (#2739) https://github.com/python/cpython/commit/efa26bcd5085279fc4e9ae96d052272a5214c2bd --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Unfortunately, "install " is often a blocking requirement for many developers (typically the ones who get paid well to do this), so I'd rather have no requirements. Currently we achieve this if PowerShell is up to date or Python+py.exe are installed, both of

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread STINNER Victor
STINNER Victor added the comment: Ah ok, I see, I was focused on buildbots and other CIs, sorry. > Maybe we should consider just checking in nuget.exe? Where? In Python source code? I don't want to how to maintain yet another dependencies :-( I prefer to try a few tools, or explain how to get

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > And we regretted that so much that we changed away from it :) I'm not sure what your reasons were but from my POV (as someone who used to build on Windows from time to time), the two problems were: 1) svn was only used for this while we had migrated to hg

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2799 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: > How do you get CPython source code if git is not available? Go to GitHub and click the "Download" button, or select any sdist from our downloads page, or use Mercurial+hggit, or Dulwich directly, or a mirror/fork on any VCS you like. There are plenty of ways

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: > we used to mandate the presence of a svn install And we regretted that so much that we changed away from it :) When discussing this changeover plan, Zach and I decided we needed a fallback requiring only OS dependencies. In this case, the Powershell dependency

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread STINNER Victor
STINNER Victor added the comment: > We can't assume git.exe is available either How do you get CPython source code if git is not available? Also using HTTP to get a tarball? I think that it's ok to require git to build CPython on Windows. Previously, we required: svn, perl and git :-)

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think it's reasonable to mandate the presence of a git install to fetch CPython externals. After all we used to mandate the presence of a svn install... -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: We can't assume git.exe is available either (build from sdist/hggit/.zip), though I guess we can also use it as a fallback. At least on the buildbots it'll be there. -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: For example "git clone --depth 1 https://github.com/python/cpython-bin-deps --branch openssl-bin-1.0.2k myopenssldir" -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: If the dependencies are in git, why don't you use "git clone" instead of trying a HTTP fetch? -- ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: Compilation still fails, as some of the buildbots don't have py.exe either. At this stage, our choices are either to fix the buildbots, most easily by copying py.exe into PATH, or to check nuget.exe (4MB) into the source repository. (I guess we can cover a few

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: New changeset 588836d3e646c2bcb3473cda7c5f6a1e0ff2c2e9 by Steve Dower in branch 'master': bpo-30450: Adds alternate download approach for nuget.exe (#2737) https://github.com/python/cpython/commit/588836d3e646c2bcb3473cda7c5f6a1e0ff2c2e9 --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread STINNER Victor
STINNER Victor added the comment: Compilation failed on: * http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/885 * http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/750 -- nosy: +haypo ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: My PR adds a small script to use requests.get/urlretrieve with any version of Python to get nuget.exe. Theoretically, we *could* use this to download everything, but I'd rather minimize our exposure to insecure downloads for machines that don't already have

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2797 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-07-17 Thread Steve Dower
Steve Dower added the comment: The buildbot failures currently being blamed on issue30916 are actually due to this issue - we actually need Python 3.6 on these machines in order to download the new externals, and they don't have it and we can't get it via Powershell. --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-25 Thread Ammar Askar
Ammar Askar added the comment: Looks like that error is coming from the fact that the Powershell on that buildbot is outdated. As the documentation notes: https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.utility/invoke-webrequest > This cmdlet was introduced in

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-19 Thread Steve Dower
Steve Dower added the comment: Zach, I just spotted this build log, that appears to have failed to download nuget.exe: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.6/builds/339/steps/compile/logs/stdio Guessing the bot is only succeeding because it currently has all the

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-19 Thread schen
schen added the comment: The usage text in build.bat still mentions that svn.exe is required for the '-e' flag. I think it should be updated to reflect the changes made. -- nosy: +schen ___ Python tracker

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-16 Thread Zachary Ware
Zachary Ware added the comment: New changeset 04431c926a88be433203f89e3577addd0d41b602 by Zachary Ware in branch '3.6': bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783) (GH-2237) https://github.com/python/cpython/commit/04431c926a88be433203f89e3577addd0d41b602

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-15 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2282 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-15 Thread Zachary Ware
Zachary Ware added the comment: New changeset cb8c0485ab1e3aeb4f64e76177aabbc6eba5a0ef by Zachary Ware in branch 'master': bpo-30450: Add NEWS and whatsnew (GH-2236) https://github.com/python/cpython/commit/cb8c0485ab1e3aeb4f64e76177aabbc6eba5a0ef --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-15 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2281 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-15 Thread Zachary Ware
Zachary Ware added the comment: New changeset 51599e2bdd10ab77212a7cbb41a13ea70ee13da8 by Zachary Ware in branch 'master': bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783) https://github.com/python/cpython/commit/51599e2bdd10ab77212a7cbb41a13ea70ee13da8 --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: I just disabled viewvc on svn.python.org because of a security problem. -- ___ Python tracker ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I could imagine people wanting to build old releases. But we have Windows binaries up here: https://www.python.org/ftp/python/ Therefore I don't think it's a problem to discontinue svn.python.org once new releases are migrated to github (but only once those

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: How far along are you with removing the svn.python.org dependency. Does Jan 1 2018 sound okay for the end of svn.python.org? I think a PEP is up to you. Doesn't seem like something that needs to be approved. --

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-25 Thread Steve Dower
Steve Dower added the comment: > I don't think we've ever advertised the svn windows deps as a service we > provide the community. Except in the dev guide :) ([after looking] well, linked from the dev guide https://github.com/python/cpython/blob/master/PCbuild/readme.txt#L230 ) Maybe we just

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: The box svn is running on is at risk of falling over any day. Plus with whatever ancient software it's running, it's surely a security risk to keep running an unmaintained svn instance. I certainly don't want to keep it running for years. I don't think

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-24 Thread Steve Dower
Steve Dower added the comment: The reason to keep it running is for all the existing people who are building from source. Unless you're porting all the old versions over and providing instructions for updating old sources? I wouldn't bother - just leave the server up for a few more years.

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-23 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +1864 ___ Python tracker ___ ___

[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-05-23 Thread Zachary Ware
New submission from Zachary Ware: Once we've migrated away from svn.python.org for Windows build dependencies, there should be no reason to continue running svn.python.org. -- components: Build, Extension Modules, Windows messages: 294307 nosy: paul.moore, steve.dower, tim.golden,