Commit Graph

25 Commits

Author SHA256 Message Date
Tomáš Chvátal
3c70d723e8 Accepting request 750899 from home:apersaud:branches:devel:languages:python
Added changes as requested in SR#750614. Hope I understood the comments there correctly.

- specfile:
  * be more specifc in %files section
- update to version 3.3.11:
  * Further fix for the SSLError -> TimeoutError mapping to work on
    obscure releases of Python 2.7.
- changes from version 3.3.10:
  * Fixed a potential error handling bug for the SSLError ->
    TimeoutError mapping introduced in 3.3.9. hanks @zbristow. #1224
- changes from version 3.3.9:
  * Mapped Python 2.7 SSLError to TimeoutError where
    appropriate. Timeouts should now consistently raise TimeoutErrors
    on Python 2.7 for both unsecured and secured connections. Thanks
    @zbristow. #1222

OBS-URL: https://build.opensuse.org/request/show/750899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=48
2019-11-29 09:45:14 +00:00
Tomáš Chvátal
4027e3a301 - Update to 3.3.8:
* Fixed MONITOR parsing to properly parse IPv6 client addresses
  * Fixed a regression introduced in 3.3.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=46
2019-09-10 10:56:52 +00:00
Tomáš Chvátal
aceb7f66bc Accepting request 722636 from home:mcalabkova:branches:devel:languages:python
- Update to v3.3.6
  * Resolve a race condition with the PubSubWorkerThread. #1150
  * Response callbacks are now case insensitive.
  * Added support for hiredis-py 1.0.0 encoding error support.
  * Add READONLY and READWRITE commands.
  * Added extensive health checks that keep the connections lively.
  * Many more changes, see upstream changelog.

OBS-URL: https://build.opensuse.org/request/show/722636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=44
2019-08-12 10:15:23 +00:00
Tomáš Chvátal
bfb1185730 - Update to 3.2.0 bsc#1131555:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=42
2019-04-15 10:12:22 +00:00
Tomáš Chvátal
46e9836dc2 Accepting request 690168 from home:jayvdb:django
- Add missing build dependency setuptools

OBS-URL: https://build.opensuse.org/request/show/690168
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=40
2019-04-01 09:04:18 +00:00
Tomáš Chvátal
728f79cd08 Accepting request 688628 from home:jayvdb:django
- Update to v3.2.1
  * Fix SentinelConnectionPool to work in multiprocess/forked
    environments

OBS-URL: https://build.opensuse.org/request/show/688628
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=38
2019-03-26 09:41:16 +00:00
e6278448bb Accepting request 676978 from home:sebix:branches:devel:languages:python
- Update to 3.2.0:
    * Added support for `select.poll` to test whether data can be read
      on a socket. This should allow for significantly more connections to
      be used with pubsub. Fixes #486/#1115
    * Attempt to guarentee that the ConnectionPool hands out healthy
      connections. Healthy connections are those that have an established
      socket connection to the Redis server, are ready to accept a command
      and have no data available to read. Fixes #1127/#886
    * Use the socket.IPPROTO_TCP constant instead of socket.SOL_TCP.
      IPPROTO_TCP is available on more interpreters (Jython for instance).
      Thanks @Junnplus. #1130
    * Fixed a regression introduced in 3.0 that mishandles exceptions not
      derived from the base Exception class. KeyboardInterrupt and
      gevent.timeout notable. Thanks Christian Fersch. #1128/#1129
    * Significant improvements to handing connections with forked processes.
      Parent and child processes no longer trample on each others' connections.
      Thanks to Jay Rolette for the patch and highlighting this issue.
      #504/#732/#784/#863
    * PythonParser no longer closes the associated connection's socket. The
      connection itself will close the socket. #1108/#1085

OBS-URL: https://build.opensuse.org/request/show/676978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=36
2019-02-18 09:39:32 +00:00
Tomáš Chvátal
83cf28ebbc - Update to 3.1.0:
* Connection URLs must have one of the following schemes:
      redis://, rediss://, unix://. Thanks @jdupl123. #961/#969
    * Fixed an issue with retry_on_timeout logic that caused some TimeoutErrors
      to be retried. Thanks Aaron Yang. #1022/#1023
    * Added support for SNI for SSL. Thanks @oridistor and Roey Prat. #1087
    * Fixed ConnectionPool repr for pools with no connections. Thanks
      Cody Scott. #1043/#995
    * Fixed GEOHASH to return a None value when specifying a place that
      doesn't exist on the server. Thanks @guybe7. #1126
    * Fixed XREADGROUP to return an empty dictionary for messages that
      have been deleted but still exist in the unacknowledged queue. Thanks
      @xeizmendi. #1116
    * Added an owned method to Lock objects. owned returns a boolean
      indicating whether the current lock instance still owns the lock.
      Thanks Dave Johansen. #1112
    * Allow lock.acquire() to accept an optional token argument. If
      provided, the token argument is used as the unique value used to claim
      the lock. Thankd Dave Johansen. #1112
    * Added a reacquire method to Lock objects. reaquire attempts to renew
      the lock such that the timeout is extended to the same value that the
      lock was initially acquired with. Thanks Ihor Kalnytskyi. #1014
    * Stream names found within XREAD and XREADGROUP responses now properly
      respect the decode_responses flag.
    * XPENDING_RANGE now requires the user the specify the min, max and
      count arguments. Newer versions of Redis prevent ount from being
      infinite so it's left to the user to specify these values explicitly.
    * ZADD now returns None when xx=True and incr=True and an element
      is specified that doesn't exist in the sorted set. This matches
      what the server returns in this case. #1084

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=35
2019-02-15 11:46:31 +00:00
Todd R
672bdbe9c3 Accepting request 649543 from home:sebix:branches:devel:languages:python
- add recommendation for python-hiredis as requested by @mimi_vx in Request#649524

OBS-URL: https://build.opensuse.org/request/show/649543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=33
2018-11-16 15:02:25 +00:00
Tomáš Chvátal
24cdc4f801 Accepting request 649524 from home:sebix:branches:devel:languages:python
- update to version 3.0.1:
- update to version 3.0.0:

OBS-URL: https://build.opensuse.org/request/show/649524
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=32
2018-11-16 10:20:02 +00:00
Tomáš Chvátal
92fa93d609 - Add patch redis-skip-rounding.patch to fix rounding issues with
geolocation, it is not stable enought o produce pinpoint equal
  results among 32bit platforms

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=30
2018-09-13 07:54:53 +00:00
Tomáš Chvátal
055df012fd - Run tests by launching redis server
- Require redis on runtime

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=28
2018-08-28 14:25:43 +00:00
Jan Matejek
20db2ed549 Accepting request 530625 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/530625
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=26
2017-10-03 11:54:57 +00:00
Jan Matejek
1f2863d733 Accepting request 506890 from home:benoit_monin:branches:devel:languages:python
convert the package to singlespec

OBS-URL: https://build.opensuse.org/request/show/506890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=24
2017-06-29 15:29:54 +00:00
d3334da2f5 - update to 2.10.5:
* Allow URL encoded parameters in Redis URLs. Characters like a "/" can
    now be URL encoded and redis-py will correctly decode them. Thanks
  * Added support for the WAIT command. Thanks https://github.com/eshizhan
  * Better shutdown support for the PubSub Worker Thread. It now properly
    cleans up the connection, unsubscribes from any channels and patterns
    previously subscribed to and consumes any waiting messages on the socket.
  * Added the ability to sleep for a brief period in the event of a
    WatchError occuring. Thanks Joshua Harlow.
  * Fixed a bug with pipeline error reporting when dealing with characters
    in error messages that could not be encoded to the connection's
    character set. Thanks Hendrik Muhs.
  * Fixed a bug in Sentinel connections that would inadvertantly connect
    to the master when the connection pool resets. Thanks
    https://github.com/df3n5
  * Better timeout support in Pubsub get_message. Thanks Andy Isaacson.
  * Fixed a bug with the HiredisParser that would cause the parser to
     get stuck in an endless loop if a specific number of bytes were
    delivered from the socket. This fix also increases performance of
     parsing large responses from the Redis server.
   * Added support for ZREVRANGEBYLEX.
   * ConnectionErrors are now raised if Redis refuses a connection due to
     the maxclients limit being exceeded. Thanks Roman Karpovich.
   * max_connections can now be set when instantiating client instances.
     Thanks Ohad Perry.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=22
2016-11-15 12:37:13 +00:00
Todd R
30d0eef5b1 Accepting request 247252 from home:TheBlackCat:branches:devel:languages:python
Update to version 2.10.3

OBS-URL: https://build.opensuse.org/request/show/247252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=20
2014-09-02 16:38:54 +00:00
Denisart Benjamin
616ba5a85b Accepting request 208185 from home:posophe:branches:devel:languages:python
- Update to version 2.8
  + redis-py should play better with gevent when a gevent Timeout is raised.
  + Added SENTINEL command
  + Fixed a bug where pipelines could potentially correct a connection
    if the MULTI command generated a ResponseError.
  + Connections now call socket.shutdown() prior to socket.close() to
    ensure communication ends immediately per the note at
    http://docs.python.org/2/library/socket.html#socket.socket.close
  + Lock checks are now based on floats rather than ints.

OBS-URL: https://build.opensuse.org/request/show/208185
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=18
2013-11-24 19:05:59 +00:00
Sascha Peilicke
e132e21116 - Use upstream source URL
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=16
2013-08-06 12:36:23 +00:00
Sascha Peilicke
9f407b3c74 Accepting request 185593 from home:cberendt:branches:devel:languages:python
updated to latest available version and added missing requirement

OBS-URL: https://build.opensuse.org/request/show/185593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=15
2013-08-05 09:30:25 +00:00
Todd R
9201cdbabf Accepting request 132435 from home:poorboywilly:branches:devel:languages:python
Update to 2.6.2.  Note: python3 now supported, should we do anything with that?

OBS-URL: https://build.opensuse.org/request/show/132435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=13
2012-09-05 07:51:37 +00:00
Todd R
3b20c1aca9 Accepting request 123315 from home:poorboywilly:branches:devel:languages:python
Updated to version 2.4.13

OBS-URL: https://build.opensuse.org/request/show/123315
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=11
2012-06-03 15:03:52 +00:00
Sascha Peilicke
95f5b0ee14 Accepting request 102956 from home:aledr:branches
Update to 2.4.11.

OBS-URL: https://build.opensuse.org/request/show/102956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=9
2012-02-07 08:59:29 +00:00
Sascha Peilicke
80a15daa4b - Update to version 2.4.9:
* Removed socket retry logic in Connection. This is the responsbility of
    the caller to determine if the command is safe and can be retried. Thanks
    David Wolver.
  * Added some extra guards around various types of exceptions being raised
    when sending or parsing data. Thanks David Wolver and Denis Bilenko.
- See file CHANGES for previous versions...
- Update to version 2.2.4:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=6
2011-09-23 12:14:33 +00:00
Alexandre Rogoski
6cc480a10c Accepting request 69954 from home:saschpe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/69954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=5
2011-05-11 00:12:49 +00:00
Pavol Rusnak
fd4987d4af init
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=1
2010-03-07 22:28:01 +00:00