Skip to content

Test failures in test_xdr.py test_offset_lock_created method #5236

@PardhavMaradani

Description

@PardhavMaradani

A lot of tests are currently failing on develop with the following two failures:

FAILED testsuite/MDAnalysisTests/coordinates/test_xdr.py::TestXTCReader_offsets::test_offset_lock_created - AssertionError: assert False
FAILED testsuite/MDAnalysisTests/coordinates/test_xdr.py::TestTRRReader_offsets::test_offset_lock_created - AssertionError: assert False

The reason for these failures is a change in the filelock version. I was able to reproduce this on a local setup. filelock up until 3.20.3 didn't cause any problem. Anything above, causes these errors - see filelock release history. A quick search of the changes after 3.20.3 (see diff), seem to indicate that this could be due to changes in their PR 408 that deletes the lock file on release, but we aren't handling it and still checking for it's presence. Thanks

ps. filelock 3.20.4 was released on Feb 12, 2026 and this checks out with when we started having these test failures.

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