Revisions of python-redis

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1139023 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 38)
- add https://github.com/redis/redis-py/pull/3005 as
  Close-various-objects-created-during-asyncio-tests.patch
  to fix tests for python 3.12

      potential data leak in specific cases. (CVE-2023-28858, bsc#1209811)
  * Better error handling
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1136240 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 37)
- Add patch to increase timeouts in s390x where tests take longer
  to run:
  * increase-test-timeout.patch
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1124036 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 36)
Automatic submission by obs-autosubmit
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1119872 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 35)
- Add pytest.ini source needed to run tests
- Remove/disable broken tests because of suse environment
- drop tox.ini. seems it does no longer exist in 5.0.1
- add support to easily disable the testsuite at build time
- 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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1080032 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 32)
- Update to 4.5.4:
  * Security
    + Cancelling an async future does not, properly trigger, leading to a
      potential data leak in specific cases. (CVE-2023-28858, bsc#1209811) 
    + Cancelling an async future does not, properly trigger, leading to a
      potential data leak in specific cases. (CVE-2023-28859, bsc#1209812)
  * New Features
    + Introduce AbstractConnection so that UnixDomainSocketConnection can
      call super().init (#2588)
    + Added queue_class to REDIS_ALLOWED_KEYS (#2577)
    + Made search document subscriptable (#2615)
    + Sped up the protocol parsing (#2596)
    + Use hiredis::pack_command to serialized the commands. (#2570)
    + Add support for unlink in cluster pipeline (#2562)
  * Bug Fixes
    + Fixing cancelled async futures (#2666)
    + Fix: do not use asyncio's timeout lib before 3.11.2 (#2659)
    + Fix UDS in v4.5.2: UnixDomainSocketConnection missing constructor
      argument (#2630)
    + CWE-404 AsyncIO Race Condition Fix (#2624, #2579)
    + Fix behaviour of async PythonParser to match RedisParser as for
      issue #2349 (#2582)
    + Replace async_timeout by asyncio.timeout (#2602)
    + Update json().arrindex() default values (#2611)
    + Fix #2581 UnixDomainSocketConnection object has no attribute
      _command_packer (#2583)
    + Fix issue with pack_commands returning an empty byte sequence (#2416)
    + Async HiredisParser should finish parsing after a
      Connection.disconnect() (#2557)
    + Check for none, prior to raising exception (#2569)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 906638 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 30)
- Add account-defaults-redis.patch which fixes failing tests by
  taking into consideration redis defaults, not overwriting them
  (gh#andymccurdy/redis-py#1499).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 878169 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 29)
- Skipp two tests because of gh#andymccurdy/redis-py#1459.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 729802 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 24)
- Update to 3.3.8:
  * Fixed MONITOR parsing to properly parse IPv6 client addresses
  * Fixed a regression introduced in 3.3.0
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 694225 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 22)
- Update to 3.2.0 bsc#1131555:
Displaying revisions 1 - 20 of 39
openSUSE Build Service is sponsored by