pyramid_session_redis 1.6.3 released

14 views
Skip to first unread message

Jonathan Vanasco

unread,
Nov 16, 2021, 6:20:45 PM11/16/21
to pylons-discuss
Pyramid Session Redis 1.6.3 is now available on Github and PyPi

The new version was released to support developers who do not actively monitor deprecation warnings, and have not already adjusted their code to support Redis 4.0.0 (released yesterday) removing the previously deprecated "charset" and "errors" kwargs in favor of "encoding" and "encoding_errors", respectively. The Python core developers decided to silence deprecation warnings in the 2.7 and 3.2 releases to hide them from end-users – which has caused endless troubles for library/package maintainers who deprecate things, as these warnings must now be actively monitored.

Some logic was added to detect what version of Redis (python library) is installed, and act accordingly.  The test matrix was extended to test against versions of Redis that use each set of kwargs.

Pyramid Session Redis 1.6.2, released in August, added support for the new kwargs.  Users who have already migrated to that and use the new kwargs will not need to migrate.  All users of pyramid_session_redis are encouraged to update their install AND to audit their integrations to ensure they are not using outdated kwargs in their configuration.


Reply all
Reply to author
Forward
0 new messages