1
0

52 Commits

Author SHA256 Message Date
f4c5858363 Add CVE-2026-22701.patch to fix CVE-2026-22701 (bsc#1256457) 2026-01-15 13:56:37 +01:00
c4a8737406 Add CVE-2025-68146.patch to fix CVE-2025-68146 (bsc#1255244) 2026-01-07 10:13:13 +01:00
adc4aa74d9 Accepting request 1254336 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1254336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=24
2025-03-20 18:24:38 +00:00
f8d1910013 - Update to 3.18.0
* Indicate that locks are exclusive/write locks
  * Support fcntl check on Emscripten

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=52
2025-03-19 08:57:05 +00:00
d2053e1b98 Accepting request 1241340 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1241340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=23
2025-01-31 15:01:56 +00:00
0a519cc0ee - Update to 3.17.0
* Drop support for Python 3.8
  * Update README.md

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=50
2025-01-30 12:30:25 +00:00
413069b4bb Accepting request 1206466 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=22
2024-10-09 20:03:29 +00:00
5b9b589384 - Update to 3.16.1
* CI improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=48
2024-10-09 07:36:37 +00:00
40005fbf11 Accepting request 1199632 from devel:languages:python
- update to 3.16.0:
  * Test Python 3.13
  * Add 3.13 to CI
- update to 3.15.4:
  * Pass `file_lock` as positional argument
- update to 3.15.3:
  * Add test for virtualenv stability
  * Fix `TypeError: _CountedFileLock.__init__() got an unexpected
    keyword argument 'timeout'`
- update to 3.15.2:
  * Use a metaclass to implement the singleton pattern
- split into test multibuild to avoid cycle over virtualenv

OBS-URL: https://build.opensuse.org/request/show/1199632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=21
2024-09-10 19:12:23 +00:00
209b71a448 Accepting request 1181236 from devel:languages:python
- update to 3.15.1:
  * Hotfix: Restore __init__ method; more robust initialization
    for singleton locks
- update to 3.15.0:
  * asyncio support
  * Don't initialize BaseFileLock when just returning existing
    instance

OBS-URL: https://build.opensuse.org/request/show/1181236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=20
2024-06-17 17:27:33 +00:00
b086d0b833 - update to 3.15.1:
* Hotfix: Restore __init__ method; more robust initialization
    for singleton locks
- update to 3.15.0:
  * asyncio support
  * Don't initialize BaseFileLock when just returning existing
    instance

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=42
2024-06-17 06:00:40 +00:00
3f4735f9aa Accepting request 1171540 from devel:languages:python
- update to 3.14.0:
  * feat: `blocking` parameter on lock constructor with tests and
    docs

OBS-URL: https://build.opensuse.org/request/show/1171540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=19
2024-05-03 17:44:14 +00:00
aede924034 - update to 3.14.0:
* feat: `blocking` parameter on lock constructor with tests and
    docs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=40
2024-05-03 07:36:03 +00:00
d7b57d8538 Accepting request 1169267 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1169267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=18
2024-04-21 18:24:46 +00:00
7276bd9297 - update to 3.13.4:
* Raise error on incompatible singleton timeout and mode args
- update to 3.13.3:
  * Make singleton class instance dict unique per subclass

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=38
2024-04-12 17:03:58 +00:00
6fc8e86221 Accepting request 1161514 from devel:languages:python
- update to 3.13.2:
  * Fixed small typo in _unix.py
  * Update SECURITY.md to reflect Python 3.7 support dropoff
  * Update index.rst to improve the demo usage
  * [BugFix] fix permission denied error when lock file is placed
    in `/tmp`

OBS-URL: https://build.opensuse.org/request/show/1161514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=17
2024-03-26 18:25:32 +00:00
fef98f8717 - update to 3.13.2:
* Fixed small typo in _unix.py
  * Update SECURITY.md to reflect Python 3.7 support dropoff
  * Update index.rst to improve the demo usage
  * [BugFix] fix permission denied error when lock file is placed
    in `/tmp`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=36
2024-03-25 17:30:03 +00:00
6a6012a908 Accepting request 1129184 from devel:languages:python
- update to 3.13.1:
  * Allow users to subclass FileLock with custom keyword
    arguments
  * Support reentrant locking on lock file path via optional
    singleton instance
  * change typing-extensions to be installed only with the
    [typing] extra

- Add missing Requires on typing-extensions if < 3.11

OBS-URL: https://build.opensuse.org/request/show/1129184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=16
2023-11-28 21:18:33 +00:00
a3d6f73e07 - update to 3.13.1:
* Allow users to subclass FileLock with custom keyword
    arguments
  * Support reentrant locking on lock file path via optional
    singleton instance
  * change typing-extensions to be installed only with the
    [typing] extra
- Add missing Requires on typing-extensions if < 3.11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=34
2023-11-27 15:46:59 +00:00
95c94202dd Accepting request 1109649 from devel:languages:python
- Add missing Requires on typing-extensions if < 3.11 

- update to 3.12.3:
  * Fix import ordering
  * Exclude dependabot and pre-commit ci from release notes
  * Create parent directories if necessary

- Update to version 3.8.2
- Update to version 3.8.0
  * Ownership moved from @benediktschmitt to the tox-dev organization
  * Accept path types (like pathlib.Path and pathlib.PurePath) in the

OBS-URL: https://build.opensuse.org/request/show/1109649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=15
2023-09-08 19:15:16 +00:00
b61dd51039 Correct Requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=32
2023-09-08 04:26:38 +00:00
bb58b1eaa4 - Add missing Requires on typing-extensions if < 3.11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=31
2023-09-08 04:17:38 +00:00
4c09c68850 - update to 3.12.3:
* Fix import ordering
  * Exclude dependabot and pre-commit ci from release notes
  * Create parent directories if necessary
- Update to version 3.8.2
- Update to version 3.8.0
  * Ownership moved from @benediktschmitt to the tox-dev organization
  * Accept path types (like pathlib.Path and pathlib.PurePath) in the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=30
2023-09-07 11:01:41 +00:00
d6743347d9 Accepting request 1094132 from devel:languages:python
- update to 3.12.2:
  * Restore 'if TYPE_CHECKING' syntax for FileLock definition

OBS-URL: https://build.opensuse.org/request/show/1094132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=14
2023-06-21 20:37:18 +00:00
b89059c451 - update to 3.12.2:
* Restore 'if TYPE_CHECKING' syntax for FileLock definition

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=28
2023-06-20 16:59:43 +00:00
c37ca7ff37 Accepting request 1092285 from devel:languages:python
- update to 3.12.1:
  * Add 3.12 support
  * Fix test_bad_lock_file for other OSes

OBS-URL: https://build.opensuse.org/request/show/1092285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=13
2023-06-12 13:24:53 +00:00
4d6bb23bed - update to 3.12.1:
* Add 3.12 support
  * Fix test_bad_lock_file for other OSes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=26
2023-06-11 12:40:53 +00:00
c4bf0ae453 Accepting request 1083340 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1083340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=12
2023-04-29 15:27:34 +00:00
000b45a580 Accepting request 1082836 from home:jayvdb:branches:devel:languages:python
- Update to v3.12.0

OBS-URL: https://build.opensuse.org/request/show/1082836
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=24
2023-04-27 21:50:09 +00:00
9ca141b2f4 Accepting request 1081927 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=11
2023-04-22 20:01:02 +00:00
947b633a00 Accepting request 1081406 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=22
2023-04-21 14:39:54 +00:00
0178999b89 Accepting request 1071878 from devel:languages:python
- update to 3.9.1:
  * use time.perf_counter instead of time.monotonic

OBS-URL: https://build.opensuse.org/request/show/1071878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=10
2023-03-17 16:02:07 +00:00
753cae4c91 - update to 3.9.1:
* use time.perf_counter instead of time.monotonic

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=20
2023-03-14 22:24:46 +00:00
84890d0d6d Accepting request 1055798 from devel:languages:python
- update to 3.9.0:
  * move to hatchling build backend

OBS-URL: https://build.opensuse.org/request/show/1055798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=9
2023-01-05 14:00:08 +00:00
aea23c0074 - update to 3.9.0:
* move to hatchling build backend

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=18
2023-01-04 13:03:50 +00:00
a4791a57de Accepting request 1044032 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1044032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=8
2022-12-23 09:20:41 +00:00
37da6f2f76 Accepting request 1042822 from devel:languages:python
- Remove python_module macro definition
- More specific python_sitelib in %files
- Update to version 3.8.2 
  * What's Changed
    Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.6.1 by @dependabot in #178
    Update the license classifier to "Unlicense" by @jond01 in #180
- Update to version 3.8.1
  * What's Changed
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #166
    link to flufl.lock by @dholth in #167
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #168
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #169
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #170
    fix BaseFileLock.timeout's getter/setter being obscured by itself by @dearfl in #172
    Fix mypy fails understanding FileLock by @gaborbernat in #177

OBS-URL: https://build.opensuse.org/request/show/1042822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=7
2022-12-15 18:23:56 +00:00
6c4e799713 - Remove python_module macro definition
- More specific python_sitelib in %files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=15
2022-12-14 08:35:27 +00:00
ba007a48b9 Accepting request 1042707 from home:yarunachalam:branches:devel:languages:python
- Update to version 3.8.2 
  * What's Changed
    Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.6.1 by @dependabot in #178
    Update the license classifier to "Unlicense" by @jond01 in #180
- Update to version 3.8.1
  * What's Changed
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #166
    link to flufl.lock by @dholth in #167
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #168
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #169
    [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #170
    fix BaseFileLock.timeout's getter/setter being obscured by itself by @dearfl in #172
    Fix mypy fails understanding FileLock by @gaborbernat in #177

OBS-URL: https://build.opensuse.org/request/show/1042707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=14
2022-12-14 08:33:04 +00:00
f46206f0b5 Accepting request 1010146 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=6
2022-10-14 13:40:26 +00:00
e77785edcd Accepting request 1009981 from home:yarunachalam:branches:devel:languages:python
- Update to version 3.8.0 
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #149
  * Bump actions/upload-artifact from 2 to 3 by @dependabot in #154
  * Bump actions/download-artifact from 2 to 3 by @dependabot in #152
  * Bump pre-commit/action from 2.0.3 to 3.0.0 by @dependabot in #151
  * Bump actions/checkout from 2 to 3 by @dependabot in #153
  * Bump actions/setup-python from 2 to 4 by @dependabot in #150
  * Add timeout unit to docstrings by @jnordberg in #148
  * Unify badges style by @DeadNews in #155
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #156
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #157
  * Check 3.11 support by @gaborbernat in #158
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #159
  * Bump dependencies by @gaborbernat in #160
  * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #162

OBS-URL: https://build.opensuse.org/request/show/1009981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=12
2022-10-12 08:38:13 +00:00
0f886708b8 Accepting request 980904 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/980904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=5
2022-06-06 09:10:03 +00:00
c775e34bef Accepting request 980652 from home:mcalabkova:branches:devel:languages:python
- Update to 3.7.1
  * Ownership moved from @benediktschmitt to the tox-dev organization 
    (new primary maintainer @gaborbernat)
  * Raise when trying to acquire in R/O or missing folder
  * Drop python 2.7, 3.5 and 3.6 support, add type hints
  * Document asyncio support
  * Accept path types (like pathlib.Path and pathlib.PurePath) in the 
    constructor for FileLock objects.
  * Add correct spelling of poll interval parameter for acquire method
  * Enable use as context decorator
  * More changes, see upstream changelog
- Use PyPI tarball, switch to wheel for build (testsuite expects it)

OBS-URL: https://build.opensuse.org/request/show/980652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=10
2022-06-05 16:37:55 +00:00
3fcf656dee Accepting request 743982 from devel:languages:python
- Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/743982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=4
2019-11-04 16:10:26 +00:00
b30ae5083f - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=8
2019-10-14 13:38:25 +00:00
1f124e5882 Accepting request 708375 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/708375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=3
2019-06-13 20:32:01 +00:00
Tomáš Chvátal
df62ea9cfe Accepting request 708368 from home:mcalabkova:branches:devel:languages:python
- Update to 3.0.12
  * fixed python2 setup error
  * fixed documentation
  * other small fixes

OBS-URL: https://build.opensuse.org/request/show/708368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=6
2019-06-07 13:36:30 +00:00
c678fd318e Accepting request 684351 from devel:languages:python
- Update to 3.0.10:
  * No upstream changelog

OBS-URL: https://build.opensuse.org/request/show/684351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=2
2019-03-29 19:34:05 +00:00
Tomáš Chvátal
5f6bf1391c - Update to 3.0.10:
* No upstream changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=4
2019-03-12 15:15:05 +00:00
c5ae31bc98 Accepting request 626927 from devel:languages:python
Needed by weblate

OBS-URL: https://build.opensuse.org/request/show/626927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=1
2018-08-03 10:37:11 +00:00
Tomáš Chvátal
4f2514c601 - Switch to github tarball
- Enable tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=2
2018-08-01 14:52:21 +00:00
Tomáš Chvátal
ecf42812a0 osc copypac from project:home:buschmann23:weblate package:python-filelock revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=1
2018-08-01 14:41:07 +00:00
7 changed files with 117 additions and 9 deletions

14
CVE-2025-68146.patch Normal file
View File

@@ -0,0 +1,14 @@
Index: filelock-3.18.0/src/filelock/_unix.py
===================================================================
--- filelock-3.18.0.orig/src/filelock/_unix.py
+++ filelock-3.18.0/src/filelock/_unix.py
@@ -39,6 +39,9 @@ else: # pragma: win32 no cover
def _acquire(self) -> None:
ensure_directory_exists(self.lock_file)
open_flags = os.O_RDWR | os.O_TRUNC
+ o_nofollow = getattr(os, "O_NOFOLLOW", None)
+ if o_nofollow is not None:
+ open_flags |= o_nofollow
if not Path(self.lock_file).exists():
open_flags |= os.O_CREAT
fd = os.open(self.lock_file, open_flags, self._context.mode)

63
CVE-2026-22701.patch Normal file
View File

@@ -0,0 +1,63 @@
From 255ed068bc85d1ef406e50a135e1459170dd1bf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= <bgabor8@bloomberg.net>
Date: Fri, 9 Jan 2026 09:23:12 -0800
Subject: [PATCH] Fix TOCTOU symlink vulnerability in SoftFileLock
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Add O_NOFOLLOW flag to prevent symlink attacks. The vulnerability existed
between the permission check and the actual file creation, allowing an
attacker to create a symlink at the lock path.
How the fix prevents the attack:
1. raise_on_not_writable_file() validates permissions (doesn't follow symlinks)
2. RACE WINDOW: attacker creates symlink to target file
3. os.open() with O_NOFOLLOW refuses to follow the symlink
4. Attack is prevented - the symlink won't help attacker
Changes:
- Add conditional O_NOFOLLOW flag (like UnixFileLock does in commit 5088854)
- Gracefully degrade on platforms without O_NOFOLLOW (e.g., GraalPy)
- No behavioral changes to existing code
Security improvement:
- Platforms with O_NOFOLLOW: ✅ Symlink attacks completely prevented
- Platforms without O_NOFOLLOW: ⚠️ TOCTOU window remains but documented
The pre-check (raise_on_not_writable_file) is safe from TOCTOU itself because
it only reads metadata. The attack only works if a symlink is followed by a
write operation. By preventing symlink following in os.open() with O_NOFOLLOW,
the attack is blocked even if the symlink is created during the race window.
Reported by George Tsigourakos (@tsigouris007)
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
---
docs/index.rst | 16 ++++++++++++++++
src/filelock/_soft.py | 4 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/filelock/_soft.py b/src/filelock/_soft.py
index 28c67f74..93709c5c 100644
--- a/src/filelock/_soft.py
+++ b/src/filelock/_soft.py
@@ -16,13 +16,15 @@ class SoftFileLock(BaseFileLock):
def _acquire(self) -> None:
raise_on_not_writable_file(self.lock_file)
ensure_directory_exists(self.lock_file)
- # first check for exists and read-only mode as the open will mask this case as EEXIST
flags = (
os.O_WRONLY # open for writing only
| os.O_CREAT
| os.O_EXCL # together with above raise EEXIST if the file specified by filename exists
| os.O_TRUNC # truncate the file to zero byte
)
+ o_nofollow = getattr(os, "O_NOFOLLOW", None)
+ if o_nofollow is not None:
+ flags |= o_nofollow
try:
file_handler = os.open(self.lock_file, flags, self._context.mode)
except OSError as exception: # re-raise unless expected exception

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58a2549afdf9e02e10720eaa4d4470f56386d7a6f72edd7d0596337af8ed7ad8
size 17564

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81de9eb8453c769b63369f87f11131a7ab04e367f8d97ad39dc230daa07e3bec
size 18008

BIN
filelock-3.18.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Jan 14 13:09:53 UTC 2026 - Nico Krapp <nico.krapp@suse.com>
- Add CVE-2026-22701.patch to fix CVE-2026-22701 (bsc#1256457)
-------------------------------------------------------------------
Wed Jan 7 09:12:08 UTC 2026 - Nico Krapp <nico.krapp@suse.com>
- Add CVE-2025-68146.patch to fix CVE-2025-68146 (bsc#1255244)
-------------------------------------------------------------------
Wed Mar 19 07:44:21 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.18.0
* Indicate that locks are exclusive/write locks
* Support fcntl check on Emscripten
-------------------------------------------------------------------
Thu Jan 30 11:22:48 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.17.0
* Drop support for Python 3.8
* Update README.md
-------------------------------------------------------------------
Wed Oct 9 07:27:30 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.16.1
* CI improvements
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 8 15:56:37 UTC 2024 - Dirk Müller <dmueller@suse.com> Sun Sep 8 15:56:37 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-filelock # spec file for package python-filelock
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2018 Matthias Fehring <buschmann23@opensuse.org> # Copyright (c) 2018 Matthias Fehring <buschmann23@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -27,12 +27,16 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-filelock%{?pkg_suffix} Name: python-filelock%{?pkg_suffix}
Version: 3.16.0 Version: 3.18.0
Release: 0 Release: 0
Summary: Platform Independent File Lock in Python Summary: Platform Independent File Lock in Python
License: Unlicense License: Unlicense
URL: https://github.com/tox-dev/py-filelock URL: https://github.com/tox-dev/py-filelock
Source: https://files.pythonhosted.org/packages/source/f/filelock/filelock-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/f/filelock/filelock-%{version}.tar.gz
# PATCH-FIX-UPSTREAM CVE-2025-68146.patch bsc#1255244 (gh#tox-dev/filelock/pulls/461, gh#tox-dev/filelock/pulls/463)
Patch0: CVE-2025-68146.patch
# PATCH-FIX-UPSTREAM CVE-2026-22701.patch bsc#1256457 (gh#tox-dev/filelock/pulls/465)
Patch1: CVE-2026-22701.patch
BuildRequires: %{python_module asyncio} BuildRequires: %{python_module asyncio}
BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatchling}
@@ -59,7 +63,7 @@ independent file lock in Python, which provides a simple way of
inter-process communication. inter-process communication.
%prep %prep
%setup -q -n filelock-%{version} %autosetup -p1 -n filelock-%{version}
%build %build
%pyproject_wheel %pyproject_wheel