Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tox-dev/filelock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.24.3
Choose a base ref
...
head repository: tox-dev/filelock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.24.4
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Feb 21, 2026

  1. Suppress ValueError in _try_break_stale_lock for corrupted lock files (

    …#496)
    
    The suppress(OSError) context manager doesn't catch ValueError, which
    is raised by int(pid_str) when the lock file content is corrupted or
    contains non-numeric data on the PID line. This crashes the lock
    acquisition instead of gracefully skipping the stale lock check.
    
    A corrupted lock file should be treated the same as any other
    unreadable lock file — the stale lock check should be skipped
    and acquisition should proceed normally.
    bysiber authored Feb 21, 2026
    Configuration menu
    Copy the full SHA
    a960747 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2026

  1. Fix ValueError in _acquire_transaction_lock when blocking=False with …

    …timeout (#498)
    
    * Fix ValueError in _acquire_transaction_lock when blocking=False with timeout
    
    threading.Lock.acquire() raises ValueError when called with
    blocking=False and a timeout argument, since Python does not allow
    specifying a timeout for a non-blocking call.
    
    Handle blocking=False as a separate branch that never passes a
    timeout, regardless of the timeout parameter value.
    
    * Add test and fix lint for non-blocking with timeout
    
    ---------
    
    Co-authored-by: Kadir Can Ozden <[email protected]>
    gaborbernat and bysiber authored Feb 23, 2026
    Configuration menu
    Copy the full SHA
    721b37b View commit details
    Browse the repository at this point in the history
Loading