Debian Patches

Status for fscacher/0.5.0-0.1

Patch Description Author Forwarded Bugs Origin Last update
0001-Make-cache-timing-tests-deterministic.patch Make cache timing tests deterministic
The cache measures file age from mtime, while the tests measured elapsed
wall time from a later t0. Scheduling delays or coarse file timestamps
can therefore make a cache hit correct even when the tests expect two
direct reads. Catching AssertionError or retrying the test also hides
regressions instead of checking the intended behavior.

Control only the cache module's clock and anchor it to the timestamps
actually stored by the filesystem. Check both bypass and cache-hit
behavior without sleeps or conditional assertions. Retain real file I/O,
force a distinct mtime for the same-size rewrite, and verify invalidation
with the same arguments outside the recent-file window.

Add explicit checks for positive and negative ages, the strict window
boundary, empty directories, and selection of the latest child mtime.
The runtime implementation and joblib's clock are unchanged.
Boyuan Yang <byang@debian.org> no debian upstream 2026-10-26
0001-Make-fscacher.tests-self-contained.patch Make fscacher.tests self-contained
So that autopkgtest-pkg-pybuild can correctly recognize
the test scripts.

See also https://lists.debian.org/debian-python/2024/11/msg00016.html
Boyuan Yang <byang@debian.org> no 2024-11-28

All known versions for source package 'fscacher'

Links