#1140861 joblib: autopkgtest regression with pytest 9.1

#1140861#5
Date:
2026-06-27 21:23:06 UTC
From:
To:
Dear maintainer,

According to https://ci.debian.net data, your package joblib has an
autopkgtest regression with pytest.

The following architectures failed: amd64, arm64, i386, loong64,
ppc64el, riscv64, s390x.

Hopefully relevant excerpt from
https://ci.debian.net/packages/j/joblib/testing/amd64/72543018/
follows:

 81s test/test_memory.py::TestCacheValidationCallback::test_invalid_cache_validation_callback ERROR [ 46%]
 81s test/test_memory.py::TestCacheValidationCallback::test_constant_cache_validation_callback[True] ERROR [ 46%]
 81s test/test_memory.py::TestCacheValidationCallback::test_constant_cache_validation_callback[False] ERROR [ 46%]
 81s test/test_memory.py::TestCacheValidationCallback::test_memory_only_cache_long_run ERROR [ 46%]
 81s test/test_memory.py::TestCacheValidationCallback::test_memory_expires_after ERROR [ 46%]
 81s test/test_memory.py::TestMemorizedFunc::test_call_method_memorized ERROR [ 46%]
 81s test/test_memory.py::TestMemorizedFunc::test_call_method_not_memorized ERROR [ 46%]
 84s test/test_memory_async.py::test_memorized_func_call_async ERROR          [ 47%]
206s ==================================== ERRORS ====================================
206s _ ERROR at setup of TestCacheValidationCallback.test_invalid_cache_validation_callback _
206s E       fixture 'memory' not found
206s _ ERROR at setup of TestCacheValidationCallback.test_constant_cache_validation_callback[True] _
206s E       fixture 'memory' not found
206s _ ERROR at setup of TestCacheValidationCallback.test_constant_cache_validation_callback[False] _
206s E       fixture 'memory' not found
206s _ ERROR at setup of TestCacheValidationCallback.test_memory_only_cache_long_run _
206s E       fixture 'memory' not found
206s ___ ERROR at setup of TestCacheValidationCallback.test_memory_expires_after ____
206s E       fixture 'memory' not found
206s ________ ERROR at setup of TestMemorizedFunc.test_call_method_memorized ________
206s E       fixture 'memory' not found
206s ______ ERROR at setup of TestMemorizedFunc.test_call_method_not_memorized ______
206s E       fixture 'memory' not found
206s _______________ ERROR at setup of test_memorized_func_call_async _______________
206s E       fixture 'memory' not found
206s   ValueError: I/O operation on closed file.
206s ERROR test/test_memory.py::TestCacheValidationCallback::test_invalid_cache_validation_callback
206s ERROR test/test_memory.py::TestCacheValidationCallback::test_constant_cache_validation_callback[True]
206s ERROR test/test_memory.py::TestCacheValidationCallback::test_constant_cache_validation_callback[False]
206s ERROR test/test_memory.py::TestCacheValidationCallback::test_memory_only_cache_long_run
206s ERROR test/test_memory.py::TestCacheValidationCallback::test_memory_expires_after
206s ERROR test/test_memory.py::TestMemorizedFunc::test_call_method_memorized
206s ERROR test/test_memory.py::TestMemorizedFunc::test_call_method_not_memorized
206s ERROR test/test_memory_async.py::test_memorized_func_call_async
207s pytest               FAIL non-zero exit status 1
261s pytest               FAIL non-zero exit status 1