diff --git a/requirements.txt b/requirements.txt index df74aa2955..50a82e8a72 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +# don't update python distribution packages in here typing-extensions==4.4.0 jq==1.1.3 paho_mqtt==1.6.1 @@ -24,4 +25,3 @@ ocpp==1.0.0 websockets==12.0 pycarwings3==0.7.14 asyncio==3.4.3 -urllib3==2.6.0 diff --git a/runs/atreboot.sh b/runs/atreboot.sh index e9d355fff9..3485ec0c3d 100755 --- a/runs/atreboot.sh +++ b/runs/atreboot.sh @@ -184,6 +184,8 @@ chmod 666 "$LOGFILE" echo "path '/etc/apt/apt.conf.d' is missing! unsupported system!" fi if ((hasInet == 1)); then + # remove urllib3 version to avoid conflicts + pip uninstall urllib3 -y "${OPENWBBASEDIR}/runs/install_packages.sh" else echo "no internet connection, skipping package installation" diff --git a/runs/install_packages.sh b/runs/install_packages.sh index 913569bc50..40121d7b41 100755 --- a/runs/install_packages.sh +++ b/runs/install_packages.sh @@ -8,6 +8,7 @@ sudo apt-get -q -y install \ git \ mosquitto mosquitto-clients \ python3-pip \ + python3-urllib3 \ xserver-xorg x11-xserver-utils openbox-lxde-session lightdm lightdm-autologin-greeter accountsservice \ chromium chromium-l10n echo "done"