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

Updating 7.3.0 to 7.3.1 #5

Merged
merged 2 commits into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from all 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
20 changes: 8 additions & 12 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ the only supported platform is ``x86_64``.
At the moment of writing, this image provide the following versions of
PyPy:

- PyPy2.7 7.3.0
- PyPy2.7 7.3.1

- PyPy3.6 7.3.0
- PyPy3.6 7.3.1

- PyPy2.7 7.2.0

- PyPy3.6 7.2.0

- PyPy2.7 7.1.1

- PyPy3.6 7.1.1

Live example
-------------

Expand All @@ -45,21 +41,21 @@ 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.0. You can use whatever fits best in your build system:
7.3.1. You can use whatever fits best in your build system:

- ``/opt/pypy/pypy2.7-7.3.0/bin/pypy``
- ``/opt/pypy/pypy2.7-7.3.1/bin/pypy``

- ``/opt/pypy/pypy2.7-7.3.0/bin/python``
- ``/opt/pypy/pypy2.7-7.3.1/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.0:
Similarly, these are the commands to run PyPy 3.6, version 7.3.1:

- ``/opt/pypy/pypy3.6-7.3.0/bin/pypy``
- ``/opt/pypy/pypy3.6-7.3.1/bin/pypy``

- ``/opt/pypy/pypy3.6-7.3.0/bin/python``
- ``/opt/pypy/pypy3.6-7.3.1/bin/python``

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

Expand Down
2 changes: 1 addition & 1 deletion docker/build_scripts_pypy/install_pypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function install_one_pypy {
rm $shortdir/bin/*.debug

# install and upgrade pip
$pypy -m ensurepip
$pypy -m ensurepip --default-pip
$pypy -m pip install -U --require-hashes -r /build_scripts/requirements.txt

local abi_tag=$($pypy /build_scripts/python-tag-abi-tag.py)
Expand Down
11 changes: 3 additions & 8 deletions docker/build_scripts_pypy/prefetch_pypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
set -ex

SOURCES=docker/sources
SQUEAKY_BITBUCKET_URL=https://bitbucket.org/squeaky/portable-pypy/downloads # older releases
SQUEAKY_GITHUB_URL=https://github.com/squeaky-pl/portable-pypy/releases/download # old releases
URL=https://bitbucket.org/pypy/pypy/downloads # new releases

Expand All @@ -14,14 +13,10 @@ MY_DIR=$(dirname "${BASH_SOURCE[0]}")
[ -d "$SOURCES" ] || mkdir "$SOURCES"
cd "$SOURCES"

# pypy 7.1.1
fetch_source pypy-7.1.1-linux_x86_64-portable.tar.bz2 "$SQUEAKY_BITBUCKET_URL"
fetch_source pypy3.6-7.1.1-beta-linux_x86_64-portable.tar.bz2 "$SQUEAKY_BITBUCKET_URL"

# pypy 7.2.0
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.0
fetch_source pypy2.7-v7.3.0-linux64.tar.bz2 "$URL"
fetch_source pypy3.6-v7.3.0-linux64.tar.bz2 "$URL"
# pypy 7.3.1
fetch_source pypy2.7-v7.3.1-linux64.tar.bz2 "$URL"
fetch_source pypy3.6-v7.3.1-linux64.tar.bz2 "$URL"