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.

Airflow has a dependency on flask-wtf, which has from werkzeug import url_encode – this was marked deprecated in werkzeug 0.16 and errors in werkzeug 1.0.0. See: https://github.com/lepture/flask-wtf/pull/378, https://github.com/lepture/flask-wtf/issues/394

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
davidismcommented, Feb 6, 2020

Flask-WTF 0.14.3 is available on PyPI now.

0reactions
ddelangecommented, Feb 7, 2020

secure_filename would be nice, it was breaking our airflow 1.10.8 installation (fixed for 1.10.9/2 https://github.com/apache/airflow/pull/7377). for the rest i think it’ll be a tough one to find out which ones actually occur oftren. i’m curious if there’s some github crawling/statistics software for this purpose, since github search doesn’t cut it… here some py files with more than 1000 stars: https://github.com/search?utf8=✓&q=“from+werkzeug+import”+stars%3A>500+extension%3Apy&type=Code&ref=advsearch&l=&l=

File "/usr/local/lib/python3.7/site-packages/flask_admin/model/__init__.py", line 2, in <module>
from .base import BaseModelView
File "/usr/local/lib/python3.7/site-packages/flask_admin/model/base.py", line 8, in <module>
from werkzeug import secure_filename
ImportError: cannot import name 'secure_filename' from 'werkzeug' (/usr/local/lib/python3.7/site-packages/werkzeug/__init__.py)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Bountysource
Unpin Flask and Werkzeug.
Read more >
Pin & unpin screens - Android Help - Google Support
You can pin an app's screen to keep it in view until you unpin it. For example, you can pin an app and...
Read more >
Tool window view modes | PyCharm Documentation - JetBrains
Dock Unpinned: The tool window is attached to the tool window bar but is visible only when it is active. It does not...
Read more >
flask-restx - PyPI
Flask and Werkzeug moved to versions 2.0 in March 2020. ... unpinned in Flask-RESTX. ... unpinned, import statements wrapped for compatibility.
Read more >
[airflow] annotated tag 2.0.0b1 updated (71d3eaf ... - The Mail Archive
... scheduler logs (#11685) * fix helm chart worker deployment without kerberos (#11681) * Unpin werkzeug & set default cookie_samesite to Lax (#11873)...
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