import python-redis-5.1.1-3.el10

i10ce changed/i10ce/python-redis-5.1.1-3.el10
Arkady L. Shane 1 month ago
parent 7609aeb85f
commit ad664d06c6
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

22
.gitignore vendored

@ -1,21 +1 @@
/redis-2.0.0.tar.gz SOURCES/redis-py-5.1.1.tar.gz
/redis-2.2.4.tar.gz
/redis-2.4.9.tar.gz
/redis-2.7.2.tar.gz
/redis-2.7.6.tar.gz
/redis-2.9.1.tar.gz
/redis-2.10.1.tar.gz
/redis-2.10.2.tar.gz
/redis-2.10.3.tar.gz
/redis-2.10.5.tar.gz
/2.10.6.tar.gz
/3.1.0.tar.gz
/3.2.1.tar.gz
/3.3.8.tar.gz
/3.4.1.tar.gz
/3.5.3.tar.gz
/redis-py-4.1.4.tar.gz
/redis-py-4.2.1.tar.gz
/redis-py-4.2.2.tar.gz
/redis-py-4.3.1.tar.gz
/redis-py-4.3.3.tar.gz

@ -0,0 +1 @@
bac34dd413fe96a0b1013652212021b69767441f SOURCES/redis-py-5.1.1.tar.gz

@ -1,11 +1,21 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Enable tests by default. # Enable tests by default.
%bcond_without tests %bcond_without tests
%global upstream_name redis %global upstream_name redis
Name: python-%{upstream_name} Name: python-%{upstream_name}
Version: 4.3.3 Version: 5.1.1
Release: 1%{?dist} Release: %autorelease
Summary: Python interface to the Redis key-value store Summary: Python interface to the Redis key-value store
License: MIT License: MIT
URL: https://github.com/redis/redis-py URL: https://github.com/redis/redis-py
@ -15,9 +25,11 @@ BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
%if %{with tests} %if %{with tests}
BuildRequires: redis BuildRequires: valkey
BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest)
BuildRequires: python3dist(pytest-asyncio) BuildRequires: python3dist(pytest-asyncio)
BuildRequires: python3dist(pytest-timeout)
BuildRequires: python3dist(numpy)
%endif %endif
%global _description\ %global _description\
@ -27,16 +39,33 @@ This is a Python interface to the Redis key-value store.
%package -n python3-%{upstream_name} %package -n python3-%{upstream_name}
Summary: Python 3 interface to the Redis key-value store Summary: Python 3 interface to the Redis key-value store
%{?python_provide:%python_provide python3-%{upstream_name}}
%description -n python3-%{upstream_name} %description -n python3-%{upstream_name}
This is a Python 3 interface to the Redis key-value store. This is a Python 3 interface to the Redis key-value store.
%prep %prep
%setup -qn redis-py-%{version} %autosetup -n redis-py-%{version} -p1
# remove pytest filter for CoverageWarning so we don't need coverage installed
sed -e '/CoverageWarning/d' -i pytest.ini
# This test passes locally but fails in koji... # This test passes locally but fails in koji...
rm tests/test_commands.py* rm tests/test_commands.py*
rm tests/test_asyncio/test_commands.py
# Times out
rm tests/test_asyncio/test_connect.py
rm tests/test_asyncio/test_cwe_404.py
# The Fedora redis json and bloom packages are out of date, ts and graph are missing in the repos
rm tests/test_bloom.py
rm tests/test_graph.py
rm tests/test_json.py
rm tests/test_timeseries.py
rm tests/test_asyncio/test_bloom.py
rm tests/test_asyncio/test_graph.py
rm tests/test_asyncio/test_json.py
rm tests/test_asyncio/test_timeseries.py
%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires %pyproject_buildrequires
@ -50,19 +79,82 @@ rm tests/test_commands.py*
%if %{with tests} %if %{with tests}
%check %check
%if 0%{?fedora} >= 37 valkey-server --enable-debug-command yes --daemonize yes
redis-server --enable-debug-command yes &
%else
redis-server &
%endif
%pytest -m 'not onlycluster and not redismod and not ssl' %pytest -m 'not onlycluster and not redismod and not ssl'
kill %1 valkey-cli shutdown
%endif %endif
%files -n python3-%{upstream_name} -f %{pyproject_files} %files -n python3-%{upstream_name} -f %{pyproject_files}
%doc CHANGES README.md %doc CHANGES README.md
%changelog %changelog
* Tue Dec 17 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.1.1-3
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Tue Oct 22 2024 Carl George <carlwgeorge@fedoraproject.org> - 5.1.1-3
- Remove async-timeout and coverage build-time dependencies
* Tue Oct 22 2024 Carl George <carlwgeorge@fedoraproject.org> - 5.1.1-2
- Test with valkey instead of redis
* Wed Oct 09 2024 František Zatloukal <fzatlouk@redhat.com> - 5.1.1-1
- Update to 5.1.1 (RHBZ#2316483)
* Mon Sep 30 2024 František Zatloukal <fzatlouk@redhat.com> - 5.1.0-1
- Update to 5.1.0 (RHBZ#2250068)
* Mon Jul 29 2024 František Zatloukal <fzatlouk@redhat.com> - 5.0.8-1
- Update to 5.0.8
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 5.0.5-2
- Rebuilt for Python 3.13
* Fri Jun 07 2024 František Zatloukal <fzatlouk@redhat.com> - 5.0.5-1
- Update to 5.0.5
* Fri May 03 2024 František Zatloukal <fzatlouk@redhat.com> - 5.0.4-1
- Update to 5.0.4
* Mon Mar 25 2024 František Zatloukal <fzatlouk@redhat.com> - 5.0.3-1
- Update to 5.0.3
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Sep 28 2023 František Zatloukal <fzatlouk@redhat.com> - 5.0.1-1
- Update to 5.0.1
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jul 01 2023 Miro Hrončok <miro@hroncok.cz> - 4.5.1-3
- Deselect more tests :(
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.5.1-2
- Rebuilt for Python 3.12
* Mon Feb 27 2023 Kevin Fenzi <kevin@scrye.com> - 4.5.1-1
- Update to 4.5.1. Fixes rhbz#2141041
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Sep 18 2022 Kevin Fenzi <kevin@scrye.com> - 4.3.4-1
- Update to 4.3.4. Fixes rhbz#2101428
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.3.3-2
- Rebuilt for Python 3.11
* Sat Jun 11 2022 Kevin Fenzi <kevin@scrye.com> - 4.3.3-1 * Sat Jun 11 2022 Kevin Fenzi <kevin@scrye.com> - 4.3.3-1
- Update to 4.3.3. Fixes rhbz#2092458 - Update to 4.3.3. Fixes rhbz#2092458
@ -222,3 +314,5 @@ kill %1
* Sat Sep 04 2010 Silas Sewell <silas@sewell.ch> - 2.0.0-1 * Sat Sep 04 2010 Silas Sewell <silas@sewell.ch> - 2.0.0-1
- Initial build - Initial build
## END: Generated by rpmautospec

@ -1 +0,0 @@
SHA512 (redis-py-4.3.3.tar.gz) = f16e8367258c3042ab687b7435cf481a64e89acd0687f6ee5ff1babe7b0bf120300e38601e8c3c7f0d8a864774c5f77e856a0f720e9eae8bc3a1711fb342e62b
Loading…
Cancel
Save