diff --git a/fakeredis-1.7.0.tar.gz b/fakeredis-1.7.0.tar.gz deleted file mode 100644 index 1404e18..0000000 --- a/fakeredis-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c9bd12e430336cbd3e189fae0e91eb99997b93e76dbfdd6ed67fa352dc684c71 -size 80902 diff --git a/fakeredis-1.8.1-gh.tar.gz b/fakeredis-1.8.1-gh.tar.gz new file mode 100644 index 0000000..03d0433 --- /dev/null +++ b/fakeredis-1.8.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ab86dc61bbfeb15bfe844ba337a7d44d4e27beb8ae355ba0376504e0c2ab33b +size 101586 diff --git a/python-fakeredis.changes b/python-fakeredis.changes index db0e01a..be08d57 100644 --- a/python-fakeredis.changes +++ b/python-fakeredis.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Sat Jun 11 11:17:33 UTC 2022 - Ben Greiner + +- Update to 1.8.1 + * fix: allow redis 4.3.* by @terencehonles in #30 +- Release 1.8 + * Fix handling url with username and password by @cunla in #27 + * Refactor tests by @cunla in #28 +- Release 1.7.6 + * add IMOVE operation by @BGroever in #11 + * Add SMISMEMBER command by @OlegZv in #20 + * fix: work with redis.asyncio by @zhongkechen in #10 + * Migrate to poetry by @cunla in #12 + * Create annotation for redis4+ tests by @cunla in #14 + * Make aioredis and lupa optional dependencies by @cunla in #16 + * Remove aioredis requirement if redis-py 4.2+ by @ikornaselur in + #19 + ------------------------------------------------------------------- Sun Jan 23 20:36:18 UTC 2022 - Dirk Müller diff --git a/python-fakeredis.spec b/python-fakeredis.spec index 5c82315..c1ad776 100644 --- a/python-fakeredis.spec +++ b/python-fakeredis.spec @@ -16,37 +16,34 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-fakeredis -Version: 1.7.0 +Version: 1.8.1 Release: 0 Summary: Fake implementation of redis API for testing purposes License: BSD-3-Clause AND MIT -URL: https://github.com/jamesls/fakeredis -Source: https://files.pythonhosted.org/packages/source/f/fakeredis/fakeredis-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +URL: https://github.com//dsoftwareinc/fakeredis +Source: https://github.com/dsoftwareinc/fakeredis-py/archive/refs/tags/v%{version}.tar.gz#/fakeredis-%{version}-gh.tar.gz +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-packaging Requires: python-redis -Requires: python-six >= 1.12 -Requires: python-sortedcontainers -Suggests: python-aioredis +Requires: python-six >= 1.16 +Requires: python-sortedcontainers >= 2.4.0 +Suggests: (python-aioredis if python-redis < 4.2) Suggests: python-lupa BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module aioredis} BuildRequires: %{python_module future} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module lupa} -BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module redis} -BuildRequires: %{python_module six >= 1.12} -BuildRequires: %{python_module sortedcontainers} +BuildRequires: %{python_module six >= 1.16} +BuildRequires: %{python_module sortedcontainers >= 2.4.0} # /SECTION %python_subpackages @@ -54,13 +51,13 @@ BuildRequires: %{python_module sortedcontainers} Fake implementation of redis API for testing purposes. %prep -%setup -q -n fakeredis-%{version} +%setup -q -n fakeredis-py-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -68,8 +65,8 @@ export LANG="en_US.UTF8" %pytest %files %{python_files} -%doc README.rst -%license COPYING +%doc README.md +%license LICENSE %{python_sitelib}/fakeredis %{python_sitelib}/fakeredis-%{version}*-info