Skip to content

Commit f13b1e4

Browse files
jaracosigmavirus24
authored andcommitted
Just pip install setuptools on AppVeyor
Use the get-pip script to bootstrap pip and setuptools to pinned versions for Python 3.2 compatibility. PyPy3's latest Windows version only supports Python 3.2, so while Python 3.2 is EOL upstream, we're still testing against it and need to be able to install our tooling (including pip and setuptools).
1 parent dae4fa7 commit f13b1e4

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.appveyor.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ install:
3030

3131
# pypy3-2.4.0 and pypy-2.6.1 are manually bootstrapped and tested
3232
- ps: (New-Object Net.WebClient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', "$env:appveyor_build_folder\get-pip.py")
33-
- git clone https://github.com/pypa/setuptools/
34-
- cd setuptools
35-
- C:\pypy3-2.4.0-win32\pypy3 bootstrap.py
36-
- C:\pypy3-2.4.0-win32\pypy3 setup.py install
37-
- C:\pypy-2.6.1-win32\pypy bootstrap.py
38-
- C:\pypy-2.6.1-win32\pypy setup.py install
39-
- cd ..
33+
# errors are ignored due to https://github.com/pypa/pip/issues/2669#issuecomment-136405390
34+
# NOTE: If and when a new version of PyPy3 is released for Windows that
35+
# supports anything newer than Python 3.2, remove the setuptools pin.
36+
- ps: C:\pypy3-2.4.0-win32\pypy3 "$env:appveyor_build_folder\get-pip.py"; C:\pypy3-2.4.0-win32\pypy3 -m pip install -U --force-reinstall pip==8.1.2 "setuptools<30"; echo "ignore error"
37+
- ps: C:\pypy-2.6.1-win32\pypy "$env:appveyor_build_folder\get-pip.py"
4038

4139
build: off
4240

0 commit comments

Comments
 (0)