* update tested ZK versions
* remove Python 3.7, add Python 3.11 and Python 3.12
* bump pypy to latest available
* add SSL test
* no need to specify `mock`
* remove unecessary import guard for gevent.lock
* remove string interpolation in favour of exception chaining
* remove backport of 'atexit.unregister'
* Replace usage of six for their py3 implementations
* **core:** no need to alway perform an `os.stat(fd)`
* **exceptions:** Register exception for server-side
QUOTAEXCEEDED(-125)
- Update to version 2.9.0
- Actually remove nose BuildRequires, replacing it with pytest.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=29
- Update to version 2.9.0
Chore
* migrate to setup.cfg (#666) (5f7ae483)
* ci:
testing with Python3.10 and ZK 3.5.10, 3.6.3, 3.7.1 (#659) (bd627973)
better specify how to trigger Github Actions (#658) (1ea097d5)
Replace Travis with Github Actions (8eb462f2)
* Doc
fix simple typo, untill -> until (85f1b5fc)
* Features
core: make DNS resolution error retriable (#631) (e0810242)
* Bug Fixes
core:
use selectors to poll connections instead of raw select in threading,gevent,eventlet (#656) (4042a850)
do not allow responses to choke request and ping processing (89e06603)
* recipe:
fix deadlock in r/w lock recipe (#650) (9bb84994, closes#649)
fix deprecation warning from threading.Event (569c89cd)
OBS-URL: https://build.opensuse.org/request/show/1032018
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=27
* Add create2 support
* closed states instead of lost states (#573)
**recipe:** add support for curator SharedCount recipe (#559)
* allow requests to be queued in CONNECTING state (#374) (#588)
* when connection fails, close the ConnectionHandler (#577) (#579)
* Disable JAAS isInitiator for Server
* deactivate TCP port that was enabled by default.
* capitalize the default_domain value
* prefix with toxinidir variable with a / to ensure path to ensure-zookeeper-env.sh is correct
* specify -Dfile.encoding=UTF-8 when starting the ZK JVM
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=14
- update to 2.4.0:
* add missed parens to LockingQueue function call.
* revert PR #305 SetWatches which caused RuntimeError
* pep8 all the things
* drop Python 2.6/3.3 official support, add 3.5/3.6 testing
* allow multiple endpoints in KazooClient hosts arg
* use epoll when available to support fds > 1023
* Add TreeCache recipe
* update MANIFEST.in to reflect changes to filenames
* add travis deployment and update ZK versions
* allow having observers and different sized clusters
* fully resolve multiple records for hosts in the zookeeper
connection string
* Fix the recipe examples, so they actually work by connecting to
ZooKeeper. Without start() they just hang and can't be killed.
OBS-URL: https://build.opensuse.org/request/show/518136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=7
* Issue #234: Add support for reconfig cluster membership operation
* Start running tests against Zookeeper 3.5.0 alpha and explicitly configure
the `admin.serverPort` in tests to avoid port conflicts. The Zookeeper
alpha version is not yet officially supported.
* Integrate eventlet *handler* support into kazoo so that along with [gevent,
threading] handlers there can now be a dedicated eventlet handler for
projects that need to (or want to) use eventlet (such as those working
in the openstack community). The ``requirements_eventlet.txt`` file lists
the optional eventlet requirement(s) that needs to be satisfied when this
new handler is used.
* Use ``six`` to nicely handle the cross compatibility of kazoo with
python 2.x and 3.x (reducing/removing the need to have custom compatibility
code that replicates what six already provides).
* Add ``state_change_event`` to ``kazoo.recipe.partitioner.SetPartitioner``
which is set on every state change.
* Add a NonBlockingLease recipe. The recipe allows e.g. cron jobs scheduled
on multiple machines to ensure that at most N instances will run a particular
job, with lease timeout for graceful handover in case of node failures.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kazoo?expand=0&rev=5