Skip to content

Pin required library versions #138

Description

@justb4

To make sure that GHC always works in any context, it is recommended to "pin" versions of external mainly Python libs. In some cases, incompatible versions may cause subtle, hard-to-debug errors like this one, caused by mismatch of Flask-Login versions and the use of user.is_authenticated() (switched from function to bool from 0.3.0).

This is a list known to work for GHC version as on July 14, 2017 for the "dev" version within Docker using gunicorn/eventlet and PostGIS via psycopg2:

(venv) bash-4.3# pip list

alabaster (0.7.10)
alembic (0.9.3)
Babel (2.4.0)
certifi (2017.4.17)
chardet (3.0.4)
click (6.7)
docutils (0.13.1)
enum-compat (0.0.2)
enum34 (1.1.6)
eventlet (0.21.0)
Flask (0.12.2)
Flask-Babel (0.11.2)
Flask-Login (0.2.11)
Flask-Migrate (2.0.3)
Flask-Script (2.0.5)
Flask-SQLAlchemy (2.1)
greenlet (0.4.12)
gunicorn (19.7.1)
idna (2.5)
imagesize (0.7.1)
itsdangerous (0.24)
Jinja2 (2.9.6)
Mako (1.0.6)
MarkupSafe (1.0)
OWSLib (0.14.0)
Paver (1.2.4)
pip (9.0.1)
psycopg2 (2.7.1)
Pygments (2.2.0)
pyproj (1.9.5.1)
python-dateutil (2.6.0)
python-editor (1.0.3)
pytz (2017.2)
requests (2.18.1)
setuptools (36.0.1)
six (1.10.0)
snowballstemmer (1.2.1)
Sphinx (1.6.3)
sphinxcontrib-websupport (1.0.1)
SQLAlchemy (1.1.11)
typing (3.6.1)
urllib3 (1.21.1)
Werkzeug (0.12.2)
wheel (0.29.0)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions