From 3d14807b73594332752349f450f846f8936594eceac404f30216676cc4d77a15 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 19 Apr 2023 07:48:41 +0000 Subject: [PATCH] - Update to 2.10.3: * Support for redis-py 5.0.0b1 * Include tests in sdist (#133) * Fix import used in GenericCommandsMixin.randomkey (#135) * Fix async_timeout usage on py3.11 (#132) * Enable testing django-cache using FakeConnection. * All geo commands implemented * Fix bug for xrange * Fix bug for xrevrange * Implement XTRIM * Add support for MAXLEN, MAXID, LIMIT arguments for XADD command * Add support for ZRANGE arguments for ZRANGE command #127 * Relax python version requirement #128 * Support for redis-py 4.5.0 #125 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fakeredis?expand=0&rev=27 --- fakeredis-2.10.3-gh.tar.gz | 3 +++ fakeredis-2.7.1-gh.tar.gz | 3 --- python-fakeredis.changes | 18 ++++++++++++++++++ python-fakeredis.spec | 6 +++--- 4 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 fakeredis-2.10.3-gh.tar.gz delete mode 100644 fakeredis-2.7.1-gh.tar.gz diff --git a/fakeredis-2.10.3-gh.tar.gz b/fakeredis-2.10.3-gh.tar.gz new file mode 100644 index 0000000..6a64041 --- /dev/null +++ b/fakeredis-2.10.3-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10f0b7da7590d6b6dca65d3f1b1905284303ba051c48ad4badde197335d36366 +size 160924 diff --git a/fakeredis-2.7.1-gh.tar.gz b/fakeredis-2.7.1-gh.tar.gz deleted file mode 100644 index ded9b07..0000000 --- a/fakeredis-2.7.1-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c35f3d6e3547e178ee99b5325845b4f0c8027e64480624540c552c4760e3b5d -size 162831 diff --git a/python-fakeredis.changes b/python-fakeredis.changes index 9cab50c..38da0cf 100644 --- a/python-fakeredis.changes +++ b/python-fakeredis.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Apr 19 07:46:41 UTC 2023 - Steve Kowalik + +- Update to 2.10.3: + * Support for redis-py 5.0.0b1 + * Include tests in sdist (#133) + * Fix import used in GenericCommandsMixin.randomkey (#135) + * Fix async_timeout usage on py3.11 (#132) + * Enable testing django-cache using FakeConnection. + * All geo commands implemented + * Fix bug for xrange + * Fix bug for xrevrange + * Implement XTRIM + * Add support for MAXLEN, MAXID, LIMIT arguments for XADD command + * Add support for ZRANGE arguments for ZRANGE command #127 + * Relax python version requirement #128 + * Support for redis-py 4.5.0 #125 + ------------------------------------------------------------------- Fri Feb 10 10:40:09 UTC 2023 - Dirk Müller diff --git a/python-fakeredis.spec b/python-fakeredis.spec index 3c36837..6461925 100644 --- a/python-fakeredis.spec +++ b/python-fakeredis.spec @@ -17,7 +17,7 @@ Name: python-fakeredis -Version: 2.7.1 +Version: 2.10.3 Release: 0 Summary: Fake implementation of redis API for testing purposes License: BSD-3-Clause AND MIT @@ -28,7 +28,7 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-redis < 4.5 +Requires: python-redis >= 4 Requires: python-sortedcontainers >= 2.4.0 Suggests: python-lupa >= 1.14 BuildArch: noarch @@ -40,7 +40,7 @@ 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 redis < 4.5} +BuildRequires: %{python_module redis >= 4} BuildRequires: %{python_module sortedcontainers >= 2.4.0} # /SECTION %python_subpackages