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.5
Copy link

Choose a reason for hiding this comment

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

Werkzeug 3.x incompatible with Flask 1.0.2 dependencies

High Severity

Upgrading Werkzeug from 0.16.0 to 3.1.5 breaks compatibility with Flask==1.0.2. Flask 1.0.2 was designed for Werkzeug 0.x and uses internal APIs that were removed in Werkzeug 2.0+ and 3.0+. Only Flask 3.0+ officially supports Werkzeug 3.x. This will cause ImportError exceptions at application startup (e.g., missing url_quote from werkzeug.urls). Flask also needs to be upgraded to version 3.x for this Werkzeug version to work.

Fix in Cursor Fix in Web

Copy link

Choose a reason for hiding this comment

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

Werkzeug 3.x requires Python 3.9, project uses 3.7

High Severity

The project uses Python 3.7.3 (specified in Dockerfile and .circleci/config.yml), but Werkzeug==3.1.5 requires Python 3.9 or newer. This version incompatibility will cause installation failures or runtime errors when pip attempts to install Werkzeug 3.1.5 on the Python 3.7.3 environment.

Fix in Cursor Fix in Web

pylint==2.4.4