diff --git a/fakeredis-2.31.2-gh.tar.gz b/fakeredis-2.31.2-gh.tar.gz deleted file mode 100644 index 8247c29..0000000 --- a/fakeredis-2.31.2-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3ffa0216f047d5f71b9d9a67d803c05576b01d9a21b2750ac8ae207e1954840 -size 295019 diff --git a/fakeredis-2.32.0-gh.tar.gz b/fakeredis-2.32.0-gh.tar.gz new file mode 100644 index 0000000..affdf06 --- /dev/null +++ b/fakeredis-2.32.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e53f9f622399e951bd2504215321e0c246aeb74108b2ae955ac156f57353e6db +size 307159 diff --git a/python-fakeredis.changes b/python-fakeredis.changes index 0b785e5..f655299 100644 --- a/python-fakeredis.changes +++ b/python-fakeredis.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Nov 3 04:58:17 UTC 2025 - Steve Kowalik + +- Update to 2.32.0: + * Features + + add support for nx/xx/gt/lt options for expireat/pexpire/pexpireat + * Bug Fixes + + fix:removing use of self.protocol to support redis-py < 5 + + fix:race condition due to closing socket in + TCPFakeRequestHandler:finish + ------------------------------------------------------------------- Mon Sep 15 08:12:28 UTC 2025 - Markéta Machová diff --git a/python-fakeredis.spec b/python-fakeredis.spec index 71c7f06..2b2032c 100644 --- a/python-fakeredis.spec +++ b/python-fakeredis.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-fakeredis -Version: 2.31.2 +Version: 2.32.0 Release: 0 Summary: Fake implementation of redis API for testing purposes License: BSD-3-Clause AND MIT @@ -41,6 +41,7 @@ BuildRequires: %{python_module pytest-asyncio >= 0.19.0} BuildRequires: %{python_module pytest-mock >= 3.7.0} BuildRequires: %{python_module redis >= 4} BuildRequires: %{python_module sortedcontainers >= 2.4.0} +BuildRequires: %{python_module valkey >= 6} BuildRequires: redis # /SECTION %python_subpackages @@ -61,14 +62,18 @@ Fake implementation of redis API for testing purposes. %check export LANG="en_US.UTF8" %{_sbindir}/redis-server --port 6390 --save & -# needs python-valkey, which is not in the distribution and is hard to package -rm -r test/test_valkey -%pytest -m "not slow" +# Lag is not -1 +donttest="test_zrank_redis7_2 or test_zrevrank_redis7_2" +donttest+=" or test_xgroup_setid_redis7" +# Raises unknown command errors +donttest+=" or (test_save and (StrictRedis2 or StrictRedis3))" +donttest+=" or (test_raises_valkey_response_error and FakeStrictRedis)" +%pytest -m "not slow" -k "not ($donttest)" %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/fakeredis -%{python_sitelib}/fakeredis-%{version}*-info +%{python_sitelib}/fakeredis-%{version}.dist-info %changelog