Debian Patches

Status for python-fakeredis/1.4.5-4

Patch Description Author Forwarded Bugs Origin Last update
skip-flaky-test.patch Skip flaky test Ondřej Nový <onovy@debian.org> not-needed
0002-SINTER-STORE-requires-keys-to-be-sets.patch SINTER[STORE] requires keys to be sets
Starting with Redis 6.0.15 this behaviour changed.
The definition of SINTER[STORE] states:

"Keys that do not exist are considered to be empty sets."

At the same time SINTER only accepts set:

"intersection of all the given sets"

Both quotes from: https://redis.io/commands/sinter.

The behaviour of Redis 6.0.14 was that it ignored the type of later keys
if it found an empty set and returned that. Radis 6.0.15 changed this
behaviour to return a WRONGTYPE if it finds a non set key in the
arguments.

Example to reproduce:

127.0.0.1:6379> FLUSHALL
OK
127.0.0.1:6379> SINTER a b
(empty array)
127.0.0.1:6379> SET b something
OK
127.0.0.1:6379> SINTER a b
(error) WRONGTYPE Operation against a key holding the wrong kind of value

Cf. https://github.com/redis/redis/issues/9273.
Jochen Sprickerhof <jspricke@debian.org> no 2021-07-30

All known versions for source package 'python-fakeredis'

Links