mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Upgrade upstream to 3.x
Should fix the failing level2 of yunohost-apps CI also (infinite redirection bug fixed upstream). Fix #30 Ref https://github.com/YunoHost/apps/pull/553#issuecomment-448883502
This commit is contained in:
parent
2eaa22469f
commit
6fde558788
4 changed files with 3 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
"fr": "Une application web de comptes partagés à plusieurs"
|
||||
},
|
||||
"url": "http://ihatemoney.org/",
|
||||
"version": "2.1~ynh1",
|
||||
"version": "3.0~ynh1",
|
||||
"license": "free",
|
||||
"maintainer": {
|
||||
"name": "Jocelyn Delalande",
|
||||
|
|
|
@ -35,10 +35,6 @@ create_system_dirs() {
|
|||
init_virtualenv () {
|
||||
sudo virtualenv /opt/yunohost/ihatemoney/venv --python /usr/bin/python3
|
||||
|
||||
# Will no longer be necessary for ihm>=3.x
|
||||
# https://github.com/spiral-project/ihatemoney/blob/master/CHANGELOG.rst#fixed
|
||||
sudo /opt/yunohost/ihatemoney/venv/bin/pip install 'pip<10'
|
||||
|
||||
# PyMySQL → cryptography → setuptools>=18.5
|
||||
# Required on Jessie, Stretch has setuptools>=18.5
|
||||
/opt/yunohost/ihatemoney/venv/bin/pip install 'setuptools>=18.5'
|
||||
|
|
|
@ -46,7 +46,7 @@ init_virtualenv
|
|||
sudo /opt/yunohost/ihatemoney/venv/bin/pip install \
|
||||
'gunicorn>=19.3.0' \
|
||||
'PyMySQL>=0.9,<0.10' \
|
||||
'ihatemoney>=2,<3' \
|
||||
'ihatemoney>=3,<4' \
|
||||
|
||||
create_system_dirs
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ fi
|
|||
|
||||
|
||||
# Upgrade code and dependencies
|
||||
sudo ${PIP} install --upgrade 'gunicorn>=19.3.0' PyMySQL 'ihatemoney>=2,<3'
|
||||
sudo ${PIP} install --upgrade 'gunicorn>=19.3.0' PyMySQL 'ihatemoney>=3,<4'
|
||||
|
||||
|
||||
#-----------------------POST-UPGRADE MIGRATIONS-----------------
|
||||
|
|
Loading…
Reference in a new issue