Commit Graph

24 Commits

Author SHA256 Message Date
Thomas Bechtold
2df149d0c1 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
a7a56ab3ae - 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
f62398c5be 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
901058bff2 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
b5f7a3b1e7 - 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
b4b0ff3dc1 - 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
61b20cdbcc 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
6985d50ffe 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
d13562cd38 - 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
2788fb2d31 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
8ea62ebe80 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
a1fa41d610 - 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
fa4355b4f4 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
6a38f13732 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
5abcd06fb5 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
de9d4b6eb7 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
Pascal Bleser
3afb975b0f remove %debug_package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=8
2011-12-12 09:06:34 +00:00
Stephan Kulow
5193e22ec0 Accepting request 93475 from devel:languages:python
Dependency for OpenStack packages.

OBS-URL: https://build.opensuse.org/request/show/93475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=1
2011-11-28 17:27:13 +00:00
Sascha Peilicke
effae7ad7b - 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
b36c4ca773 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
6f633441cb add docs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=4
2010-03-09 13:59:48 +00:00
Pavol Rusnak
1d68b7ad56 url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=3
2010-03-09 13:42:14 +00:00
Pavol Rusnak
69a8b70908 fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=2
2010-03-07 22:31:52 +00:00
Pavol Rusnak
d56c30fba0 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