Skip to content

CI failure: filelock 3.21.0 deletes lock files on release, breaking test_auto_deps_lock.py #515

@Serhan-Asad

Description

@Serhan-Asad

Problem

CI is failing on every PR and push to main. The failing test is:

FAILED tests/test_auto_deps_lock.py::TestConcurrentAutoDeps::test_concurrent_calls_serialize_and_share_cache
tests/test_auto_deps_lock.py:128: in test_concurrent_calls_serialize_and_share_cache
    assert lock_file.exists(), "Lock file should be in tmp_path"
E   AssertionError: Lock file should be in tmp_path

The test passes locally but fails in CI (GitHub Actions, Ubuntu, Python 3.12.12). This started happening around Feb 12, 2026.

Impact

PRs are blocked from merging since CI is red.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions