Re: pgAdmin4 6.13 doesn't work with Werkzeug >=2.1 - Mailing list pgadmin-support

From Akshay Joshi
Subject Re: pgAdmin4 6.13 doesn't work with Werkzeug >=2.1
Date
Msg-id CANxoLDcMA8By3NsRYHgzTxfJGfrmcOTTuem6f2qqwseQEAkYUg@mail.gmail.com
Whole thread Raw
In response to pgAdmin4 6.13 doesn't work with Werkzeug >=2.1  (Volker Helm <vh@quatro-stahl.de>)
List pgadmin-support
Hi Volker

We have pinned the werkzeug version to 2.1.2 in pgAdmin 4, as version 2.2 gives some problems. We haven't tested pgAdmin 4 with werkzeug 2.2 and already have a Redmine https://redmine.postgresql.org/issues/7647

On Wed, Aug 31, 2022 at 3:19 PM Volker Helm <vh@quatro-stahl.de> wrote:

Hi there,

I tried to update pgAdmin4 yesterday in a virtual enviroment. After I started pgadmin4 I got an error related to werkzeug.security and safe_str_cmp

I did some searching and found following thread:

https://stackoverflow.com/questions/71652965/importerror-cannot-import-name-safe-str-cmp-from-werkzeug-security

My original system is an arch linux with werkzeug 2.2.

As solution I installed inside the virtual enviroment with 'pip install werkzeug=2.0'. Now it works.

I hope I could provide you some informations.

--

Mit freundlichen Grüßen,

    Volker Helm

QUATRO Stahl GmbH

Werner-von-Siemens-Str.5

30982 Pattensen

Tel: (05101) 9175-44

Fax: (05101) 9175-45

Internet: www.quatro-stahl.de

Registeramt: HRB 101010 AG Hannover

Geschäftsführung: Volker Helm, Bernd Pritzel

UStId: DE 116 402 055



--

Akshay Joshi

Principal Software Architect

+91 9767888246

www.enterprisedb.com

     

pgadmin-support by date:

Previous
From: Volker Helm
Date:
Subject: pgAdmin4 6.13 doesn't work with Werkzeug >=2.1
Next
From: Gerald Bothe
Date:
Subject: Fatal error when starting pgadmin4