Accepting request 1190659 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1190659 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fakeredis?expand=0&rev=26
This commit is contained in:
commit
20d0b3caa7
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c14b2c0a6583c86a476118f46c5ba63959751b1e4475b79ef9c090ed85f8759
|
||||
size 208756
|
BIN
fakeredis-2.23.4-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
fakeredis-2.23.4-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,52 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 02:16:56 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user