forked from pool/python-fakeredis
Compare commits
15 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 13ae4bce40 | |||
| 2a5571fa50 | |||
| d8b933df5c | |||
| f32a8e7f0c | |||
| 9656a20338 | |||
| 77f556a653 | |||
| 317a8e9bfb | |||
| dc55c7d42e | |||
| 547520e680 | |||
| 6e8bddf0de | |||
| da8e461338 | |||
| 79f241e038 | |||
| 0aae007ffc | |||
| 20d0b3caa7 | |||
| 2ebeddf372 |
BIN
fakeredis-2.30.1-gh.tar.gz
LFS
BIN
fakeredis-2.30.1-gh.tar.gz
LFS
Binary file not shown.
3
fakeredis-2.32.1-gh.tar.gz
Normal file
3
fakeredis-2.32.1-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d26bb64e850c8f75b581ed5c2d3385d8d2e98f9a5896dd08eca60f813a2267c2
|
||||
size 324293
|
||||
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 14 13:57:32 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.32.1
|
||||
* fix:support for py3.7 #423
|
||||
* fix:`xpending_range` to return all 4 required fields
|
||||
per Redis spec @zzstoatzz #427
|
||||
* fix[TcpFakeServer]: add exception prefix #432
|
||||
* Update tests to support redis-py 7.0.1
|
||||
* Update tests to support valkey 9.0.0
|
||||
- Update BuildRequires from pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 3 04:58:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.32.0:
|
||||
* Features
|
||||
+ add support for nx/xx/gt/lt options for expireat/pexpire/pexpireat
|
||||
* Bug Fixes
|
||||
+ fix:removing use of self.protocol to support redis-py < 5
|
||||
+ fix:race condition due to closing socket in
|
||||
TCPFakeRequestHandler:finish
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 08:12:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 2.31.2
|
||||
* Add native cjson support for lua redis scripts
|
||||
* version init argument typing
|
||||
* include lib_name and lib_version in FakeBaseConnectionMixin
|
||||
* when using FakeValkey, raise valkey.ResponseError instead of
|
||||
redis.ResponseError
|
||||
* fix issue with pytest-asyncio
|
||||
* Sending lib_name and lib_version only when relevant
|
||||
* many fixes in TcpFakeServer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 11:41:38 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fakeredis
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-fakeredis
|
||||
Version: 2.30.1
|
||||
Version: 2.32.1
|
||||
Release: 0
|
||||
Summary: Fake implementation of redis API for testing purposes
|
||||
License: BSD-3-Clause AND MIT
|
||||
@@ -32,7 +32,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-redis >= 4
|
||||
Requires: python-sortedcontainers >= 2.4.0
|
||||
Suggests: python-lupa >= 1.14
|
||||
Suggests: python-lupa >= 2.1
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module hypothesis >= 6.56}
|
||||
@@ -41,6 +41,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 valkey >= 6}
|
||||
BuildRequires: redis
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -61,12 +62,18 @@ Fake implementation of redis API for testing purposes.
|
||||
%check
|
||||
export LANG="en_US.UTF8"
|
||||
%{_sbindir}/redis-server --port 6390 --save &
|
||||
%pytest -m "not slow"
|
||||
# Lag is not -1
|
||||
donttest="test_zrank_redis7_2 or test_zrevrank_redis7_2"
|
||||
donttest+=" or test_xgroup_setid_redis7"
|
||||
# Raises unknown command errors
|
||||
donttest+=" or (test_save and (StrictRedis2 or StrictRedis3))"
|
||||
donttest+=" or (test_raises_valkey_response_error and FakeStrictRedis)"
|
||||
%pytest -m "not slow" -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/fakeredis
|
||||
%{python_sitelib}/fakeredis-%{version}*-info
|
||||
%{python_sitelib}/fakeredis-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user