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

Update to PyPy 7.3.4 #16

Merged
merged 4 commits into from
May 8, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ the only supported platform is ``x86_64``.
At the moment of writing, this image provide the following versions of
PyPy:

- PyPy2.7 7.3.3
- PyPy2.7 7.3.4

- PyPy3.6 7.3.3
YannickJadoul marked this conversation as resolved.
Show resolved Hide resolved

- PyPy3.7 7.3.3
- PyPy3.7 7.3.4

- PyPy2.7 7.2.0

Expand All @@ -43,27 +41,27 @@ also symlinked to ``/opt/python``. Moreover, each installation of PyPy
contains also a ``python`` symlink.

All the following commands are equivalent and run the PyPy 2.7, version
7.3.3. You can use whatever fits best in your build system:
7.3.4. You can use whatever fits best in your build system:

- ``/opt/pypy/pypy2.7-7.3.3/bin/pypy``
- ``/opt/pypy/pypy2.7-7.3.4/bin/pypy``

- ``/opt/pypy/pypy2.7-7.3.3/bin/python``
- ``/opt/pypy/pypy2.7-7.3.4/bin/python``

- ``/opt/python/pp27-pypy_73/bin/pypy``

- ``/opt/python/pp27-pypy_73/bin/python``

Similarly, these are the commands to run PyPy 3.6, version 7.3.3:
Similarly, these are the commands to run PyPy 3.7, version 7.3.4:

- ``/opt/pypy/pypy3.6-7.3.3/bin/pypy``
- ``/opt/pypy/pypy3.7-7.3.4/bin/pypy``

- ``/opt/pypy/pypy3.6-7.3.3/bin/python``
- ``/opt/pypy/pypy3.7-7.3.4/bin/python``

- ``/opt/python/pp36-pypy36_pp73/bin/pypy``
- ``/opt/python/pp37-pypy37_pp73/bin/pypy``

- ``/opt/python/pp36-pypy36_pp73/bin/python``
- ``/opt/python/pp37-pypy37_pp73/bin/python``

The paths for PyPy 3.7 are completely analogous to the ones for 3.6.
The paths for PyPy 7.3.3 Python 3.6 are completely analogous to the ones for 3.7.


PEP 425 Compatibility tags
Expand All @@ -74,9 +72,9 @@ compatibility tag. In particular:

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

- ``27`` and ``36`` mean "Python 2.7|3.6"
- ``27`` and ``37`` mean "Python 2.7|3.7"

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

Expand Down
4 changes: 3 additions & 1 deletion docker/build_scripts_pypy/install_pypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function install_one_pypy {
local pypy=$shortdir/bin/pypy

# add a generic "python" symlink
ln -s pypy $shortdir/bin/python
if [ ! -f "$shortdir/bin/python" ]; then
ln -s pypy $shortdir/bin/python
fi

# remove debug symbols
rm $shortdir/bin/*.debug
Expand Down
8 changes: 5 additions & 3 deletions docker/build_scripts_pypy/prefetch_pypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ cd "$SOURCES"
fetch_source pypy-7.2.0-linux_x86_64-portable.tar.bz2 "$SQUEAKY_GITHUB_URL/pypy-7.2.0"
fetch_source pypy3.6-7.2.0-linux_x86_64-portable.tar.bz2 "$SQUEAKY_GITHUB_URL/pypy3.6-7.2.0"

# pypy 7.3.3
fetch_source pypy2.7-v7.3.3-linux64.tar.bz2 "$URL"
# pypy 7.3.3 (3.6 only)
fetch_source pypy3.6-v7.3.3-linux64.tar.bz2 "$URL"
YannickJadoul marked this conversation as resolved.
Show resolved Hide resolved
fetch_source pypy3.7-v7.3.3-linux64.tar.bz2 "$URL"

# pypy 7.3.4
fetch_source pypy2.7-v7.3.4-linux64.tar.bz2 "$URL"
fetch_source pypy3.7-v7.3.4-linux64.tar.bz2 "$URL"