Skip to content

Commit

Permalink
Update flask dependencies
Browse files Browse the repository at this point in the history
- remove unused or unuseful dependencies
  • Loading branch information
rkoumis committed Nov 15, 2024
1 parent b1101d3 commit 02f3630
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
5 changes: 0 additions & 5 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import os

from flask import Flask
from flask_caching import Cache
from flask_compress import Compress

from app.dalton import dalton_blueprint, ensure_rulesets_exist, setup_dalton_logging
from app.flowsynth import flowsynth_blueprint, setup_flowsynth_logging
Expand Down Expand Up @@ -45,7 +43,4 @@ def create_app(test_config=None):
except Exception:
pass

compress = Compress()
_ = Cache(daltonfs, config={"CACHE_TYPE": "simple"})
compress.init_app(daltonfs)
return daltonfs
15 changes: 6 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@ description = "Run pcaps against an IDS"
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"Jinja2==3.0.3",
"Flask==1.1.1",
"Flask-Assets==0.12",
"Flask-Script==2.0.6",
"Flask-Caching==1.8.0",
"Flask-Compress==1.4.0",
"Jinja2==3.1.4",
"Flask==3.0.3",
"redis==5.2.0",
# there is newer ruamel available
"ruamel.yaml<0.18.0",
"idstools==0.6.4",
"idstools==0.6.5",
"flowsynth>=1.4.1",
"werkzeug==0.16.1",
"itsdangerous==2.0.1",
"werkzeug==3.1.3",
"itsdangerous==2.2.0",
]
authors = [
{ name = "David Wharton and others" }
Expand Down

0 comments on commit 02f3630

Please sign in to comment.