File-based locks for Python for Linux and Windows
18.05 KB
built 2026-10-17 10:51:50 GMT
Description
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.
Dependencies
11 totalRequires6
- python(abi) = 3.15
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PartialHardlinkSets) <= 4.0.4-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
- python-locket = 1.0.0-21.fc45
- python3-locket = 1.0.0-21.fc45
- python3.15-locket = 1.0.0-21.fc45
- python3.15dist(locket) = 1
- python3dist(locket) = 1
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
14
Files 1–14 of 14
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-31972-656 | 2026-10-17 11:44:03 | expired |
Buildroots 1–1 of 1

