[PR #2279] bump flask from 2.3 to 3.0 #23542

Closed
opened 2026-02-21 20:21:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/2279

State: closed
Merged: Yes


  • Flask 3.0 released on 2023-09-30, and the 3.0.1 released on 2024-01-18
  • Bump required dependencies
    • Werkzeug from 2.x to 3.0
    • other Flask-related dependencies
  • Pin Flask-SQLAlchemy to 3.0, as from the latest version 3.1 it requires SQLAlchemy 2.x
  • Remove unused flask-session2 package
    • out of date and no longer maintained since 2022
    • no usage or imports of from flask_session
    • Reported possible malfunctioning on existed Flask 2.x
**Original Pull Request:** https://github.com/langgenius/dify/pull/2279 **State:** closed **Merged:** Yes --- - Flask 3.0 released on 2023-09-30, and the `3.0.1` released on 2024-01-18 - Release note: https://flask.palletsprojects.com/en/3.0.x/changes/ - No remarkable breaking changes or impacts - Bump required dependencies - Werkzeug from `2.x` to `3.0` - other Flask-related dependencies - Pin Flask-SQLAlchemy to `3.0`, as from the latest version `3.1` it requires SQLAlchemy `2.x` - Remove unused `flask-session2` package - out of date and no longer maintained since 2022 - no usage or imports of `from flask_session` - Reported possible malfunctioning on existed Flask `2.x`
yindo added the pull-request label 2026-02-21 20:21:17 -05:00
yindo closed this issue 2026-02-21 20:21:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23542