Skip to content

Commit

Permalink
Let Flask-Session be installed with optional dependencies.
Browse files Browse the repository at this point in the history
The possible optional groups are cachelib, filesystem,  mongodb, redis, sqlalchemy and dev.
`Flask-Session[dev]` installs all optional-dependencies.
  • Loading branch information
eiriklid-sk committed Mar 21, 2024
1 parent 4dc5d29 commit 43bf8f5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ dependencies = [
]
dynamic = ["version"]

[project.optional-dependencies]
cachelib = ["cachelib>=0.10.2"]
filesystem = ["cachelib>=0.10.2"]
mongodb = ["pymongo>=4.6.2"]
redis = ["redis>=5.0.3"]
sqlalchemy = ["flask-sqlalchemy>=3.0.5"]
dev = ["Flask-Session[cachelib, filesystem, mongodb, redis, sqlalchemy]"]

[project.urls]
Documentation = "https://flask-session.readthedocs.io"
Changes = "https://flask-session.readthedocs.io/changes.html"
Expand Down
2 changes: 1 addition & 1 deletion src/flask_session/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .defaults import Defaults

__version__ = "0.7.0"
__version__ = "0.8.0"


class Session:
Expand Down

0 comments on commit 43bf8f5

Please sign in to comment.