Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for werkzeug > 1.0 #43

Closed
wants to merge 1 commit into from

Conversation

ChrisOrlando
Copy link

@ChrisOrlando ChrisOrlando commented Apr 9, 2020

I came across this while working on #42 but it seemed like its own problem, worthy of its own PR.

9 days ago, werkzeug was updated

The changelog contains this:

Remove most top-level attributes provided by the werkzeug module in favor of direct imports. For example, instead of import werkzeug; werkzeug.url_quote, do from werkzeug.urls import url_quote. Install version 0.16 first to see deprecation warnings while upgrading. # 2, # 1640

So I fixed the single import I was getting errors on and updated the components that import from werkzeug to versions that have the imports fixed.

I came across this while working on overviewer#42 but it seemed like its own problem, worthy of its own PR.

9 days ago, [werkzeug was updated](https://github.com/pallets/werkzeug/releases/tag/1.0.0)

The changelog contains this:

> Remove most top-level attributes provided by the werkzeug module in favor of direct imports. For example, instead of import werkzeug; werkzeug.url_quote, do from werkzeug.urls import url_quote. Install version 0.16 first to see deprecation warnings while upgrading. #2, #1640

So I updated the components that import from werkzeug to versions that have the imports fixed.
@CounterPillow
Copy link
Member

Oops, already just did this in master while fixing up something else instead of merging this PR. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants