1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zeronet_ynh.git synced 2024-09-03 17:46:12 +02:00

Freeze dependencies.

This commit is contained in:
orhtej2 2023-09-27 12:39:55 +02:00 committed by Félix Piédallu
parent 7d6988540e
commit 8fed3a6d7c
3 changed files with 38 additions and 2 deletions

View file

@ -43,7 +43,7 @@ ynh_script_progression --message="Building zeronet..."
ynh_exec_as "$app" python3 -m venv --upgrade "$install_dir/venv"
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install --upgrade pip
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install -r "$install_dir/source/requirements.txt"
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install -r "$install_dir/source/requirements.txt" --no-deps
# Enable password authentication for Zeronet
mv "$install_dir/source/plugins/disabled-UiPassword" "$install_dir/source/plugins/UiPassword"

View file

@ -48,7 +48,7 @@ ynh_script_progression --message="Building zeronet..."
ynh_exec_as "$app" python3 -m venv --upgrade "$install_dir/venv"
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install --upgrade pip
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install -r "$install_dir/source/requirements.txt"
ynh_exec_as "$app" "$install_dir/venv/bin/python3" -m pip install -r "$install_dir/source/requirements.txt" --no-deps
# Enable password authentication for Zeronet
mv "$install_dir/source/plugins/disabled-UiPassword" "$install_dir/source/plugins/UiPassword"

View file

@ -0,0 +1,36 @@
diff --git a/requirements.txt b/requirements.txt
index b3df57e..9870c84 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,13 +1,18 @@
-gevent==1.4.0; python_version <= "3.6"
-greenlet==0.4.16; python_version <= "3.6"
-gevent>=20.9.0; python_version >= "3.7"
-msgpack>=0.4.4
-base58
-merkletools
-rsa
-PySocks>=1.6.8
-pyasn1
-websocket_client
-gevent-ws
-coincurve
-maxminddb
+asn1crypto==1.5.1
+base58==2.1.1
+cffi==1.15.1
+coincurve==18.0.0
+gevent==23.9.1
+gevent-ws==2.1.0
+greenlet==2.0.2
+maxminddb==2.4.0
+merkletools==1.0.3
+msgpack==1.0.6
+pipdeptree==2.13.0
+pyasn1==0.5.0
+pycparser==2.21
+PySocks==1.7.1
+rsa==4.9
+websocket-client==1.6.3
+zope.event==5.0
+zope.interface==6.0