Skip to content

Bump filelock from 4.2.12 to 4.3.0 in /examples/software_factory/harbor in the pip group across 1 directory - #2185

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/examples/software_factory/harbor/pip-74cb7d61cb
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/examples/software_factory/harbor/pip-74cb7d61cb

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the pip group with 1 update in the /examples/software_factory/harbor directory: filelock.

Updates filelock from 4.2.12 to 4.3.0

Release notes

Sourced from filelock's releases.

4.3.0

Features

  • On Windows, release_with_timeout limits the caller's wait for release. If it raises ReleasePendingError, call wait on the exception from any thread for the result. On POSIX, release is synchronous (#1107) by @​gaborbernat. (#1100)

Bug fixes

  • lock_descriptor raises TypeError unless blocking is a bool (#969) by @​feiiiiii5 and @​gaborbernat.
  • On POSIX filesystems with atomic exchange, SoftFileLock restores a live marker after an interrupted exchange and removes its own unfinished marker during cleanup (#1080) by @​gaborbernat. (#993)
  • Unix soft fallback markers exclude group and other writes even on filesystems without atomic exchange (#1057) by @​gaborbernat. (#994)
  • SoftFileLock, MarkerSoftFileLock and SoftFileLease remove empty markers after a signal interrupts marker creation or stale-marker replacement (#1049) by @​gaborbernat. (#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 (#1057) by @​gaborbernat. (#1000)
  • On POSIX, ReadWriteLock and AsyncReadWriteLock raise 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 (#1106) by @​gaborbernat. (#1003)
  • On Windows, SoftFileLock treats a symlink as an occupied marker and leaves its target untouched (#1049) by @​gaborbernat. (#1009)
  • SoftFileLock and 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 release if a timeout interrupts restoration of a displaced marker (#1062) by @​gaborbernat. (#1014)
  • A singleton shared by relative and absolute paths refuses acquisition if a directory change redirects its stored lock path (#1098) by @​gaborbernat. (#1018)
  • ReadWriteLock raises RuntimeError if a directory change redirects a singleton's cached database path (#1058) by @​gaborbernat. (#1019)
  • SoftFileLock, MarkerSoftFileLock and SoftFileLease remove their pending recovery marker even if another process replaces the break name during rollback (#1082) by @​gaborbernat. (#1025)
  • Single-threaded SQLite read and write lock waits allow Python signal handlers to run. Waiting writers keep their place ahead of new readers (#1105) by @​gaborbernat. (#1027)
  • On POSIX, SoftFileLock tries to leave a one-byte recovery record if a full filesystem prevents marker cleanup. With atomic exchange, a later caller can reclaim it when space is available (#1101) by @​Yshuro and @​gaborbernat. (#1029)
  • Windows soft-lock recovery no longer reads proc/self/ns/pid from the drive root when identifying a marker's host (#1036) by @​gaborbernat.
  • On Unix filesystems without flock, waiters can reclaim an interrupted acquire's recovery marker after two seconds if atomic exchange and space for the marker are available (#1057) by @​gaborbernat. (#1046)
  • SoftReadWriteLock recreates a missing generation directory during read or write acquisition, even if a holder record survives (#1103) by @​gaborbernat. (#1102)
  • On POSIX, soft locks close the inspection descriptor if opening an existing marker is interrupted (#1113) by @​gaborbernat. (#1111)
  • Unix locks can use the soft fallback when the directory denies the temporary probe and atomic exchange is unavailable. If native locking works there, new lock files exclude group and other writes by default. Set mode=0o660 for group sharing. The probe removes its temporary name before testing and closes its descriptor on interruption (#1115) by @​gaborbernat. (#1112)
  • ReadWriteLock prevents database redirection in shared, non-sticky directories by placing its hard link in a fresh private directory. Cleanup recognizes older link layouts (#1096) by @​gaborbernat.
  • AsyncFileLock, AsyncReadWriteLock and AsyncSoftReadWriteLock discard executor calls whose submission failed. A queued release can no longer drop a later task's lock (#986) by @​gaborbernat.
  • SoftReadWriteLock scans up to 256 orphan holder records and 256 temporary files per sweep, resuming where it stopped. Each listing removes up to 256 obsolete generations. The lock raises a protocol error above 65,536 generation entries (#1097) by @​gaborbernat.
  • SoftReadWriteLock uses fixed-size fingerprints to bound memory use per holder record during cleanup (#1097) by @​gaborbernat.
  • StrictSoftFileLock backs off above 1,024 public claims and raises SoftFileLockProtocolError above 16,380 directory entries before publication. Sentinel cleanup counts only the lock's own records (#1040) by @​gaborbernat.
  • StrictSoftFileLock creates sentinels and claims without group or other write permissions. Run chmod go-w on older writable sentinels. On Linux, a contender waits if fs.protected_hardlinks prevents it from probing another account's claim (#985) by @​gaborbernat.
  • Timeout and lock_path_occupant now escape control characters and other bytes outside printable non-space ASCII in recorded hostnames (#1090) by @​radhika1314 and @​gaborbernat.
  • A SoftReadWriteLock heartbeat checks the holder token before writing. If another file replaces the record and reuses its inode, the lock reports a lost hold (#982) by @​gaborbernat.
  • A SoftReadWriteLock waiter paused past stale_threshold gets a fresh token so cleanup of its old record cannot remove the new hold (#1097) by @​gaborbernat.
  • A failed acquire rolls back its own nesting level. Releasing that level from a hook or signal handler raises RuntimeError. Balanced nested holds still work. Retrying an interrupted release on a shared instance affects only the original hold. An indefinite acquire raises RuntimeError if a signal handler returns holding the same path through another instance (#1060) by @​gaborbernat.
  • A forked child with its parent's numeric PID in another Linux PID namespace preserves the parent's locks and private SQLite database link (#1075) by @​gaborbernat.
  • After an ambiguous Unix unlock error, FileLock rejects reentrant acquires until an explicit release() retry resolves the hold (#1098) by @​gaborbernat.
  • Async reader/writer wrappers sharing a lock serve waiting writers in arrival order, ahead of new readers. Returning writers rejoin at the back (#1073) by @​gaborbernat.
  • At interpreter exit, SoftReadWriteLock keeps holds owned by live daemon threads. AsyncSoftReadWriteLock keeps holds whose event loops are still running (#1048) by @​gaborbernat.
  • Canceling an AsyncFileLock release still decrements the lock counter after the active transition finishes (#1051) by @​gaborbernat.
  • Closing an async reader/writer wrapper stops its contended acquires on the next poll, even if another singleton wrapper is waiting (#1073) by @​gaborbernat.
  • Closing an async reader/writer wrapper wakes tasks waiting on that wrapper even if another singleton wrapper holds the lock (#1073) by @​gaborbernat.
  • During shutdown, another thread's release(force=True) preserves the main thread's thread-local hold, including during atexit callbacks (#1098) by @​gaborbernat.
  • If an async reader/writer acquire succeeds during close, it waits for close to finish. A successful close releases the hold and the acquire raises the closed error. If close fails while the lock is held, the task receives the hold (#1073) by @​gaborbernat.
  • In a sticky Unix directory such as /tmp, ReadWriteLock raises PermissionError unless the caller or directory owner owns the database (#970) by @​radhika1314 and @​gaborbernat.
  • In sticky directories, locks reject files and protocol directories whose ownership is ambiguous because Linux reports the overflow UID (#977) by @​gaborbernat.

... (truncated)

Changelog

Sourced from filelock's changelog.

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

.. towncrier-draft-entries:: Unreleased

.. towncrier release notes start

.. _release-4-3-3:


4.3.3 (2026-12-04)


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

Fixed

  • An async lock acquired in a task that has since finished, such as with asyncio.run(lock.acquire()), is released again when the lock is garbage collected while held. Self-deadlock detection kept a strong reference to that task, whose result references the lock, so the lock was never finalized and stayed held until the process exited (:pr:1150) by :user:vinilpolepalli.
  • On POSIX, if an exhausted disk quota prevents :class:~filelock.SoftFileLock from removing a failed marker, cleanup tries to leave a one-byte record, as it already does for a full filesystem. On filesystems with atomic exchange, a later caller can reclaim it once space is available (:pr:1147) by :user:darrenhuai and :user:gaborbernat.
  • Singleton locks and :class:~filelock.SoftFileLease singletons accept the same bound method passed again as on_acquired or on_compromise, instead of treating each attribute access as a different callback. A built-in bound method, such as records.append, still has to be the same saved object (:pr:1139) by :user:feiiiiii5, :user:gaborbernat and :user:LemonCondor.

.. _release-4-3-3-security:

Security

  • On Unix, when creating the lock file is denied, :class:~filelock.FileLock no longer follows a symlink at the lock path to decide whether the file exists. Another account that swaps one in can no longer learn from how acquire() fails whether the symlink's target exists for the locking account. Such a symlink now fails with ELOOP whatever it points to (:pr:1144) by :user:gaborbernat.

.. _release-4-3-3-performance:

Performance

  • Importing filelock no longer slows every audited call in the process, such as id(): the fork-safety audit hook is installed on first lock use instead of at import (:pr:1152) by :user:gaborbernat.

.. _release-4-3-2:

... (truncated)

Commits
  • 54e61ea release 4.3.0
  • f213ea2 ♻️ refactor(api): document lock types and share marker and proxy logic (#1122)
  • 2a5a975 ♻️ refactor: group locks by backend (#1121)
  • 61470e9 🧪 test: allow time to acquire a free lock (#1120)
  • 7c9bc7b 🔒 fix(unix): refuse planted hard links for on_acquired callbacks (#1118)
  • 59676b6 📝 docs: shorten unreleased changelog entries (#1119)
  • eb97f60 📝 docs: classify the subinterpreter fix as a patch (#1117)
  • f7c8403 ⚡ perf(soft-rw): stage HEAD in one directory (#1114)
  • b41d591 ✨ feat(strict): bound the wait for Windows release (#1107)
  • 8963c4b 🐛 fix(async): close without the default executor (#1110)
  • Additional commits viewable 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Low Risk
Lockfile-only change for an example; minor version filelock bump and explicit extras mostly document existing transitive deps, with small chance of install-time dependency shifts.

Overview
Updates the compiled examples/software_factory/harbor/requirements.txt lockfile for the Harbor software-factory example. The headline change is filelock 4.2.12 → 4.3.0 with refreshed install hashes.

The diff also reflects a dependency re-resolve (not only filelock): several pins are now written with optional extras that were likely already pulled transitively—fastmcp-slim[client,server], harbor-framework-client[tus], httpx[http2], py-key-value-aio[filetree,memory], pydantic[email], and pyjwt[crypto]. The standalone fastuuid block and its hashes were removed from the lockfile.

No application source changes; install surface for the Harbor example venv may grow slightly where extras add packages (e.g. HTTP/2, TUS uploads, email validation, JWT crypto backends).

Reviewed by Cursor Bugbot for commit 991705a. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps the pip group with 1 update in the /examples/software_factory/harbor directory: [filelock](https://github.com/tox-dev/filelock).


Updates `filelock` from 4.2.12 to 4.3.0
- [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.12...4.3.0)

---
updated-dependencies:
- dependency-name: filelock
  dependency-version: 4.3.0
  dependency-type: indirect
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 4, 2026
@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Dec 4, 2026 11:38pm UTC
loom-telemetry Ready Ready Preview Dec 4, 2026 11:38pm UTC

Request Review

@dependabot dependabot Bot added the python Pull requests that update python code label Dec 4, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 991705a. Configure here.

--hash=sha256:7e7da24d3ac39268b0f156e56870001de44886318f092f9d851e692f7114d6dd
filelock==4.3.0 \
--hash=sha256:143407310acf479e82d88068e3b9a6486f45fb410c0ed8729fe7359eaabeb6f1 \
--hash=sha256:f933f39f7e01249a4a49b9abab30edc6d4b874624c3de5dd0b0d137aa8adb979

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hashed lockfile drops required fastuuid

High Severity

This update removes the fastuuid pin while litellm==1.110.2 still depends on it for Python below 3.15. CI installs this file with uv pip install --require-hashes on Python 3.12, so the missing hashed requirement fails the install and leaves LiteLLM without a required dependency.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 991705a. Configure here.

@zlareb1 zlareb1 self-assigned this Dec 5, 2026

@zlareb1 zlareb1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The offline software factory job confirms the existing lockfile finding. On Python 3.12, the retained LiteLLM pin requires fastuuid, and uv pip install --require-hashes refuses it without a pinned version and hashes. Restore the hashed pin and run the install in that job. Failed CI run

@zlareb1 zlareb1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Postgres 16 prepared-bot test fails at first-cell provisioning on this head and on its clean base. The existing repair waits for the first web process to enforce tenancy before provisioning the bot. PR job · Base job · Repair #2106

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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant