pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
488 stars 236 forks source link

Deprecation Warnings #248

Closed eladavron closed 1 month ago

eladavron commented 1 month ago

On Python 3.11.9, using Flask-Session==0.8.0, I started getting these warnings:

.venv/lib/python3.11/site-packages/flask_session/filesystem/filesystem.py:57: DeprecationWarning: 'SESSION_FILE_DIR' is deprecated and will be removed in a future release. Instead pass FileSystemCache(directory, threshold, mode) instance as SESSION_CACHELIB.

.venv/lib/python3.11/site-packages/flask_session/filesystem/filesystem.py:75: DeprecationWarning: FileSystemSessionInterface is deprecated and will be removed in a future release. Instead use the CacheLib backend directly.