Skip to content

Commit

Permalink
chore(dep): bump flask from 3.0.1 to 3.1.0 and flask-compress to 1.17 (
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 authored Nov 29, 2024
1 parent cc0b92b commit 2feb44e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 75 deletions.
6 changes: 0 additions & 6 deletions api/extensions/ext_compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,5 @@ def init_app(app: Flask):
if dify_config.API_COMPRESSION_ENABLED:
from flask_compress import Compress

app.config["COMPRESS_MIMETYPES"] = [
"application/json",
"image/svg+xml",
"text/html",
]

compress = Compress()
compress.init_app(app)
87 changes: 22 additions & 65 deletions api/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ chardet = "~5.1.0"
cohere = "~5.2.4"
dashscope = { version = "~1.17.0", extras = ["tokenizer"] }
fal-client = "0.5.6"
flask = "~3.0.1"
flask-compress = "~1.14"
flask = "~3.1.0"
flask-compress = "~1.17"
flask-cors = "~4.0.0"
flask-login = "~0.6.3"
flask-migrate = "~4.0.5"
flask-migrate = "~4.0.7"
flask-restful = "~0.3.10"
flask-sqlalchemy = "~3.1.1"
gevent = "~24.11.1"
Expand Down Expand Up @@ -184,7 +184,6 @@ unstructured = { version = "~0.16.1", extras = ["docx", "epub", "md", "msg", "pp
validators = "0.21.0"
volcengine-python-sdk = {extras = ["ark"], version = "~1.0.98"}
websocket-client = "~1.7.0"
werkzeug = "~3.0.1"
xinference-client = "0.15.2"
yarl = "~1.9.4"
youtube-transcript-api = "~0.6.2"
Expand Down

0 comments on commit 2feb44e

Please sign in to comment.