From 9bdeda755975d74c3c4fe42035131d5c1283e202 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 19 Jul 2023 15:37:43 +0200 Subject: [PATCH] Fix: requirements for Python 3.11 --- sco_version.py | 2 +- tools/debian/postinst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sco_version.py b/sco_version.py index 1a6cdbe5e..f07249a98 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.1" +SCOVERSION = "9.6.2" SCONAME = "ScoDoc" diff --git a/tools/debian/postinst b/tools/debian/postinst index c967a53ec..9cae57ffd 100755 --- a/tools/debian/postinst +++ b/tools/debian/postinst @@ -75,9 +75,9 @@ fi #echo "Creating python3 virtualenv..." su -c "(cd $SCODOC_DIR && python3 -m venv venv)" "$SCODOC_USER" || die "Error creating Python 3 virtualenv" -# ------------ INSTALL DES PAQUETS PYTHON (3.9) +# ------------ INSTALL DES PAQUETS PYTHON (3.11) # pip in our env, as user "scodoc" -su -c "(cd $SCODOC_DIR && source venv/bin/activate && pip install wheel && pip install -r requirements-3.9.txt)" "$SCODOC_USER" || die "Error installing python packages" +su -c "(cd $SCODOC_DIR && source venv/bin/activate && pip install wheel && pip install -r requirements-3.11.txt)" "$SCODOC_USER" || die "Error installing python packages" # --- NGINX # Evite d'écraser: il faudrait ici présenter un dialogue "fichier local modifié, ..."