Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Flask + new Werkzeug -> errors #10933

Copy link
Copy link
Closed
Closed
Copy link
@m-strzelczyk

Description

@m-strzelczyk
Issue body actions

During work on #10930 I discovered that there is a problem with Flask and new version of Werkzeug (Flask dependency).

Citing from Stackoverflow:

I had the same problem. It is because Werkzeug 3.0.0 was released and Flask doesn't specify the dependency correctly (requirements says Werkzeug>=2.2.0). This is why, Werkzeug 3.0.0 is still installed and Flask 2.2.2 isn't made for Werkzeug 3.0.0.

Solution: Just set a fix version for Werkzeug such as Werkzeug==2.2.2 in your requirements.txt and it should work.

We need to update our requirements.txt to get a lot of the tests unblocked. Useful list of failing tests from #10930 build: https://source.cloud.google.com/results/invocations/20c95953-b10c-43ea-8cb9-1711e3198379/targets

Metadata

Metadata

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.