Commit 14b45d6e authored by Jason Madden's avatar Jason Madden

PyPy 7.3.1 has linking errors on Windows; does 7.3.0?

https://ci.appveyor.com/project/denik/gevent/builds/32220510/job/wsqay6l44eygunvf#L499
       Creating library build\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_corecffi.pypy-73.lib and object build\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_corecffi.pypy-73.exp
500    gevent.libuv._corecffi.obj : error LNK2019: unresolved external symbol __imp__PyPyObject_Free referenced in function _gevent_realloc
501    gevent.libuv._corecffi.obj : error LNK2019: unresolved external symbol __imp__PyPyGILState_Ensure referenced in function _gevent_realloc
502    gevent.libuv._corecffi.obj : error LNK2019: unresolved external symbol __imp__PyPyGILState_Release referenced in function _gevent_realloc
503    gevent.libuv._corecffi.obj : error LNK2019: unresolved external symbol __imp__PyPyObject_Realloc referenced in function _gevent_realloc
504    build\lib.win32-2.7\gevent\libuv\_corecffi.pypy-73.pyd : fatal error LNK1120: 4 unresolved externals
505    error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe' failed with exit status 1120
506    ---------
parent ea0f4c08
...@@ -32,6 +32,13 @@ environment: ...@@ -32,6 +32,13 @@ environment:
# Pre-installed Python versions, which Appveyor may upgrade to # Pre-installed Python versions, which Appveyor may upgrade to
# a later point release. # a later point release.
# 32-bit
- PYTHON: "C:\\pypy2.7-v7.3.0-win32"
PYTHON_ID: "pypy"
PYTHON_EXE: pypy
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"
# 64-bit # 64-bit
- PYTHON: "C:\\Python38-x64" - PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.x" PYTHON_VERSION: "3.8.x"
...@@ -58,12 +65,6 @@ environment: ...@@ -58,12 +65,6 @@ environment:
PYTHON_ARCH: "64" PYTHON_ARCH: "64"
PYTHON_EXE: python PYTHON_EXE: python
# 32-bit
- PYTHON: "C:\\pypy2.7-v7.3.1-win32"
PYTHON_ID: "pypy"
PYTHON_EXE: pypy
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"
# 32-bit, wheel only (no testing) # 32-bit, wheel only (no testing)
- PYTHON: "C:\\Python38" - PYTHON: "C:\\Python38"
...@@ -133,10 +134,10 @@ install: ...@@ -133,10 +134,10 @@ install:
New-Item -ItemType directory -Path "$env:PYTMP" | Out-Null; New-Item -ItemType directory -Path "$env:PYTMP" | Out-Null;
} }
if ("${env:PYTHON_ID}" -eq "pypy") { if ("${env:PYTHON_ID}" -eq "pypy") {
if (!(Test-Path "${env:PYTMP}\pypy2-v7.3.1-win32.zip")) { if (!(Test-Path "${env:PYTMP}\pypy2-v7.3.0-win32.zip")) {
(New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy2.7-v7.3.1-win32.zip', "${env:PYTMP}\pypy2-v7.3.1-win32.zip"); (New-Object Net.WebClient).DownloadFile('https://bitbucket.org/pypy/pypy/downloads/pypy2.7-v7.3.0-win32.zip', "${env:PYTMP}\pypy2-v7.3.0-win32.zip");
} }
7z x -y "${env:PYTMP}\pypy2-v7.3.1-win32.zip" -oC:\ | Out-Null; 7z x -y "${env:PYTMP}\pypy2-v7.3.0-win32.zip" -oC:\ | Out-Null;
& "${env:PYTHON}\pypy.exe" "-mensurepip"; & "${env:PYTHON}\pypy.exe" "-mensurepip";
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment