Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python39-locket-1.0.0-1.4 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python39-locket Distribution: openSUSE:Factory:zSystems
Version: 1.0.0 Vendor: openSUSE
Release: 1.4 Build date: Fri Jun 16 08:38:15 2023
Group: Development/Languages/Python Build host: s390zl2a
Size: 17756 Source RPM: python-locket-1.0.0-1.4.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/mwilliamson/locket.py
Summary: File-based locks for Python
Locket implements a lock that can be used by multiple processes provided
they use the same path.

Locks largely behave as (non-reentrant) `Lock` instances from the `threading`
module in the standard library. Specifically, their behaviour is:

* Locks are uniquely identified by the file being locked,
  both in the same process and across different processes.
* Locks are either in a locked or unlocked state.
* When the lock is unlocked, calling `acquire()` returns immediately and changes
  the lock state to locked.
* When the lock is locked, calling `acquire()` will block until the lock state
  changes to unlocked, or until the timeout expires.
* If a process holds a lock, any thread in that process can call `release()` to
  change the state to unlocked.
* Behaviour of locks after `fork` is undefined.

Provides

Requires

License

BSD-2-Clause

Changelog

* Fri Jun 24 2022 Ben Greiner <code@bnavigator.de>
  - Update to 1.0.0
    * No release notes. From git log:
    * Fix #5: make sure it is sane to use different timeouts on the
      same file
    * Close file when acquire() fails
    * Raise LockError when calling release on an unlocked lock
    * Use time.monotonic() when available
  - Enable test suite -- by requiring untested spur.py :(
* Tue Dec 04 2018 Matej Cepl <mcepl@suse.com>
  - Remove superfluous devel dependency for noarch package
* Wed Mar 14 2018 jengelh@inai.de
  - Trim other OS mentions from descriptions.
* Wed Mar 14 2018 sebix+novell.com@sebix.at
  - use %license macro
* Wed Apr 19 2017 toddrme2178@gmail.com
  - Implement single-spec version.
* Tue Jul 14 2015 toddrme2178@gmail.com
  - Initial version

Files

/usr/lib/python3.9/site-packages/locket
/usr/lib/python3.9/site-packages/locket-1.0.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/locket-1.0.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/locket-1.0.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/locket-1.0.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/locket-1.0.0-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/locket/__init__.py
/usr/lib/python3.9/site-packages/locket/__pycache__
/usr/lib/python3.9/site-packages/locket/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/locket/__pycache__/__init__.cpython-39.pyc
/usr/share/doc/packages/python39-locket
/usr/share/doc/packages/python39-locket/README.rst
/usr/share/licenses/python39-locket
/usr/share/licenses/python39-locket/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Mon Apr 29 23:40:03 2024