camptocamp/odoo-cloud-platform

[14.0] sessions_redis: 'werkzeug.contrib.sessions' is deprecated as of version 0.15

Closed this issue · 2 comments

When I start Odoo 14 with session_redis, I get the following warning:

WARNING ? py.warnings: /odoo/addons/session_redis/session.py:7: DeprecationWarning: 'werkzeug.contrib.sessions' is deprecated as of version 0.15 and will be removed in version 1.0. It has moved to https://github.com/pallets/secure-cookie.
  from werkzeug.contrib.sessions import SessionStore

FYI, Odoo 14 comes with Werkzeug 0.16.

BTW Odoo 15 is still on Werkzeug 0.16.1.
https://github.com/odoo/odoo/blob/15.0/requirements.txt#L44