diff --git a/fakeredis-2.21.0-gh.tar.gz b/fakeredis-2.21.0-gh.tar.gz deleted file mode 100644 index d20c418..0000000 --- a/fakeredis-2.21.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c14b2c0a6583c86a476118f46c5ba63959751b1e4475b79ef9c090ed85f8759 -size 208756 diff --git a/fakeredis-2.23.4-gh.tar.gz b/fakeredis-2.23.4-gh.tar.gz new file mode 100644 index 0000000..ab24cd5 --- /dev/null +++ b/fakeredis-2.23.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c4f16e0d71d990c777bc157506fda38898f1775621cf5c100d24c099254e562 +size 209141 diff --git a/python-fakeredis.changes b/python-fakeredis.changes index 172c644..7288a4b 100644 --- a/python-fakeredis.changes +++ b/python-fakeredis.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Wed Jul 31 02:16:56 UTC 2024 - Martin Schreiner + +- Update to 2.23.4. +- Changes from v2.23.4 + * fix:move random seed to HeavyKeeper to avoid issues. + * Documented how to use fakeredis with FastAPI. + * Using black for linting python code. +- Changes from v2.23.3 + * docs: Full code for FastAPI integration + * Fix ttl for empty stream +- Changes from v2.23.2 + * Fix reading multiple streams with blocking +- Changes from v2.23.1 + * Fix `XREAD` behavior when `COUNT` is not provided but `BLOCKING` + is provided +- Changes from v2.23.0 + * Support for TDigest commands: + `TDIGEST.ADD`,`TDIGEST.BYRANK`,`TDIGEST.BYREVRANK`,`TDIGEST.CDF`, + `TDIGEST.CREATE`, `TDIGEST.INFO`, `TDIGEST.MAX`, `TDIGEST.MERGE`, + `TDIGEST.MIN`, `TDIGEST.QUANTILE`, `TDIGEST.RANK`, + `TDIGEST.RESET`, `TDIGEST.REVRANK`, `TDIGEST.TRIMMED_MEAN`. + * Import `Self` from typing vs. typing_extension + * Update dependencies + * Add redis-py 5.0.4 to tests + * Update lupa version constraint +- Changes from v2.22.0 + * Support for setting LUA version from environment variable + `FAKEREDIS_LUA_VERSION` + * Support for loading LUA binary modules in fakeredis + * Fix the type hint for the version parameter in the async client + * Using LUA 5.1 like real redis + * fix: FakeRedisMixin.from_url() return type is really Self. +- Changes from v2.21.3 + * Revert behavior of defaulting to share the same server data + structure between connections + * Fix type hint for version +- Changes from v2.21.2 + * Connection params are defaulted to be the same between async and + sync connections + * `xinfo_stream` raises exception when stream does not exist +- Changes from v2.21.1 + * Support for float timeout values + * Fix django cache documentation +- Remove leftover dependency on python-packaging (solves rpmlint + warnings, too). +- Add new test and runtime dependency on 'typing_extensions' >= 4.7. +- No longer remove test file 'test/test_redis_asyncio.py'. + ------------------------------------------------------------------- Sun Feb 4 10:08:59 UTC 2024 - Dirk Müller diff --git a/python-fakeredis.spec b/python-fakeredis.spec index 6c623d4..9c52e0b 100644 --- a/python-fakeredis.spec +++ b/python-fakeredis.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-fakeredis -Version: 2.21.0 +Version: 2.23.4 Release: 0 Summary: Fake implementation of redis API for testing purposes License: BSD-3-Clause AND MIT @@ -29,9 +29,9 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-packaging >= 23.1 Requires: python-redis >= 4 Requires: python-sortedcontainers >= 2.4.0 +Requires: python-typing_extensions >= 4.7 Suggests: python-lupa >= 1.14 BuildArch: noarch # SECTION test requirements @@ -42,6 +42,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 typing_extensions >= 4.7} # /SECTION %python_subpackages @@ -60,7 +61,6 @@ Fake implementation of redis API for testing purposes. %check export LANG="en_US.UTF8" -rm -v test/test_redis_asyncio.py %pytest -m "not slow" %files %{python_files}