question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A new version of Werkzeug breaks the code

See original GitHub issue

You get: ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security' while running tests

https://werkzeug.palletsprojects.com/en/2.1.x/changes/#version-2-1-0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
northwestwitchcommented, Mar 29, 2022

Let’s freeze werkzeug until the new version of flask_login is out!

1reaction
northwestwitchcommented, Mar 29, 2022

The problem is in flask_login. It has been fixed already but looks like the changes have not been released yet:

https://github.com/maxcountryman/flask-login/blob/264ae9707ef3597c9377016e1cd2bf3f1a3ccc39/CHANGES#L21

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flask 1.1.1 broken with Werkzeug 2.0.0 release #4027 - GitHub
from setup.py can install werkzeug 2.0.0, which breaks things. ... I'd say if someone installs an old version of flask in a new...
Read more >
Changes — Werkzeug Documentation (2.2.x)
When running the development server in Docker, the debugger security pin is now unique per container. Version 0.15.2¶. Released 2019-04-02. Rule code generation ......
Read more >
Werkzeug - PyPI
An interactive debugger that allows inspecting stack traces and source code in the browser with an interactive interpreter for any frame in the...
Read more >
Dash ImportError: cannot import name 'get_current_traceback ...
@CGFoX The new version that Werkzeug released yesterday broke dash and caused that import error. Since dash forces to install the latest version...
Read more >
werkzeug - HackTricks
py . View Werkzeug source code repo, but better to leak source code through file traversal vulnerability since versions likely differ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found