Switch buildrequire redis to redis5

(cherry picked from commit 4cc5cf1f075e3e12df29c61af45ca8a91b8b53bc)
This commit is contained in:
starlet-dx 2025-03-27 16:30:22 +08:00 committed by openeuler-sync-bot
parent 4a9e4635f2
commit f9dc2b04a2
2 changed files with 37 additions and 4 deletions

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-redis
Version: 4.6.0
Release: 1
Version: 5.2.0
Release: 2
Summary: Python client for Redis key-value store
License: MIT
URL: https://github.com/redis/redis-py
Source0: https://files.pythonhosted.org/packages/73/88/63d802c2b18dd9eaa5b846cbf18917c6b2882f20efda398cc16a7500b02c/redis-4.6.0.tar.gz
Source0: https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
Source1: redis.conf
BuildArch: noarch
%description
@ -21,7 +21,8 @@ BuildRequires: python3-py
BuildRequires: python3-pytest
BuildRequires: python3-pytest-asyncio
BuildRequires: python3-mock
BuildRequires: redis
BuildRequires: redis5
BuildRequires: python3-numpy
Requires: python3-async-timeout
Requires: python3-importlib-metadata
Requires: python3-typing-extensions
@ -36,6 +37,11 @@ The Python interface to the Redis key-value store.
%prep
%autosetup -n redis-%{version}
rm tests/test_commands.py
rm tests/test_bloom.py
rm tests/test_graph.py
rm tests/test_timeseries.py
%build
%py3_build
@ -100,6 +106,32 @@ kill %1
%{_docdir}/*
%changelog
* Thu Mar 13 2025 yaoxin <1024769339@qq.com> - 5.2.0-2
- Switch buildrequire redis to redis5
* Tue Nov 05 2024 lixiaoyong <lixiaoyong@kylinos.cn> - 5.2.0-1
- Upgrade version to 5.2.0
Extend AggregateRequest with scorer argument
Pin pytest-profiling version
* Sun Sep 29 2024 yaoxin <yao_xin001@hoperun.com> - 5.1.0-1
- Update to 5.1.0
- Bug Fixes:
* Handle RESP3 sets as Python lists (#3324)
* Prevent async ClusterPipeline instances from becoming "false-y" (#3068)
* Add hostname field to _parse_node_line (#3343)
* More docs fixes (#3326)
* Delete the first-defined (and thus "duplicate") Script class (#3333)
* Catch a known DeprecationWarning when calling .close() (#3335)
* Add missed redismod at test_commands.py (#3369)
- Breaking Changes:
* Timeseries insertion filters for close samples (#3228)
* Enhanced classes string representation (#3001)
* Partial clean up of Python 3.7 compatibility (#2928)
* Thu Jun 27 2024 wulei <wu_lei@hoperun.com> - 5.0.1-1
- Update package to version 5.0.1
* Thu Jul 13 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 4.6.0-1
- Update package to version 4.6.0
@ -117,3 +149,4 @@ kill %1
* Mon Jan 6 2020 qinjian <qinjian18@huawei.com> - 2.10.6-6
- Package init