Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual install fix for pip requirements.txt package versions #92

Open
swaggner opened this issue May 15, 2021 · 3 comments
Open

Manual install fix for pip requirements.txt package versions #92

swaggner opened this issue May 15, 2021 · 3 comments

Comments

@swaggner
Copy link

Gunicorn install should be no newer than 19.9.0 (sudo apt-get install gunicorn=19.9.0-1) and nginx needs to be 1.14.2 (sudo apt-get install nginx=1.14.2-2+deb10u3). Also, pip packages being installed during "sudo pip install -r requirements.txt” installs newer incompatible versions. Comparing versions to pibakery install reveals package versions that can be installed as follows:

sudo pip install babel==2.6.0
Flask-Babel==0.11.2
Flask-Caching==1.7.2
Flask-Login==0.4.1
Flask-Mail==0.9.1
Flask-OpenID==1.2.5
Flask-SQLAlchemy==2.1
Flask-Script==2.0.6
Flask-Testing==0.7.1
Flask-WTF==0.14.2
Flask==1.0.2
Jinja2==2.10
Mako==1.0.7
MarkupSafe==1.1.0
Pygments==2.3.1
SQLAlchemy==1.2.18
Sphinx==1.8.4
WTForms==2.2.1
Werkzeug==0.14.1
alarmdecoder==1.13.4
alembic==1.0.0
argparse==1.2.1
async==0.6.2
blinker==1.4
cffi==1.12.2
cryptography==2.6.1
distribute==0.7.3
docutils==0.14
gevent-socketio==0.3.6
gevent-websocket==0.9.3
gevent==1.1b4
gitdb==0.6.4
greenlet==0.4.15
itsdangerous==0.24
jsonpickle==0.9.5
mock==2.0.0
nose==1.3.7
psutil==5.5.1
pyOpenSSL==19.0.0
python-openid==2.2.5
pytz==2019.1
sh==1.12.14
six==1.12.0
sleekxmpp==1.3.3
smmap==0.9.0
speaklater==1.3
wsgiref==0.1.2
twilio==6.8.2 \

aszymanik added a commit to aszymanik/alarmdecoder-webapp that referenced this issue Jun 13, 2021
@edrikk
Copy link

edrikk commented Feb 16, 2025

How were these version to be pinned at identified as the last compatible version?
e.g. alarmdecoder itself is pinned to an old(er) version (1.13.11 being newest), pytz should be latest version, MarkupSafe can be "==1.1.1", etc.

Might be worth going over them again?

@edrikk
Copy link

edrikk commented Feb 23, 2025

@ajschmidt8
After inclusion of changes at these locations:
#99
#93

The requirements.txt file can be updated to:

Babel==2.9.1
Flask==1.1.4
Flask-Babel==1.0.0
Flask-Caching==1.7.2
Flask-Login==0.5.0
Flask-Mail==0.9.1
Flask-OpenID==1.2.5
Flask-SQLAlchemy==2.5.1
Flask-Script==2.0.6
Flask-Testing==0.8.1
Flask-WTF==0.14.3
Jinja2==2.11.3
Mako>=1.0.7
MarkupSafe==1.1.1
Pygments==2.5.2
SQLAlchemy==1.2.19
Sphinx==1.8.6
WTForms==2.2.1
Werkzeug==0.16.1
alarmdecoder>=1.13.12
alembic==1.3.3
argparse>=1.2.1
async==0.6.2
blinker==1.4
cffi==1.15.1
pyftdi==0.13.4
cryptography==3.3.2
distribute>=0.6.24
docutils==0.14
gevent==1.1b4
gevent-socketio==0.3.6
gevent-websocket==0.10.1
gitdb==0.6.4
greenlet==0.4.15
itsdangerous==1.1.0
jsonpickle==0.9.5
mock==3.0.5
nose==1.3.7
psutil==6.1.1
pyOpenSSL==21.0.0
pycparser==2.19
python-openid==2.2.5
pytz>=2025.1
sh==1.14.3
six==1.17.0
sleekxmpp==1.3.3
smmap==0.9.0
speaklater>=1.3
wsgiref>=0.1.2
netifaces==0.10.4
futures; python_version=="2.7"
numpy==1.16.2
chump==1.6.0
twilio==6.63.2
gntp==1.0.3
miniupnpc==2.0.2

@ajschmidt8
Copy link
Collaborator

@ajschmidt8 After inclusion of changes at these locations: #99 #93

@edrikk, feel free to put this change in a PR. I'm not going to parse issue comments and open PRs myself. Same goes for the other issues where you tagged me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants