diff mbox series

[meta-python,23/36] python3-joblib: Upgrade 1.5.3 -> 1.6.0

Message ID 20261021110103.1943456-23-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,01/36] python3-cachetools: Upgrade 7.2.3 -> 7.2.4 | expand

Commit Message

Leon Anavi Oct. 21, 2026, 11 a.m. UTC
Upgrade to release 1.6.0:

- Fix caching of functions whose source cannot be retrieved, such
  as functions defined in a notebook cell. Their identity fell back
  to str(hash(func.__code__)), which is salted by PYTHONHASHSEED
  and so differed between processes. A worker reading the
  func_code.py written by another one concluded that the function
  had changed and wiped the whole cache directory for it, discarding
  results computed by its peers. func_code.py is also no longer
  rewritten in place, so a reader can no longer catch it
  half-written and draw the same conclusion.
- Drop python 3.9 support. The oldest supported Python version is
  now Python 3.10.
- Fix eval_expr (used to evaluate the pre_dispatch argument of
  Parallel) to raise a ValueError as documented instead of leaking
  a ZeroDivisionError for expressions that divide or take a modulo
  by zero.
- MemorizedResult now forwards mmap_mode to its store backend, so a
  cached array reconstructed from a location is memory-mapped as
  requested instead of being loaded fully into memory.
- Unvendor cloudpickle to more quickly benefit from maintenance
  releases of cloudpickle
- Fix Memory.cache for functions with a keyword-only argument that
  has a default declared before a keyword-only argument without a
  default.
- Fix behavior of filter_args on some precise cases.
- Fix a concurrency error that could happen with unordered
  generator.
- Fix: dump() now accepts any input os.PathLike object to be
  consistent with load.
- The documentation now uses pydata sphinx theme. Furthermore,
  optional dependencies test and docs have been added to
  pyproject.toml.

Extend RDEPENDS with the missing runtime dependencies:
python3-cloudpickle.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-joblib_1.5.3.bb => python3-joblib_1.6.0.bb}       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-joblib_1.5.3.bb => python3-joblib_1.6.0.bb} (77%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb b/meta-python/recipes-devtools/python/python3-joblib_1.6.0.bb
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb
rename to meta-python/recipes-devtools/python/python3-joblib_1.6.0.bb
index 46b89ba267..b70bd04d87 100644
--- a/meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb
+++ b/meta-python/recipes-devtools/python/python3-joblib_1.6.0.bb
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066"
 
 inherit python_setuptools_build_meta pypi
 
-SRC_URI[sha256sum] = "8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3"
+SRC_URI[sha256sum] = "2ccc96785b12046c08fd6d55839c12857831b54a3c1673ffadd2f04bfc4eda03"
 
 CVE_PRODUCT = "joblib"
 
@@ -14,4 +14,5 @@  RDEPENDS:${PN} += " \
     python3-multiprocessing \
     python3-pprint \
     python3-pydoc \
+    python3-cloudpickle \
 "