FS#65461 - [pgadmin4] Not compatible with werkzeug 1.0

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Tuesday, 11 February 2020, 20:37 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 11 February 2020, 20:46 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Running pgadmin4 with werkzeug 1.0 causes it to fail to startup. Downgrading to 0.16 fixes it.

Additional info:
* package version(s)
pgadmin4 4.18-1
python-werkzeug 1.0.0-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
$ python /usr/lib/pgadmin4/web/pgAdmin4.py
Traceback (most recent call last):
File "/usr/lib/pgadmin4/web/pgAdmin4.py", line 40, in <module>
import config
File "/usr/lib/pgadmin4/web/config.py", line 30, in <module>
from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
File "/usr/lib/pgadmin4/web/pgadmin/__init__.py", line 21, in <module>
from flask_babelex import Babel, gettext
File "/usr/lib/python3.8/site-packages/flask_babelex/__init__.py", line 23, in <module>
from werkzeug import ImmutableDict
ImportError: cannot import name 'ImmutableDict' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 11 February 2020, 20:46 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#65455 

Loading...