Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ pytz==2019.3
scikit-learn==0.20.3
scipy==1.3.1
six==1.12.0
Werkzeug==0.16.0
Werkzeug==3.1.4
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Werkzeug 3.x incompatible with Flask 1.0.2

Upgrading Werkzeug from 0.16.0 to 3.1.4 while keeping Flask==1.0.2 creates an incompatible dependency combination. Flask 1.0.2 was designed for Werkzeug 0.x and relies on internal APIs that have been removed or renamed in Werkzeug 3.x. This will cause runtime import errors when Flask attempts to use Werkzeug modules that no longer exist. The PR description's warning "Flask 1.0.2 requires Werkzeug, which is not installed" indicates this conflict. Flask needs to be upgraded to a compatible version (2.x or 3.x) alongside this Werkzeug upgrade.

Fix in Cursor Fix in Web

pylint==2.4.4