Skip to content

Bump filelock from 4.2.11 to 4.2.12 - #14439

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/filelock-4.2.12
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/filelock-4.2.12

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps filelock from 4.2.11 to 4.2.12.

Release notes

Sourced from filelock's releases.

4.2.12

Bug fixes

  • UnixFileLock refuses, with PermissionError, a lock file that another account owns under a sticky parent such as /tmp. Its owner could remove it during a hold, after which a second process locked a new file at the same path and both held the lock. A file owned by the directory's owner, such as root in /tmp, is still accepted (#968) by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

Changelog

Sourced from filelock's changelog.

########### Changelog ###########

.. towncrier-draft-entries:: Unreleased

.. towncrier release notes start

.. _release-4-3-0:


4.3.0 (2026-11-22)


.. _release-4-3-0-added:

Added

  • On Windows, :meth:~filelock.StrictSoftFileLock.release_with_timeout limits the caller's wait for release. If it raises :class:~filelock.ReleasePendingError, call :meth:~filelock.ReleasePendingError.wait on the exception from any thread for the result. On POSIX, release is synchronous (:pr:1107) by :user:gaborbernat. (:pr:1100)

.. _release-4-3-0-fixed:

Fixed

  • :func:~filelock.lock_descriptor raises :class:TypeError unless blocking is a :class:bool (:pr:969) by :user:feiiiiii5 and :user:gaborbernat.
  • On POSIX filesystems with atomic exchange, :class:~filelock.SoftFileLock restores a live marker after an interrupted exchange and removes its own unfinished marker during cleanup (:pr:1080) by :user:gaborbernat. (:pr:993)
  • Unix soft fallback markers exclude group and other writes even on filesystems without atomic exchange (:pr:1057) by :user:gaborbernat. (:pr:994)
  • SoftFileLock, MarkerSoftFileLock and SoftFileLease remove empty markers after a signal interrupts marker creation or stale-marker replacement (:pr:1049) by :user:gaborbernat. (:pr:996)
  • Unix locks select the soft fallback per resolved path, including after a directory change. The lock keeps its Unix type and supports pid, is_lock_held_by_us, break_lock() and lifetime during fallback (:pr:1057) by :user:gaborbernat. (:pr:1000)
  • On POSIX, :class:~filelock.ReadWriteLock and :class:~filelock.AsyncReadWriteLock raise :class:RuntimeError in detected subinterpreters, including InterpreterPoolExecutor workers and mod_wsgi or uWSGI subinterpreters. Use the main interpreter or a separate process. Detection on embedded CPython 3.11 requires _xxsubinterpreters or ctypes access to the interpreter C API (:pr:1106) by :user:gaborbernat. (:pr:1003)
  • On Windows, :class:~filelock.SoftFileLock treats a symlink as an occupied marker and leaves its target untouched (:pr:1049) by :user:gaborbernat. (:pr:1009)
  • :class:~filelock.SoftFileLock and :class:~filelock.SoftFileLease clean up markers and descriptors across interrupted acquires and releases. POSIX unlink errors propagate, with a retry after close on filesystems that require it. Retry :meth:~filelock.BaseFileLock.release if a timeout interrupts restoration of a displaced marker (:pr:1062) by :user:gaborbernat. (:pr:1014)
  • A singleton shared by relative and absolute paths refuses acquisition if a directory change redirects its stored lock

... (truncated)

Commits
  • f80f6a8 release 4.2.12
  • 391eb45 ⬆️ ci(deps): bump github-workflows to 6.8.4
  • 571eb99 🔒 fix(unix): refuse another account's lock file (#968)
  • 08fedec 🔧 build(deps): refresh project lock (#967)
  • a20a3a9 Bump the "dependencies" group with 1 update across multiple ecosystems (#966)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [filelock](https://github.com/tox-dev/filelock) from 4.2.11 to 4.2.12.
- [Release notes](https://github.com/tox-dev/filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](tox-dev/filelock@4.2.11...4.2.12)

---
updated-dependencies:
- dependency-name: filelock
  dependency-version: 4.2.12
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 23, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 23, 2026 10:39
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.12%. Comparing base (b60c612) to head (377bffa).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #14439   +/-   ##
=======================================
  Coverage   99.12%   99.12%           
=======================================
  Files         135      135           
  Lines       53661    53661           
  Branches     2737     2737           
=======================================
+ Hits        53191    53193    +2     
+ Misses        356      355    -1     
+ Partials      114      113    -1     
Flag Coverage Δ
Autobahn 21.66% <ø> (ø)
CI-GHA 99.05% <ø> (+<0.01%) ⬆️
OS-Linux 98.73% <ø> (ø)
OS-Windows 97.49% <ø> (ø)
OS-macOS 98.35% <ø> (-0.01%) ⬇️
Py-3.11 98.29% <ø> (ø)
Py-3.12 98.37% <ø> (-0.01%) ⬇️
Py-3.13 98.36% <ø> (ø)
Py-3.14 98.43% <ø> (ø)
Py-3.15 98.42% <ø> (-0.01%) ⬇️
Py-3.15t 98.28% <ø> (-0.01%) ⬇️
Py-pypy-3.12 96.96% <ø> (ø)
VM-macos-latest 98.35% <ø> (-0.01%) ⬇️
VM-ubuntu-latest 98.73% <ø> (ø)
VM-windows-latest 97.49% <ø> (ø)
cython-coverage 83.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@codspeed

codspeed Bot commented Nov 23, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 50 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 102 untouched benchmarks
⏩ 83 skipped benchmarks1


Comparing dependabot/pip/filelock-4.2.12 (377bffa) with master (b60c612)

Open in CodSpeed

Footnotes

  1. 83 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants