Platform-independent file locking module
55.79 KB
built 2026-10-17 10:55:48 GMT
Description
The lockfile module exports a FileLock class which provides a simple API for
locking files. Unlike the Windows msvcrt.locking function, the Unix
fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is
identical across both Unix (including Linux and Mac) and Windows platforms. The
lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on
Windows) system calls.
Dependencies
15 totalRequires13
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pbr) >= 1.8
- python3dist(pbr) >= 1.8
- python3dist(pip) >= 19
- python3dist(pytest)
- python3dist(setuptools) >= 40.8
- python3dist(sphinx)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- python-lockfile-doc = 1:0.12.2-25.fc45
- python3-lockfile = 1:0.12.2-25.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| lockfile-0.12.2.tar.gz | 20.38 KB |
| pytest.patch | 1.29 KB |
| python-lockfile.spec | 10.43 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
