From b36efea002a4846675dd89c809fd394fcadf23bc Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Tue, 30 Mar 2021 23:21:01 -0500 Subject: [PATCH] Upgrade Python to v3.7.8 --- rootfs/standard/usr/bin/mynode_post_upgrade.sh | 4 ++-- setup/setup_device.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index e56f2746..33ffba0e 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -104,7 +104,7 @@ $TORIFY apt-get -y install libgmp-dev automake libtool libltdl-dev libltdl7 $TORIFY apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev $TORIFY apt-get -y install libudev-dev libusb-1.0-0-dev python3-venv gunicorn sqlite3 libsqlite3-dev $TORIFY apt-get -y install torsocks python3-requests libsystemd-dev libjpeg-dev zlib1g-dev psmisc -$TORIFY apt-get -y install hexyl +$TORIFY apt-get -y install hexyl libbz2-dev # Make sure some software is removed apt-get -y purge ntp # (conflicts with systemd-timedatectl) @@ -124,7 +124,7 @@ pip2 install tzupdate virtualenv pysocks redis qrcode image --no-cache-dir # Update Python3 to 3.7.X -PYTHON_VERSION=3.7.7 +PYTHON_VERSION=3.7.8 CURRENT_PYTHON3_VERSION=$(python3 --version) if [[ "$CURRENT_PYTHON3_VERSION" != *"Python ${PYTHON_VERSION}"* ]]; then mkdir -p /opt/download diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 8c9a2a45..85cf4caf 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -168,7 +168,7 @@ apt -y -qq install apt-transport-https ca-certificates apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev apt-get -y install zlib1g-dev libudev-dev libusb-1.0-0-dev python3-venv gunicorn apt-get -y install sqlite3 libsqlite3-dev torsocks python3-requests libsystemd-dev -apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl +apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev # Make sure some software is removed @@ -206,7 +206,7 @@ pip2 install tzupdate virtualenv pysocks redis qrcode image # Update Python3 to 3.7.X -PYTHON_VERSION=3.7.7 +PYTHON_VERSION=3.7.8 CURRENT_PYTHON3_VERSION=$(python3 --version) if [[ "$CURRENT_PYTHON3_VERSION" != *"Python ${PYTHON_VERSION}"* ]]; then mkdir -p /opt/download