pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-joblib py-joblib: updated to 1.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c95817981692
branches:  trunk
changeset: 388479:c95817981692
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 21 09:35:31 2022 +0000

description:
py-joblib: updated to 1.2.0

Release 1.2.0
Fix a security issue where eval(pre_dispatch) could potentially run arbitrary code. Now only basic numerics are supported. https://github.com/joblib/joblib/pull/1327
Make sure that joblib works even when multiprocessing is not available, for instance with Pyodide https://github.com/joblib/joblib/pull/1256
Avoid unnecessary warnings when workers and main process delete the temporary memmap folder contents concurrently. https://github.com/joblib/joblib/pull/1263
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. https://github.com/joblib/joblib/pull/1254
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 (https://github.com/joblib/joblib/pull/1269);
avoiding leaking worker processes in case of nested loky parallel calls;
reliability spawn the correct number of reusable workers.

diffstat:

 devel/py-joblib/Makefile |   5 ++---
 devel/py-joblib/PLIST    |  38 ++++++++++++++++----------------------
 devel/py-joblib/distinfo |   8 ++++----
 3 files changed, 22 insertions(+), 29 deletions(-)

diffs (130 lines):

diff -r b0053f505475 -r c95817981692 devel/py-joblib/Makefile
--- a/devel/py-joblib/Makefile  Mon Nov 21 09:21:31 2022 +0000
+++ b/devel/py-joblib/Makefile  Mon Nov 21 09:35:31 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2022/01/04 20:53:13 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2022/11/21 09:35:31 adam Exp $
 
-DISTNAME=      joblib-1.1.0
+DISTNAME=      joblib-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/joblib/}
 
diff -r b0053f505475 -r c95817981692 devel/py-joblib/PLIST
--- a/devel/py-joblib/PLIST     Mon Nov 21 09:21:31 2022 +0000
+++ b/devel/py-joblib/PLIST     Mon Nov 21 09:35:31 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2021/10/07 19:38:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2022/11/21 09:35:31 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -6,6 +6,9 @@
 ${PYSITELIB}/joblib/__init__.py
 ${PYSITELIB}/joblib/__init__.pyc
 ${PYSITELIB}/joblib/__init__.pyo
+${PYSITELIB}/joblib/_cloudpickle_wrapper.py
+${PYSITELIB}/joblib/_cloudpickle_wrapper.pyc
+${PYSITELIB}/joblib/_cloudpickle_wrapper.pyo
 ${PYSITELIB}/joblib/_dask.py
 ${PYSITELIB}/joblib/_dask.pyc
 ${PYSITELIB}/joblib/_dask.pyo
@@ -27,6 +30,9 @@
 ${PYSITELIB}/joblib/_store_backends.py
 ${PYSITELIB}/joblib/_store_backends.pyc
 ${PYSITELIB}/joblib/_store_backends.pyo
+${PYSITELIB}/joblib/_utils.py
+${PYSITELIB}/joblib/_utils.pyc
+${PYSITELIB}/joblib/_utils.pyo
 ${PYSITELIB}/joblib/backports.py
 ${PYSITELIB}/joblib/backports.pyc
 ${PYSITELIB}/joblib/backports.pyo
@@ -66,33 +72,15 @@
 ${PYSITELIB}/joblib/externals/loky/backend/_posix_reduction.py
 ${PYSITELIB}/joblib/externals/loky/backend/_posix_reduction.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/_posix_reduction.pyo
-${PYSITELIB}/joblib/externals/loky/backend/_posix_wait.py
-${PYSITELIB}/joblib/externals/loky/backend/_posix_wait.pyc
-${PYSITELIB}/joblib/externals/loky/backend/_posix_wait.pyo
 ${PYSITELIB}/joblib/externals/loky/backend/_win_reduction.py
 ${PYSITELIB}/joblib/externals/loky/backend/_win_reduction.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/_win_reduction.pyo
-${PYSITELIB}/joblib/externals/loky/backend/_win_wait.py
-${PYSITELIB}/joblib/externals/loky/backend/_win_wait.pyc
-${PYSITELIB}/joblib/externals/loky/backend/_win_wait.pyo
-${PYSITELIB}/joblib/externals/loky/backend/compat.py
-${PYSITELIB}/joblib/externals/loky/backend/compat.pyc
-${PYSITELIB}/joblib/externals/loky/backend/compat.pyo
-${PYSITELIB}/joblib/externals/loky/backend/compat_posix.py
-${PYSITELIB}/joblib/externals/loky/backend/compat_posix.pyc
-${PYSITELIB}/joblib/externals/loky/backend/compat_posix.pyo
-${PYSITELIB}/joblib/externals/loky/backend/compat_win32.py
-${PYSITELIB}/joblib/externals/loky/backend/compat_win32.pyc
-${PYSITELIB}/joblib/externals/loky/backend/compat_win32.pyo
 ${PYSITELIB}/joblib/externals/loky/backend/context.py
 ${PYSITELIB}/joblib/externals/loky/backend/context.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/context.pyo
 ${PYSITELIB}/joblib/externals/loky/backend/fork_exec.py
 ${PYSITELIB}/joblib/externals/loky/backend/fork_exec.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/fork_exec.pyo
-${PYSITELIB}/joblib/externals/loky/backend/managers.py
-${PYSITELIB}/joblib/externals/loky/backend/managers.pyc
-${PYSITELIB}/joblib/externals/loky/backend/managers.pyo
 ${PYSITELIB}/joblib/externals/loky/backend/popen_loky_posix.py
 ${PYSITELIB}/joblib/externals/loky/backend/popen_loky_posix.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/popen_loky_posix.pyo
@@ -111,9 +99,6 @@
 ${PYSITELIB}/joblib/externals/loky/backend/resource_tracker.py
 ${PYSITELIB}/joblib/externals/loky/backend/resource_tracker.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/resource_tracker.pyo
-${PYSITELIB}/joblib/externals/loky/backend/semlock.py
-${PYSITELIB}/joblib/externals/loky/backend/semlock.pyc
-${PYSITELIB}/joblib/externals/loky/backend/semlock.pyo
 ${PYSITELIB}/joblib/externals/loky/backend/spawn.py
 ${PYSITELIB}/joblib/externals/loky/backend/spawn.pyc
 ${PYSITELIB}/joblib/externals/loky/backend/spawn.pyo
@@ -248,6 +233,9 @@
 ${PYSITELIB}/joblib/test/test_backports.py
 ${PYSITELIB}/joblib/test/test_backports.pyc
 ${PYSITELIB}/joblib/test/test_backports.pyo
+${PYSITELIB}/joblib/test/test_cloudpickle_wrapper.py
+${PYSITELIB}/joblib/test/test_cloudpickle_wrapper.pyc
+${PYSITELIB}/joblib/test/test_cloudpickle_wrapper.pyo
 ${PYSITELIB}/joblib/test/test_dask.py
 ${PYSITELIB}/joblib/test/test_dask.pyc
 ${PYSITELIB}/joblib/test/test_dask.pyo
@@ -281,6 +269,9 @@
 ${PYSITELIB}/joblib/test/test_memory.py
 ${PYSITELIB}/joblib/test/test_memory.pyc
 ${PYSITELIB}/joblib/test/test_memory.pyo
+${PYSITELIB}/joblib/test/test_missing_multiprocessing.py
+${PYSITELIB}/joblib/test/test_missing_multiprocessing.pyc
+${PYSITELIB}/joblib/test/test_missing_multiprocessing.pyo
 ${PYSITELIB}/joblib/test/test_module.py
 ${PYSITELIB}/joblib/test/test_module.pyc
 ${PYSITELIB}/joblib/test/test_module.pyo
@@ -305,6 +296,9 @@
 ${PYSITELIB}/joblib/test/test_testing.py
 ${PYSITELIB}/joblib/test/test_testing.pyc
 ${PYSITELIB}/joblib/test/test_testing.pyo
+${PYSITELIB}/joblib/test/test_utils.py
+${PYSITELIB}/joblib/test/test_utils.pyc
+${PYSITELIB}/joblib/test/test_utils.pyo
 ${PYSITELIB}/joblib/test/testutils.py
 ${PYSITELIB}/joblib/test/testutils.pyc
 ${PYSITELIB}/joblib/test/testutils.pyo
diff -r b0053f505475 -r c95817981692 devel/py-joblib/distinfo
--- a/devel/py-joblib/distinfo  Mon Nov 21 09:21:31 2022 +0000
+++ b/devel/py-joblib/distinfo  Mon Nov 21 09:35:31 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2021/10/26 10:18:36 nia Exp $
+$NetBSD: distinfo,v 1.16 2022/11/21 09:35:31 adam Exp $
 
-BLAKE2s (joblib-1.1.0.tar.gz) = 4f35534a8da282325a3183866228ab13b4f4d489ab95744b4e1af198bdb442bf
-SHA512 (joblib-1.1.0.tar.gz) = d9062935b48d527c469e3606072a13dafd60c4b67cf218683d05f0c66de1281fcaad95c8c4d687b564b9ff0261c9263c184aec4a51bcf9731a6f787f503015fb
-Size (joblib-1.1.0.tar.gz) = 2063601 bytes
+BLAKE2s (joblib-1.2.0.tar.gz) = 3f79002d42eb52a8b0aa20dea5e4f354e1ef9460fe340eea1ba17a867f710288
+SHA512 (joblib-1.2.0.tar.gz) = 482e085f014ef7247d0717440eede106d0783e5400edc54066f804fdf76580ac641a8b7632187b497a52e919bc293ad3a7b05cf8ecb5733c064354b788a0cb15
+Size (joblib-1.2.0.tar.gz) = 313200 bytes



Home | Main Index | Thread Index | Old Index