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

Commit 42c879e

Browse files
authored
Merge pull request #1 from YannickJadoul/7.3.0
Updating with 7.3.0 release
2 parents cccf45d + 869ea17 commit 42c879e

File tree

3 files changed

+36
-20
lines changed

3 files changed

+36
-20
lines changed

README.rst

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ the only supported platform is ``x86_64``.
1414
At the moment of writing, this image provide the following versions of
1515
PyPy:
1616

17+
- PyPy2.7 7.3.0
18+
19+
- PyPy3.6 7.3.0
20+
1721
- PyPy2.7 7.2.0
1822

1923
- PyPy3.6 7.2.0
@@ -41,38 +45,39 @@ also symlinked to ``/opt/python``. Moreover, each installation of PyPy
4145
contains also a ``python`` symlink.
4246

4347
All the following commands are equivalent and run the PyPy 2.7, version
44-
7.1.1. You can use whatever fits best in your build system:
48+
7.3.0. You can use whatever fits best in your build system:
4549

46-
- ``/opt/pypy/pypy2.7-7.1.1/bin/pypy``
50+
- ``/opt/pypy/pypy2.7-7.3.0/bin/pypy``
4751

48-
- ``/opt/pypy/pypy2.7-7.1.1/bin/python``
52+
- ``/opt/pypy/pypy2.7-7.3.0/bin/python``
4953

50-
- ``/opt/python/pp271-pypy_41/bin/pypy``
54+
- ``/opt/python/pp273-pypy_73/bin/pypy``
5155

52-
- ``/opt/python/pp271-pypy_41/bin/python``
56+
- ``/opt/python/pp273-pypy_73/bin/python``
5357

54-
Similarly, these are the commands to run PyPy 3.6, version 7.1.1:
58+
Similarly, these are the commands to run PyPy 3.6, version 7.3.0:
5559

56-
- ``/opt/pypy/pypy3.6-7.1.1/bin/pypy``
60+
- ``/opt/pypy/pypy3.6-7.3.0/bin/pypy``
5761

58-
- ``/opt/pypy/pypy3.6-7.1.1/bin/python``
62+
- ``/opt/pypy/pypy3.6-7.3.0/bin/python``
5963

60-
- ``/opt/python/pp371-pypy3_71/bin/pypy``
64+
- ``/opt/python/pp373-pypy36_pp73/bin/pypy``
6165

62-
- ``/opt/python/pp371-pypy3_71/bin/python``
66+
- ``/opt/python/pp373-pypy36_pp73/bin/python``
6367

6468

6569
PEP 425 Compatibility tags
6670
---------------------------
6771

68-
``pp271-pypy_41`` and ``pp371-pypy3_71`` are the `PEP 425`_ compliant
72+
``pp273-pypy_73`` and ``pp373-pypy36_pp73`` are the `PEP 425`_ compliant
6973
compatibility tag. In particular:
7074

7175
- ``pp`` stands for PyPy (as opposed to ``cp`` which is CPython)
7276

73-
- ``271`` and ``371`` mean "Python [2|3]", "PyPy 7.1.x".
77+
- ``273`` and ``373`` mean "Python [2|3]", "PyPy 7.3.x".
7478

75-
- ``pypy_41`` and ``pypy3_71`` are the binary ABI tags for the relevant
76-
version of PyPy. You can probably ignore them.
79+
- ``pypy_73`` and ``pypy36_pp73`` (or before PyPy 7.3.0, ``pypy_41`` and
80+
``pypy3_71``) are the binary ABI tags for the relevant version of PyPy.
81+
You can probably ignore them.
7782

7883
.. _`PEP 425`: https://www.python.org/dev/peps/pep-0425/

docker/build_scripts_pypy/install_pypy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ function install_one_pypy {
1818
cd /opt/pypy
1919
tar xf $tarball
2020

21+
# the new PyPy 3 distributions don't have pypy symlinks to pypy3
22+
if [ ! -f "$outdir/bin/pypy" ]; then
23+
ln -s pypy3 $outdir/bin/pypy
24+
fi
25+
2126
# rename the directory to something shorter like pypy2.7-7.1.1
2227
shortdir=$(get_shortdir $outdir/bin/pypy)
2328
mv "$outdir" "$shortdir"

docker/build_scripts_pypy/prefetch_pypy.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
set -ex
44

55
SOURCES=docker/sources
6-
BITBUCKET_URL=https://bitbucket.org/squeaky/portable-pypy/downloads # old releases
7-
URL=https://github.com/squeaky-pl/portable-pypy/releases/download # new releases
6+
SQUEAKY_BITBUCKET_URL=https://bitbucket.org/squeaky/portable-pypy/downloads # older releases
7+
SQUEAKY_GITHUB_URL=https://github.com/squeaky-pl/portable-pypy/releases/download # old releases
8+
URL=https://bitbucket.org/pypy/pypy/downloads # new releases
9+
810

911
MY_DIR=$(dirname "${BASH_SOURCE[0]}")
1012
. $MY_DIR/../build_scripts/build_utils.sh
@@ -13,9 +15,13 @@ MY_DIR=$(dirname "${BASH_SOURCE[0]}")
1315
cd "$SOURCES"
1416

1517
# pypy 7.1.1
16-
fetch_source pypy-7.1.1-linux_x86_64-portable.tar.bz2 "$BITBUCKET_URL"
17-
fetch_source pypy3.6-7.1.1-beta-linux_x86_64-portable.tar.bz2 "$BITBUCKET_URL"
18+
fetch_source pypy-7.1.1-linux_x86_64-portable.tar.bz2 "$SQUEAKY_BITBUCKET_URL"
19+
fetch_source pypy3.6-7.1.1-beta-linux_x86_64-portable.tar.bz2 "$SQUEAKY_BITBUCKET_URL"
1820

1921
# pypy 7.2.0
20-
fetch_source pypy-7.2.0-linux_x86_64-portable.tar.bz2 "$URL/pypy-7.2.0"
21-
fetch_source pypy3.6-7.2.0-linux_x86_64-portable.tar.bz2 "$URL/pypy3.6-7.2.0"
22+
fetch_source pypy-7.2.0-linux_x86_64-portable.tar.bz2 "$SQUEAKY_GITHUB_URL/pypy-7.2.0"
23+
fetch_source pypy3.6-7.2.0-linux_x86_64-portable.tar.bz2 "$SQUEAKY_GITHUB_URL/pypy3.6-7.2.0"
24+
25+
# pypy 7.3.0
26+
fetch_source pypy2.7-v7.3.0-linux64.tar.bz2 "$URL"
27+
fetch_source pypy3.6-v7.3.0-linux64.tar.bz2 "$URL"

0 commit comments

Comments
 (0)