From 38661e133b8147a545002b36024f4c0b95b0074c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 30 Jan 2024 22:50:25 +0100 Subject: [PATCH] Try with the requirements.txt from the sources --- conf/requirements_orig.txt | 56 ++++++++++++++++++++++++++++++++++++++ scripts/_common.sh | 3 +- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 conf/requirements_orig.txt diff --git a/conf/requirements_orig.txt b/conf/requirements_orig.txt new file mode 100644 index 0000000..17a881c --- /dev/null +++ b/conf/requirements_orig.txt @@ -0,0 +1,56 @@ +############################################################################### +# +# IMPORTANT: +# +# If runtime or build time dependencies are changed in this file, the committer +# *must* ensure the DEB and RPM package maintainers are informed as soon as +# possible. +# +############################################################################### + +Flask==2.2.* +Flask-Gravatar==0.* +Flask-Login==0.* +Flask-Mail==0.* +Flask-Migrate==4.* +greenlet==1.1.2; python_version <= '3.10' +Flask-SQLAlchemy==3.0.* +Flask-WTF==1.1.1 +Flask-Compress==1.* +Flask-Paranoid==0.* +Flask-Babel==3.1.* +Flask-Security-Too==5.1.* +Flask-SocketIO==5.3.* +WTForms==3.0.* +passlib==1.* +pytz==2023.* +speaklater3==1.* +sqlparse==0.* +psutil==5.9.* +psycopg[c]==3.1.9 +python-dateutil==2.* +SQLAlchemy==2.* +bcrypt==4.0.* +cryptography==41.0.* +sshtunnel==0.* +ldap3==2.* +gssapi==1.8.* +eventlet==0.33.3 +httpagentparser==1.9.* +user-agents==2.2.0 +pywinpty==2.0.*; sys_platform=="win32" +Authlib==1.2.* +pyotp==2.* +qrcode==7.* +Pillow==9.* +boto3==1.28.* +botocore==1.31.* +urllib3==1.26.* +azure-mgmt-rdbms==10.1.0 +azure-mgmt-resource==23.0.1 +azure-mgmt-subscription==3.1.1 +azure-identity==1.13.0 +google-api-python-client==2.* +google-auth-oauthlib==1.0.0 +Werkzeug==2.2.3 +keyring==23.* diff --git a/scripts/_common.sh b/scripts/_common.sh index 62a3ceb..d9b559b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -42,6 +42,7 @@ ynh_use_venv() { _install_pgadmin_pip() { # ynh_exec_as "$app" "$venvpy" -m pip install --upgrade --no-cache-dir --ignore-installed "psycopg[c]" - cp "$YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt" "$install_dir/requirements.txt" + # cp "$YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt" "$install_dir/requirements.txt" + cp "$YNH_APP_BASEDIR/conf/requirement_orig.txt" "$install_dir/requirements.txt" ynh_exec_as "$app" "$venvpy" -m pip install --upgrade -r "$install_dir/requirements.txt" }