From da10a10b53145f2ba7677c6a6fe67c734a6650e50551aa4e61b416f5e20d01f3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 May 2023 13:38:56 +0000 Subject: [PATCH] - update to 2.13.0: * Fixed xadd timestamp (fixes #151) (#152) * Implement XDEL #153 * Improve test code * Fix reported security issue * Add support for `Connection.read_response` arguments used in redis-py 4.5.5 and 5.0.0 * Adding state for scan commands (#99) * Improved documentation (added async sample, etc.) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fakeredis?expand=0&rev=33 --- fakeredis-2.12.0-gh.tar.gz | 3 --- fakeredis-2.13.0-gh.tar.gz | 3 +++ python-fakeredis.changes | 13 +++++++++++++ python-fakeredis.spec | 8 ++++---- 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 fakeredis-2.12.0-gh.tar.gz create mode 100644 fakeredis-2.13.0-gh.tar.gz diff --git a/fakeredis-2.12.0-gh.tar.gz b/fakeredis-2.12.0-gh.tar.gz deleted file mode 100644 index 10a38a2..0000000 --- a/fakeredis-2.12.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f64c16d69724a5e90176176ffd7919ea721eb4092ed55ec871a548006ff59f4 -size 163132 diff --git a/fakeredis-2.13.0-gh.tar.gz b/fakeredis-2.13.0-gh.tar.gz new file mode 100644 index 0000000..8686e8a --- /dev/null +++ b/fakeredis-2.13.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:593204bdaaa9710e07e2c1a21a4f44040934e3078997fbf581b9441e8f261630 +size 165498 diff --git a/python-fakeredis.changes b/python-fakeredis.changes index c4287e6..b3023d6 100644 --- a/python-fakeredis.changes +++ b/python-fakeredis.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon May 29 13:33:12 UTC 2023 - Dirk Müller + +- update to 2.13.0: + * Fixed xadd timestamp (fixes #151) (#152) + * Implement XDEL #153 + * Improve test code + * Fix reported security issue + * Add support for `Connection.read_response` arguments used in + redis-py 4.5.5 and 5.0.0 + * Adding state for scan commands (#99) + * Improved documentation (added async sample, etc.) + ------------------------------------------------------------------- Mon May 8 18:09:08 UTC 2023 - Dirk Müller diff --git a/python-fakeredis.spec b/python-fakeredis.spec index 4ddecd8..bd0fea5 100644 --- a/python-fakeredis.spec +++ b/python-fakeredis.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-fakeredis -Version: 2.12.0 +Version: 2.13.0 Release: 0 Summary: Fake implementation of redis API for testing purposes License: BSD-3-Clause AND MIT @@ -39,8 +39,7 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module lupa >= 1.14} BuildRequires: %{python_module pytest >= 7.1.2} BuildRequires: %{python_module pytest-asyncio >= 0.19.0} -# technically requires pytest-mock >= 3.7.0, but we don't have it yet -BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest-mock >= 3.7.0} BuildRequires: %{python_module redis >= 4} BuildRequires: %{python_module sortedcontainers >= 2.4.0} # /SECTION @@ -61,7 +60,8 @@ Fake implementation of redis API for testing purposes. %check export LANG="en_US.UTF8" -%pytest +rm -v test/test_redis_asyncio.py +%pytest -m "not slow" %files %{python_files} %doc README.md