mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Force usage of Django version lower than 3
Django versions after 3 drop the support for python_2_unicode_compatible
This commit is contained in:
parent
3f383f568f
commit
be5bdc2f2f
2 changed files with 2 additions and 0 deletions
|
@ -188,6 +188,7 @@ virtualenv --python=python3 "${final_path}/venv"
|
|||
pip install --upgrade pip
|
||||
# prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
|
||||
pip install --upgrade setuptools
|
||||
pip install Django==2.2.*
|
||||
pip install Weblate=="$current_version"
|
||||
pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml
|
||||
# specific to YunoHost package:
|
||||
|
|
|
@ -181,6 +181,7 @@ ynh_script_progression --message="Install weblate using PIP..." --weight=10
|
|||
pip install --upgrade pip
|
||||
# prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
|
||||
pip install --upgrade setuptools
|
||||
pip install Django==2.2.*
|
||||
pip install Weblate=="$current_version"
|
||||
pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml
|
||||
# specific to YunoHost package:
|
||||
|
|
Loading…
Reference in a new issue