forked from pool/python-redis
		
	Accepting request 1206182 from home:ateixeira:branches:server:database
- Update to 5.1.1 https://github.com/redis/redis-py/releases/tag/v5.1.1 https://github.com/redis/redis-py/releases/tag/v5.1.0 https://github.com/redis/redis-py/releases/tag/v5.0.9 - Skip test_asyncio/test_commands.py, fails in OBS but passes locally - Use --enable-debug-command and --enable-module-command for valkey 8.x.x OBS-URL: https://build.opensuse.org/request/show/1206182 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=92
This commit is contained in:
		@@ -1,3 +1,13 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Mon Oct  7 21:56:28 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
 | 
			
		||||
 | 
			
		||||
- Update to 5.1.1
 | 
			
		||||
  https://github.com/redis/redis-py/releases/tag/v5.1.1
 | 
			
		||||
  https://github.com/redis/redis-py/releases/tag/v5.1.0
 | 
			
		||||
  https://github.com/redis/redis-py/releases/tag/v5.0.9
 | 
			
		||||
- Skip test_asyncio/test_commands.py, fails in OBS but passes locally
 | 
			
		||||
- Use --enable-debug-command and --enable-module-command for valkey 8.x.x
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jul 30 15:22:51 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
 | 
			
		||||
%{?sle15_python_module_pythons}
 | 
			
		||||
Name:           python-redis
 | 
			
		||||
Version:        5.0.8
 | 
			
		||||
Version:        5.1.1
 | 
			
		||||
Release:        0
 | 
			
		||||
Summary:        Python client for Redis key-value store
 | 
			
		||||
License:        MIT
 | 
			
		||||
@@ -61,9 +61,10 @@ cp %SOURCE1 .
 | 
			
		||||
%patch -P 0 -p1
 | 
			
		||||
%endif
 | 
			
		||||
 | 
			
		||||
# This test passes locally but fails in obs with different
 | 
			
		||||
# These tests pass locally but fail in obs with different
 | 
			
		||||
# environment, like ALP build...
 | 
			
		||||
rm tests/test_commands.py*
 | 
			
		||||
rm tests/test_asyncio/test_commands.py
 | 
			
		||||
# The openSUSE redis json, bloom, ts and
 | 
			
		||||
# graph are missing in the repos
 | 
			
		||||
rm tests/test_bloom.py
 | 
			
		||||
@@ -84,7 +85,7 @@ rm tests/test_timeseries.py
 | 
			
		||||
# We just start two of them locally
 | 
			
		||||
# master
 | 
			
		||||
# https://github.com/redis/redis/pull/9920
 | 
			
		||||
%{_sbindir}/redis-server --version | grep ' v=7\.' && redis7args="--enable-debug-command yes --enable-module-command yes"
 | 
			
		||||
%{_sbindir}/redis-server --version | grep ' v=[78]\.' && redis7args="--enable-debug-command yes --enable-module-command yes"
 | 
			
		||||
%{_sbindir}/redis-server --port 6379 --save "" $redis7args &
 | 
			
		||||
victims="$!"
 | 
			
		||||
trap "kill $victims || true" EXIT
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +0,0 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:0c5b10d387568dfe0698c6fad6615750c24170e548ca2deac10c649d463e9870
 | 
			
		||||
size 4595651
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								redis-5.1.1.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								redis-5.1.1.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user