Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit dec74da

Browse files
committed
Update wheel version installed for PyPy >= 7.3.0
1 parent 42c879e commit dec74da

File tree

4 files changed

+36
-15
lines changed

4 files changed

+36
-15
lines changed

README.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,33 +51,37 @@ All the following commands are equivalent and run the PyPy 2.7, version
5151

5252
- ``/opt/pypy/pypy2.7-7.3.0/bin/python``
5353

54-
- ``/opt/python/pp273-pypy_73/bin/pypy``
54+
- ``/opt/python/pp27-pypy_73/bin/pypy``
5555

56-
- ``/opt/python/pp273-pypy_73/bin/python``
56+
- ``/opt/python/pp27-pypy_73/bin/python``
5757

5858
Similarly, these are the commands to run PyPy 3.6, version 7.3.0:
5959

6060
- ``/opt/pypy/pypy3.6-7.3.0/bin/pypy``
6161

6262
- ``/opt/pypy/pypy3.6-7.3.0/bin/python``
6363

64-
- ``/opt/python/pp373-pypy36_pp73/bin/pypy``
64+
- ``/opt/python/pp36-pypy36_pp73/bin/pypy``
6565

66-
- ``/opt/python/pp373-pypy36_pp73/bin/python``
66+
- ``/opt/python/pp36-pypy36_pp73/bin/python``
6767

6868

6969
PEP 425 Compatibility tags
7070
---------------------------
7171

72-
``pp273-pypy_73`` and ``pp373-pypy36_pp73`` are the `PEP 425`_ compliant
72+
``pp27-pypy_73`` and ``pp36-pypy36_pp73`` are the `PEP 425`_ compliant
7373
compatibility tag. In particular:
7474

7575
- ``pp`` stands for PyPy (as opposed to ``cp`` which is CPython)
7676

77-
- ``273`` and ``373`` mean "Python [2|3]", "PyPy 7.3.x".
77+
- ``27`` and ``36`` mean "Python 2.7|3.6"
7878

7979
- ``pypy_73`` and ``pypy36_pp73`` (or before PyPy 7.3.0, ``pypy_41`` and
8080
``pypy3_71``) are the binary ABI tags for the relevant version of PyPy.
8181
You can probably ignore them.
8282

83+
Before PyPy 7.3.0 (and wheel 0.34), tags looked like ``pp273-pypy_73`` or
84+
``pp373-pypy36_pp73``, where ``273`` and ``373`` mean "Python [2|3]",
85+
"PyPy 7.3.x".
86+
8387
.. _`PEP 425`: https://www.python.org/dev/peps/pep-0425/
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pip==19.1.1 \
2+
--hash=sha256:44d3d7d3d30a1eb65c7e5ff1173cdf8f7467850605ac7cc3707b6064bddd0958 \
3+
--hash=sha256:993134f0475471b91452ca029d4390dc8f298ac63a712814f101cd1b6db46676
4+
wheel==0.31.1 \
5+
--hash=sha256:80044e51ec5bbf6c894ba0bc48d26a8c20a9ba629f4ca19ea26ecfcf87685f5f \
6+
--hash=sha256:0a2e54558a0628f2145d2fc822137e322412115173e8a2ddbe1c9024338ae83c
7+
setuptools==41.0.1 \
8+
--hash=sha256:a222d126f5471598053c9a77f4b5d4f26eaa1f150ad6e01dcf1a42e185d05613 \
9+
--hash=sha256:c7769ce668c7a333d84e17fe8b524b1c45e7ee9f7908ad0a73e1eda7e6a5aebf

docker/build_scripts/requirements.txt

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# pip requirements for all cpythons
22
# NOTE: pip has GPG signatures; could download and verify independently.
3-
pip==19.1.1 \
4-
--hash=sha256:44d3d7d3d30a1eb65c7e5ff1173cdf8f7467850605ac7cc3707b6064bddd0958 \
5-
--hash=sha256:993134f0475471b91452ca029d4390dc8f298ac63a712814f101cd1b6db46676
6-
wheel==0.31.1 \
7-
--hash=sha256:80044e51ec5bbf6c894ba0bc48d26a8c20a9ba629f4ca19ea26ecfcf87685f5f \
8-
--hash=sha256:0a2e54558a0628f2145d2fc822137e322412115173e8a2ddbe1c9024338ae83c
9-
setuptools==41.0.1 \
10-
--hash=sha256:a222d126f5471598053c9a77f4b5d4f26eaa1f150ad6e01dcf1a42e185d05613 \
11-
--hash=sha256:c7769ce668c7a333d84e17fe8b524b1c45e7ee9f7908ad0a73e1eda7e6a5aebf
3+
pip==20.0.2 \
4+
--hash=sha256:4ae14a42d8adba3205ebeb38aa68cfc0b6c346e1ae2e699a0b3bad4da19cef5c \
5+
--hash=sha256:7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f
6+
wheel==0.34.2 \
7+
--hash=sha256:8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96 \
8+
--hash=sha256:df277cb51e61359aba502208d680f90c0493adec6f0e848af94948778aed386e
9+
setuptools==44.0.0; python_version == '2.7' \
10+
--hash=sha256:180081a244d0888b0065e18206950d603f6550721bd6f8c0a10221ed467dd78e \
11+
--hash=sha256:e5baf7723e5bb8382fc146e33032b241efc63314211a3a120aaa55d62d2bb008
12+
setuptools==45.2.0; python_version >= '3.5' \
13+
--hash=sha256:316484eebff54cc18f322dea09ed031b7e3eb00811b19dcedb09bc09bba7d93d \
14+
--hash=sha256:89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992ae3397f

docker/build_scripts_pypy/install_pypy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ function get_shortdir {
77
$exe -c 'import sys; print("pypy%d.%d-%d.%d.%d" % (sys.version_info[:2]+sys.pypy_version_info[:3]))'
88
}
99

10+
function get_requirements_txt {
11+
local exe=$1
12+
$exe -c 'import sys; print("requirements-pre-7.3.0.txt" if sys.pypy_version_info < (7,3,0) else "requirements.txt")'
13+
}
14+
1015
# this is more or less equivalent to do_cpython_build, although we download a
1116
# prebuilt pypy instead of building it from scratch
1217
function install_one_pypy {

0 commit comments

Comments
 (0)