From 570b706e6975b545b69d9130ed9dc4f89f0a3823 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 19 Sep 2022 15:41:39 +0300 Subject: python3-joblib: Upgrade 1.1.0 -> 1.2.0 Upgrade to release 1.2.0: - Fix a security issue where eval(pre_dispatch) could potentially run arbitrary code. Now only basic numerics are supported. - Make sure that joblib works even when multiprocessing is not available, for instance with Pyodide. - Avoid unnecessary warnings when workers and main process delete the temporary memmap folder contents concurrently. - Fix memory alignment bug for pickles containing numpy arrays. This is especially important when loading the pickle with mmap_mode != None as the resulting numpy.memmap object would not be able to correct the misalignment without performing a memory copy. This bug would cause invalid computation and segmentation faults with native code that would directly access the underlying data buffer of a numpy array, for instance C/C++/Cython code compiled with older GCC versions or some old OpenBLAS written in platform specific assembly. - Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+. - Vendor loky 3.3.0 which fixes several bugs including: * robustly forcibly terminating worker processes in case of a crash * avoiding leaking worker processes in case of nested loky parallel calls * reliability spawn the correct number of reusable workers Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-joblib_1.1.0.bb | 16 ---------------- .../recipes-devtools/python/python3-joblib_1.2.0.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb b/meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb deleted file mode 100644 index e69cfefd1f..0000000000 --- a/meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Joblib is a set of tools to provide lightweight pipelining in Python." -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" - -inherit setuptools3 pypi - -SRC_URI[sha256sum] = "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35" - -RDEPENDS:${PN} += " \ - python3-asyncio \ - python3-distutils \ - python3-json \ - python3-multiprocessing \ - python3-pprint \ - python3-pydoc \ -" diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb b/meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb new file mode 100644 index 0000000000..ec02265d1e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Joblib is a set of tools to provide lightweight pipelining in Python." +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" + +inherit setuptools3 pypi + +SRC_URI[sha256sum] = "e1cee4a79e4af22881164f218d4311f60074197fb707e082e803b61f6d137018" + +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-distutils \ + python3-json \ + python3-multiprocessing \ + python3-pprint \ + python3-pydoc \ +" -- cgit v1.2.3-54-g00ecf