Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-redis for openSUSE:Factory 
checked in at 2023-10-24 20:07:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-redis (Old)
 and      /work/SRC/openSUSE:Factory/.python-redis.new.24901 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-redis"

Tue Oct 24 20:07:42 2023 rev:35 rq:1119872 version:5.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-redis/python-redis.changes        
2023-05-30 22:02:08.774905566 +0200
+++ /work/SRC/openSUSE:Factory/.python-redis.new.24901/python-redis.changes     
2023-10-24 20:07:45.439215983 +0200
@@ -1,0 +2,111 @@
+Mon Oct 23 10:42:41 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Add pytest.ini source needed to run tests
+- Remove/disable broken tests because of suse environment
+
+-------------------------------------------------------------------
+Fri Oct 20 09:55:28 UTC 2023 - Marcus Rueckert <[email protected]>
+
+- drop tox.ini. seems it does no longer exist in 5.0.1
+- add support to easily disable the testsuite at build time
+
+-------------------------------------------------------------------
+Fri Oct 20 09:38:34 UTC 2023 - Marcus Rueckert <[email protected]>
+
+- update to 5.0.1
+  - 🚀 New Features
+    - Provide aclose() / close() for classes requiring lifetime
+      management (#2898)
+    - Add support for ModuleCommands in cluster (#2951)
+    - Add support for multiple values in RPUSHX (#2949)
+    - Add Redis.from_pool() class method, for explicitly owning and
+      closing a ConnectionPool (#2913)
+  - 🐛 Bug Fixes
+    - Fixing monitor parsing for messages containing specific
+      substrings (#2950)
+    - Cluster determine slot command name need to be upper (#2919)
+    - Support timeout = 0 in search query (#2934)
+    - Fix async sentinel: add push_request keyword argument to
+      read_response (#2922)
+    - Fix protocol checking for search commands (#2923)
+    - Fix: SentinelManagedConnection.read_response() got an
+      unexpected keyword argument 'push_request' (#2894)
+    - Fix: automatically close connection pool for async Sentinel
+      (#2900)
+    - Save a reference to created async tasks, to avoid tasks
+      potentially disappearing (#2816)
+    - Avoid reference cycling by the garbage collector during
+      response reading (#2932)
+  - 🧰 Maintenance
+    - Type hint improvements (#2952)
+    - Replace clear_connect_callbacks with
+      _deregister_connect_callback (#2955)
+    - Async fixes, remove del and other things (#2870)
+    - Add pagination, sorting and grouping examples to search json
+      example (#2890)
+    - Remove process-id checks from asyncio. Asyncio and fork()
+      does not mix. (#2911)
+    - Fix resource usage and cleanup Mocks in the unit tests
+      (#2936)
+    - Remove mentions of tox (#2929)
+    - Add 7.2 to supported Redis versions (#2896)
+    - Fix resource warnings in unit tests (#2899)
+    - Fix typo in redis-stream-example.ipynb (#2918)
+    - Deprecate RedisGraph (#2927)
+    - Fix redis 7.2.0 tests (#2902)
+    - Fix test_scorer (search) (#2920)
+- changes from 5.0.0
+  - What's new?
+    - Triggers and Functions support Triggers and Functions allow
+      you to execute server-side functions triggered when key
+      values are modified or created in Redis, a stream entry
+      arrival, or explicitly calling them. Simply put, you can
+      replace Lua scripts with easy-to-develop JavaScript or
+      TypeScript code. Move your business logic closer to the data
+      to ensure a lower latency, and forget about updating
+      dependent key values manually in your code. Try it for
+      yourself with Quick start
+    - Full Redis 7.2 and RESP3 support
+    - Python 3.7 End-of-Life
+      - Python 3.7 has reached its end-of-life (EOL) as of June
+        2023. This means that starting from this date, Python 3.7
+        will no longer receive any updates, including security
+        patches, bug fixes, or improvements. If you continue to use
+        Python 3.7 post-EOL, you may expose your projects and
+        systems to potential security vulnerabilities. We ended its
+        support in this version and strongly recommend migrating to
+        Python 3.10.
+  - 🐛 Bug Fixes
+    - Fix timeout retrying on pipeline execution (#2812)
+    - Fix socket garbage collection (#2859)
+  - 🧰 Maintenance
+    - Updating client license to clear, MIT (#2884)
+    - Add py.typed in accordance with PEP-561 (#2738)
+    - Dependabot label change (#2880)
+    - Fix type hints in SearchCommands (#2817)
+    - Add sync modules (except search) tests to cluster CI (#2850)
+    - Fix a duplicate word in CONTRIBUTING.md (#2848)
+    - Fixing doc builds (#2869)
+    - Change cluster docker to edge and enable debug command
+      (#2853)
+- changes from 4.6.0
+  - 🧪 Experimental Features
+    - Support JSON.MERGE command (#2761)
+    - Support JSON.MSET command (#2766)
+  - 🚀 New Features
+    - Extract abstract async connection class (#2734)
+    - Add support for WAITAOF (#2760)
+    - Introduce OutOfMemoryError exception for Redis write command rejections 
due to OOM errors (#2778)
+    - Add WITHSCORE argument to ZRANK (#2758)
+  - 🐛 Bug Fixes
+    - Fix dead weakref in sentinel connection causing ReferenceError (#2767) 
(#2771)
+    - Fix Key Error in parse_xinfo_stream (#2788)
+    - Remove unnecessary __del__ handlers (#2755)
+    - Added support for missing argument to 
SentinelManagedConnection.read_response() (#2756)
+  - 🧰 Maintenance
+    - Fix type hint for retry_on_error in async cluster (#2804)
+    - Clean up documents and fix some redirects (#2801)
+    - Add unit tests for the connect method of all Redis connection classes 
(#2631)
+    - Docstring formatting fix (#2796)
+
+-------------------------------------------------------------------
@@ -635,0 +747,5 @@
+
+-------------------------------------------------------------------
+Tue Feb 19 17:50:40 UTC 2019 - Marcus Rueckert <[email protected]>
+
+- downgrade requires for redis to recommends

Old:
----
  redis-4.5.5.tar.gz
  tox.ini

New:
----
  pytest.ini
  redis-5.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-redis.spec ++++++
--- /var/tmp/diff_new_pack.4Te0P6/_old  2023-10-24 20:07:46.055238380 +0200
+++ /var/tmp/diff_new_pack.4Te0P6/_new  2023-10-24 20:07:46.059238525 +0200
@@ -16,15 +16,17 @@
 #
 
 
+%bcond_without testing
+
 %{?sle15_python_module_pythons}
 Name:           python-redis
-Version:        4.5.5
+Version:        5.0.1
 Release:        0
 Summary:        Python client for Redis key-value store
 License:        MIT
 URL:            https://github.com/redis/redis-py
 Source0:        
https://files.pythonhosted.org/packages/source/r/redis/redis-%{version}.tar.gz
-Source1:        https://github.com/redis/redis-py/raw/v%{version}/tox.ini
+Source1:        https://raw.githubusercontent.com/redis/redis-py/5.0/pytest.ini
 BuildRequires:  %{python_module async-timeout >= 4.0.2}
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module packaging}
@@ -35,10 +37,12 @@
 BuildRequires:  fdupes
 BuildRequires:  psmisc
 BuildRequires:  python-rpm-macros
+%if %{with testing}
 BuildRequires:  redis
+%endif
 Requires:       python-async-timeout >= 4.0.2
-Requires:       redis
 Recommends:     python-hiredis >= 1.0.0
+Recommends:     redis
 BuildArch:      noarch
 %python_subpackages
 
@@ -47,8 +51,18 @@
 
 %prep
 %autosetup -p1 -n redis-%{version}
-# tox.ini for pytest markers
-cp %{SOURCE1} .
+# pytest.ini for pytest markers
+cp %SOURCE1 .
+
+# This test passes locally but fails in obs with different
+# environment, like ALP build...
+rm tests/test_commands.py*
+# The openSUSE redis json, bloom, 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
 
 %build
 %python_build
@@ -57,6 +71,7 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with testing}
 %check
 # upstream's tox testsuite starts several servers in docker containers 
listening on different ports.
 # We just start two of them locally
@@ -80,9 +95,12 @@
   # reference precision issues on 32-bit
   donttest=" or test_geopos"
 fi
-# gh#redis/redis-py#2554 and gh#redis/redis-py#2679
-donttest="$donttest or test_xautoclaim or test_acl_list"
-%pytest -m 'not (onlycluster or redismod)' -k "not (dummyprefix $donttest)" 
--ignore tests/test_ssl.py --ignore tests/test_asyncio/test_cluster.py 
--redis-url=redis://localhost:6379/
+# gh#redis/redis-py#2554
+donttest="$donttest or test_xautoclaim"
+# gh#redis/redis-py#2679
+donttest+=" or test_acl_getuser_setuser or test_acl_log"
+%pytest -m 'not (onlycluster or redismod or ssl)' -k "not (dummyprefix 
$donttest)" --ignore tests/test_ssl.py --ignore 
tests/test_asyncio/test_cluster.py --redis-url=redis://localhost:6379/
+%endif
 
 %files %{python_files}
 %license LICENSE

++++++ pytest.ini ++++++
[pytest]
addopts = -s
markers =
    redismod: run only the redis module tests
    pipeline: pipeline tests
    onlycluster: marks tests to be run only with cluster mode redis
    onlynoncluster: marks tests to be run only with standalone redis
    ssl: marker for only the ssl tests
    asyncio: marker for async tests
    replica: replica tests
    experimental: run only experimental tests
asyncio_mode = auto
timeout = 30

++++++ redis-4.5.5.tar.gz -> redis-5.0.1.tar.gz ++++++
++++ 27980 lines of diff (skipped)

Reply via email to