!33 [sync] PR-31: Switch buildrequire redis to redis5 and Sync code

From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2025-03-27 12:05:03 +00:00 committed by Gitee
commit 486fccf328
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 37 additions and 4 deletions

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-redis Name: python-redis
Version: 4.6.0 Version: 5.2.0
Release: 1 Release: 2
Summary: Python client for Redis key-value store Summary: Python client for Redis key-value store
License: MIT License: MIT
URL: https://github.com/redis/redis-py 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 Source1: redis.conf
BuildArch: noarch BuildArch: noarch
%description %description
@ -21,7 +21,8 @@ BuildRequires: python3-py
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-asyncio
BuildRequires: python3-mock BuildRequires: python3-mock
BuildRequires: redis BuildRequires: redis5
BuildRequires: python3-numpy
Requires: python3-async-timeout Requires: python3-async-timeout
Requires: python3-importlib-metadata Requires: python3-importlib-metadata
Requires: python3-typing-extensions Requires: python3-typing-extensions
@ -36,6 +37,11 @@ The Python interface to the Redis key-value store.
%prep %prep
%autosetup -n redis-%{version} %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 %build
%py3_build %py3_build
@ -100,6 +106,32 @@ kill %1
%{_docdir}/* %{_docdir}/*
%changelog %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 * Thu Jul 13 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 4.6.0-1
- Update package to version 4.6.0 - 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 * Mon Jan 6 2020 qinjian <qinjian18@huawei.com> - 2.10.6-6
- Package init - Package init