diff mbox series

[meta-python,1/4] python3-joblib: Upgrade 1.1.0 -> 1.2.0

Message ID 20220919124142.4025940-1-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/4] python3-joblib: Upgrade 1.1.0 -> 1.2.0 | expand

Commit Message

Leon Anavi Sept. 19, 2022, 12:41 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../python/{python3-joblib_1.1.0.bb => python3-joblib_1.2.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-joblib_1.1.0.bb => python3-joblib_1.2.0.bb} (80%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb b/meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb
rename to meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb
index e69cfefd1..ec02265d1 100644
--- a/meta-python/recipes-devtools/python/python3-joblib_1.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066"
 
 inherit setuptools3 pypi
 
-SRC_URI[sha256sum] = "4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35"
+SRC_URI[sha256sum] = "e1cee4a79e4af22881164f218d4311f60074197fb707e082e803b61f6d137018"
 
 RDEPENDS:${PN} += " \
     python3-asyncio \