Commit Graph

41 Commits

Author SHA256 Message Date
Dominique Leuenberger
b0631d4be4 Accepting request 690298 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/690298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=21
2019-04-04 10:01:17 +00:00
Tomáš Chvátal
1e04efcf63 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
Dominique Leuenberger
6374af49a2 Accepting request 688630 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/688630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=20
2019-03-28 21:48:18 +00:00
Tomáš Chvátal
392532f780 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
Yuchen Lin
86cf3a1c1c Accepting request 676986 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=19
2019-02-19 11:00:38 +00:00
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
Dominique Leuenberger
a80a8d0650 Accepting request 649608 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/649608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=18
2018-11-26 09:22:25 +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
Yuchen Lin
38b1bbe888 Accepting request 635475 from devel:languages:python
- 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/request/show/635475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=17
2018-09-13 22:01:36 +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
Dominique Leuenberger
eaf5c3d575 Accepting request 631998 from devel:languages:python
- Run tests by launching redis server
- Require redis on runtime

OBS-URL: https://build.opensuse.org/request/show/631998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=16
2018-08-29 10:26:51 +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
Dominique Leuenberger
a4d887c569 Accepting request 530853 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/530853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=15
2017-10-05 09:58:13 +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
Dominique Leuenberger
90aedef6d8 Accepting request 507111 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=14
2017-07-05 22:01:26 +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
Dominique Leuenberger
89a24cc35d Accepting request 441394 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/441394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=13
2016-12-07 23:30:19 +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
Stephan Kulow
e97c29c8f3 Accepting request 247253 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/247253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=12
2014-09-03 06:30:19 +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
Stephan Kulow
ac5671162c Accepting request 208186 from 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. (forwarded request 208185 from posophe)

OBS-URL: https://build.opensuse.org/request/show/208186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=10
2013-11-25 15:03:31 +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
Stephan Kulow
b927205009 Accepting request 186099 from devel:languages:python
- Use upstream source URL

- added requirement python-py
- Update to 2.7.6:
  * Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb.
  * Fixed a bug introduced in 2.7.3 that caused issues with script objects
    and pipelines. Thanks Carpentier Pierre-Francois.
  * Converted redis-py's test suite to use the awesome py.test library.
  * Fixed a bug introduced in 2.7.5 that prevented a ConnectionError from
    being raised when the Redis server is LOADING data.
  * Added a BusyLoadingError exception that's raised when the Redis server
    is starting up and not accepting commands yet. BusyLoadingError
    subclasses ConnectionError, which this state previously returned.
    Thanks Yossi Gottlieb.
- Changes in 2.7.5:
  * DEL, HDEL and ZREM commands now return the numbers of keys deleted
    instead of just True/False.
  * from_url now supports URIs with a port number. Thanks Aaron Westendorf.
- Changes in 2.7.4:
  * Added missing INCRBY method. Thanks Krzysztof Dorosz.
  * SET now accepts the EX, PX, NX and XX options from Redis 2.6.12. These
    options will generate errors if these options are used when connected
    to a Redis server < 2.6.12. Thanks George Yoshida.
- Changes in 2.7.3:
  * Fixed a bug with BRPOPLPUSH and lists with empty strings.
  * All empty except: clauses have been replaced to only catch Exception
    subclasses. This prevents a KeyboardInterrupt from triggering exception
    handlers. Thanks Lucian Branescu Mihaila.
  * All exceptions that are the result of redis server errors now share a
    command Exception subclass, ServerError. Thanks Matt Robenolt.

OBS-URL: https://build.opensuse.org/request/show/186099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=8
2013-08-07 18:53:11 +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
Stephan Kulow
7e9b94deb5 Accepting request 132594 from devel:languages:python
Update to 2.6.2.  Note: python3 now supported, should we do anything with that? (forwarded request 132435 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/132594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=6
2012-09-06 07:02:03 +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
Stephan Kulow
fc87e0da70 Accepting request 123374 from devel:languages:python
Updated to version 2.4.13 (forwarded request 123315 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/123374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=4
2012-06-05 13:34:55 +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
Stephan Kulow
d922addafa Accepting request 102985 from devel:languages:python
Update to 2.4.11. (forwarded request 102956 from aledr)

OBS-URL: https://build.opensuse.org/request/show/102985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-redis?expand=0&rev=3
2012-02-14 10:26:39 +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