Upgrade Werkzeug to 2.x and fix affected tests #499
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A redundant space before the word "If" is remove in Werkzeug 2.0
pallets/werkzeug@5fd1386#diff-b9d6906a0da8b5a9877b17ac5ea491161a660ce7e513921738d3e284bd9e9c96L528
A
cast()
is no longer needed as Werkzeug 2.x is properlytype-annotated: pallets/werkzeug@967b2da
I noticed this when I was testing klein with the latest Python packages. Someone Werkzeug is not automatically upgraded via requires.io, and several others (e.g., attrs, six) are already out-dated before the last requires.io pull request (#498), too. I guess something was wrong at their end.