File python-tooz.changes of Package python-tooz
------------------------------------------------------------------- Tue Sep 1 06:17:02 UTC 2015 - tbechtold@suse.com - update to 1.23.0: * Changes to add driver list to the documentation * Updated from global requirements * Updated from global requirements * Accept blocking argument in lock's context manager * Make RedisLock's init consistent with other locks * Updated from global requirements * Raise exception on failed lock's CM acquire fail * Be more restrictive on the executors users can provide * Updated from global requirements * Updated from global requirements * Use futurist to allow for executor providing and unifying * Use a lua script(s) instead of transactions * Updated from global requirements * Change Lock.name to a property * Update .gitignore * Updated from global requirements * Fixup dependencies * Expose started state of coordinator to external * Updated from global requirements * Updated from global requirements * Remove tooz/openstack as it is empty and not used * Fix sp 'seonds' -> 'seconds' * Ensure run_watchers called from mixin, not base class * Updated from global requirements * Update compatibility matrix due to file drivers new abilities - Adjust Requires according to requirements.txt ------------------------------------------------------------------- Wed Jul 29 11:06:46 UTC 2015 - tbechtold@suse.com - Unify spec file. Use fedora compatible files macros ------------------------------------------------------------------- Fri Jul 3 12:18:35 UTC 2015 - dmueller@suse.com - update to 0.17.0: * Ensure unwatch_elected_as_leader correctly clears hooks ------------------------------------------------------------------- Wed Jun 24 07:21:22 UTC 2015 - tbechtold@suse.com - update to 0.16.0: * Updated from global requirements * Ensure lock(s) acquire/release returns boolean values * Remove file-driver special no-async abilities * Delay interpolating the LOG string * Use `encodeutils.exception_to_unicode` for exception -> string function * Use the `excutils.raise_with_cause` after doing our type check * Updated from global requirements * Use the 'driver_lock' around read operations * Updated from global requirements * Switch badges from 'pypip.in' to 'shields.io' * Updated from global requirements * Add watch file driver support * Make the file driver more capable (with regard to groups) * Ensure locks can not be created outside of the root file driver directory * Updated from global requirements * Use MySQL default port when not set explicitly * Use fasteners library for interprocess locks * Implement watch/unwatch elected_as_leader for redis driver * Updated from global requirements * Use lua locks instead of pipeline locks * Move more string constants to class constants with docstrings * Updated from global requirements * Updated from global requirements * Remove support for redis < 2.6.0 * Expose Zookeeper client class constants * Expose redis client class constants * Use a serialization/deserialization specific exception * Expose memcache coord. class constants * Explicitly start and execute most transactions * Provide and use a options collapsing function * Add zookeeper tag in setup.cfg * Use pymemcache pooled client * Use oslo.serialization msgpackutils * Provide ability for namespace customization for Zookeeper and Zake drivers * Typo in Locking doc * Move optional driver requirements to test-requirements.txt * Have run_watchers take a timeout and respect it * Heartbeat on acquired locks copy * Avoid using a thread local token storage * Fix param name to be its right name * Replace more instance(s) of exception chaining with helper * Just use staticmethod functions to create _dumps/_loads * Uncap library requirements for liberty * Link AOF to redis persistence docs * Add exception docs to developer docs * Add + use helper to raise + chain exceptions * Allow the acquired file to be closed manually * Updated from global requirements * Silence logs + errors when stopping and group membership lost * Make and use a thread safe pymemcache client subclass * Handle errors that come out of pymemcache better * Use rst inline code structure + link to sentinel * Beef up the docstrings on the various drivers * fix lock concurrency issues with certain drivers * Add pypi download + version badges * Denote that 2.6 testing is still happening * Updated from global requirements * Use a sentinel connection pool to manage failover * fix mysql driver url parsing - Adjust Requires according to requirements.txt ------------------------------------------------------------------- Wed Apr 8 05:30:45 UTC 2015 - tbechtold@suse.com - update to 0.13.1: * Switch to non-namespaced module imports * Add a driver feature compatibility matrix * Remove support for 3.3 * Two locks acquired from one coord must works * Updated from global requirements * Releases locks in tests * Allow coordinator non-string options and use them * Since we use msgpack this can be more than a str * Updated from global requirements - update Requires according to requirements.txt ------------------------------------------------------------------- Thu Feb 26 10:47:06 UTC 2015 - tbechtold@suse.com - update to 0.12: * retry: fix decorator * file: fix typo in errno.EACCES * Add a file based driver * Upgrade to hacking 0.10 * Update sentinel support to allow multiple sentinel hosts * Allow to pass arguments to retry() * IPC simplification ------------------------------------------------------------------- Thu Jan 8 09:30:15 UTC 2015 - tbechtold@suse.com - update to version 0.10: * Add support for an optional redis-sentinel * README.rst tweaks * A few more documentation tweaks * Sync requirements to global requirements * Add create/join/leave group support in IPC driver * Add driver autogenerated docs * Update links + python version supported * zookeeper: add support for delete group * redis: add support for group deletion * tests: minor code simplification * memcached: add support for group deletion * memcached: add support for _destroy_group * Switch to using oslosphinx * Add doc on how transaction is itself retrying internally * Fix .gitreview after rename/transfer * tests: use scenarios attributes for timeout capability * tests: check for leave group events on dead members cleanup * memcached: delete stale/dead group members on get_members() * tests: remove check_port * tests: do not skip test on connection error * doc: add missing new drivers * doc: switch examples to Zake * doc: add locking * Fix tox envlist * Drop Python 3.3 tests in tox * Allow tox with py34 and MySQL * Test connection error scenarios on more drivers * Translate psycopg2 errors/exceptions into tooz exceptions * Ensure 'leave_group' result gotten before further work * watch_leave_group not triggering callback on expired members * Add MySQL driver * Discard 'self' from '_joined_groups' if we got booted out * Implement non-blocking locks with PostgreSQL * More retry code out of memcached * Add a PostgreSQL driver * Fix gate * Handle when a group used to exist but no longer does * tox: split redis/memcached env * Fix memcached heartbeat on start() * tox: splits test scenarios * Add a minimum redis version check while starting * Make requirement on redis 2.10.x explicit * Try to use PSETEX when possible * Use hdel with many keys where supported * Avoid logging warnings when group deleted or member gone * Ensure that we correctly expire (and cleanup) redis members * Various fixes for locks and version compatibility * Move sysv_ipc deps to test-requirements * test: try to stop() first * Convert the rest of memcached driver functions to futures * Add a assertRaisesAny helper method * Allow zake to be tested * Add a redis driver * Ensure groups leaving returns are gotten * Raise the new OperationTimedOut when futures don't finish * Start to add a catch and reraise of timed out exceptions * Adjust the timeout to reflect the repeated retries * ipc: do not delete the lock if we never acquired it * Add home-page field * Split up the requirements for py2.x and py3.x * ipc: Fix acquire lock loop logic * Make lock blocking with no time out by default * coordination: remove destroy() from the lock protocol * IPC: fix a potential race condition at init * Fix IPC driver on OS X * Switch to oslo.utils * Blacklist retrying 1.3.0 * Use futures to make parts of the memcached driver async * Have examples run in the py27 environment and make them work - Adjust Requires according requirements.txt ------------------------------------------------------------------- Fri Nov 14 09:26:26 UTC 2014 - dmueller@suse.com - python-subunit removed from runtime requires, its a test only require ------------------------------------------------------------------- Fri Oct 3 11:38:26 UTC 2014 - iartarisi@suse.com - Add python-sysv_ipc requirement from requirements.txt file ------------------------------------------------------------------- Tue Sep 30 07:57:35 UTC 2014 - dmueller@suse.com - update to 0.4: * Standardize the async result subclasses * Fix the comment which was borrowed from the IPC driver * Be more tolerant of unicode exceptions * Standardize on the same lock acquire method definition * Standardize on hiding the lock implementation * On lock removal validate that they key was actually deleted * Use a thread safe deque instead of a queue * Change inline docs about class fake storage variable * LOG a warning if the heartbeat can not be validated * Add doc8 to the py27 test running * Use the more reliable sysv_ipc instead of posix_ipc+lockutils * Only start zookeeper/memcached when not already running * Let zake act as a in-memory fully functional driver * Switch to a custom NotImplemented error * Ensure lock list isn't mutated while iterating * Move Zake driver code to separated Python module * Work toward Python 3.4 support and testing * Unlock the kazoo version * Bump up zake to be using the newer 0.1 or greater * Fix zake driver with latest release * memcached: switch leader election implementation to a lock * Add the generation of the documentation in tox.ini * Add coverage report - fix package requires ------------------------------------------------------------------- Wed Sep 3 08:12:43 UTC 2014 - dmueller@suse.com - update to 0.3: * Switch to URL for loading backends * Import network_utils from Oslo * coordination: add IPC driver * coordination: raise NotImplementedError as default * Add documentation * Upgrade hacking requirement * memcached: use retrying rather than sleeping * Use retrying instead of our custom code * Update requirements file matching global requ * memcached: implement leader election * Fix a race condition in one of the test ------------------------------------------------------------------- Sun Jun 1 07:46:53 UTC 2014 - thomasbechtold@jpberlin.de - Initial version.