From 168241df4f6810aa2ec48aa555c856b107208784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= Date: Sat, 14 Mar 2020 14:32:35 +0100 Subject: [PATCH] Python bootstrap: upgrade pypy to 3.6-7.2.0. (#5511) Solves problem with mitogen about 'Compress object has no attribute copy' in zlib module. --- roles/bootstrap-os/files/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/bootstrap-os/files/bootstrap.sh b/roles/bootstrap-os/files/bootstrap.sh index 7a5c76790..767c91a12 100755 --- a/roles/bootstrap-os/files/bootstrap.sh +++ b/roles/bootstrap-os/files/bootstrap.sh @@ -11,10 +11,10 @@ if [[ -e $BINDIR/.bootstrapped ]]; then exit 0 fi -PYPY_VERSION=7.0.0 +PYPY_VERSION=7.2.0 -wget -O - https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-$PYPY_VERSION-linux_x86_64-portable.tar.bz2 | tar -xjf - -mv -n pypy3.5-$PYPY_VERSION-linux_x86_64-portable pypy3 +wget -O - https://github.com/squeaky-pl/portable-pypy/releases/download/pypy3.6-7.2.0/pypy3.6-$PYPY_VERSION-linux_x86_64-portable.tar.bz2 | tar -xjf - +mv -n pypy3.6-$PYPY_VERSION-linux_x86_64-portable pypy3 ln -s ./pypy3/bin/pypy3 python $BINDIR/python --version