pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-joblib



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Nov  3 10:35:53 UTC 2023

Modified Files:
        pkgsrc/devel/py-joblib: Makefile PLIST distinfo

Log Message:
py-joblib: updated to 1.3.2

Release 1.3.2 -- 2023/08/08

Fix a regression in joblib.Parallel introduced in 1.3.0 where explicitly setting n_jobs=None was not interpreted as "unset".
Fix a regression in joblib.Parallel introduced in 1.3.0 where joblib.Parallel logging methods exposed from inheritance to joblib.Logger didn't work because of missing logger initialization.
Various maintenance updates to the doc, the ci and the test.

Release 1.3.1 -- 2023/06/29

Fix compatibility with python 3.7 by vendor loky 3.4.1 which is compatible with this version.

Release 1.3.0 -- 2023/06/28

Ensure native byte order for memmap arrays in joblib.load.
Add ability to change default Parallel backend in tests by setting the JOBLIB_TESTS_DEFAULT_PARALLEL_BACKEND environment variable.
Fix temporary folder creation in joblib.Parallel on Linux subsystems on Windows which do have /dev/shm but don't have the os.statvfs function
Drop runtime dependency on distutils. distutils is going away in Python 3.12 and is deprecated from Python 3.10 onwards. This import was kept around to avoid breaking scikit-learn, however it's now 
been long enough since scikit-learn deployed a fixed (verion 1.1 was released in May 2022) that it should be safe to remove this.
A warning is raised when a pickling error occurs during caching operations. In version 1.5, this warning will be turned into an error. For all other errors, a new warning has been introduced: 
joblib.memory.CacheWarning.
Avoid (module, name) collisions when caching nested functions. This fix changes the module name of nested functions, invalidating caches from previous versions of Joblib.
Add cache_validation_callback in :meth:`joblib.Memory.cache`, to allow custom cache invalidation based on the metadata of the function call.
Add a return_as parameter for Parallel, that enables consuming results asynchronously.
Improve the behavior of joblib for n_jobs=1, with simplified tracebacks and more efficient running time.
Add the parallel_config context manager to allow for more fine-grained control over the backend configuration. It should be used in place of the parallel_backend context manager. In particular, it 
has the advantage of not requiring to set a specific backend in the context manager.
Add items_limit and age_limit in :meth:`joblib.Memory.reduce_size` to make it easy to limit the number of items and remove items that have not been accessed for a long time in the cache.
Deprecate bytes_limit in Memory as this is not automatically enforced, the limit can be directly passed to :meth:`joblib.Memory.reduce_size` which needs to be called to actually enforce the limit.
Vendor loky 3.4.0 which includes various fixes.
Various updates to the documentation and to benchmarking tools.
Move project metadata to pyproject.toml.
Add more tests to improve python nogil support.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-joblib/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-joblib/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-joblib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-joblib/Makefile
diff -u pkgsrc/devel/py-joblib/Makefile:1.15 pkgsrc/devel/py-joblib/Makefile:1.16
--- pkgsrc/devel/py-joblib/Makefile:1.15        Mon Nov 21 09:35:31 2022
+++ pkgsrc/devel/py-joblib/Makefile     Fri Nov  3 10:35:53 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2022/11/21 09:35:31 adam Exp $
+# $NetBSD: Makefile,v 1.16 2023/11/03 10:35:53 adam Exp $
 
-DISTNAME=      joblib-1.2.0
+DISTNAME=      joblib-1.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/joblib/}
@@ -10,13 +10,12 @@ HOMEPAGE=   https://joblib.readthedocs.io/
 COMMENT=       Set of tools to provide lightweight pipelining
 LICENSE=       modified-bsd
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-joblib/PLIST
diff -u pkgsrc/devel/py-joblib/PLIST:1.9 pkgsrc/devel/py-joblib/PLIST:1.10
--- pkgsrc/devel/py-joblib/PLIST:1.9    Mon Nov 21 09:35:31 2022
+++ pkgsrc/devel/py-joblib/PLIST        Fri Nov  3 10:35:53 2023
@@ -1,8 +1,9 @@
-@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
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.10 2023/11/03 10:35:53 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/joblib/__init__.py
 ${PYSITELIB}/joblib/__init__.pyc
 ${PYSITELIB}/joblib/__init__.pyo
@@ -12,12 +13,6 @@ ${PYSITELIB}/joblib/_cloudpickle_wrapper
 ${PYSITELIB}/joblib/_dask.py
 ${PYSITELIB}/joblib/_dask.pyc
 ${PYSITELIB}/joblib/_dask.pyo
-${PYSITELIB}/joblib/_deprecated_format_stack.py
-${PYSITELIB}/joblib/_deprecated_format_stack.pyc
-${PYSITELIB}/joblib/_deprecated_format_stack.pyo
-${PYSITELIB}/joblib/_deprecated_my_exceptions.py
-${PYSITELIB}/joblib/_deprecated_my_exceptions.pyc
-${PYSITELIB}/joblib/_deprecated_my_exceptions.pyo
 ${PYSITELIB}/joblib/_memmapping_reducer.py
 ${PYSITELIB}/joblib/_memmapping_reducer.pyc
 ${PYSITELIB}/joblib/_memmapping_reducer.pyo
@@ -120,9 +115,6 @@ ${PYSITELIB}/joblib/externals/loky/proce
 ${PYSITELIB}/joblib/externals/loky/reusable_executor.py
 ${PYSITELIB}/joblib/externals/loky/reusable_executor.pyc
 ${PYSITELIB}/joblib/externals/loky/reusable_executor.pyo
-${PYSITELIB}/joblib/format_stack.py
-${PYSITELIB}/joblib/format_stack.pyc
-${PYSITELIB}/joblib/format_stack.pyo
 ${PYSITELIB}/joblib/func_inspect.py
 ${PYSITELIB}/joblib/func_inspect.pyc
 ${PYSITELIB}/joblib/func_inspect.pyo
@@ -135,9 +127,6 @@ ${PYSITELIB}/joblib/logger.pyo
 ${PYSITELIB}/joblib/memory.py
 ${PYSITELIB}/joblib/memory.pyc
 ${PYSITELIB}/joblib/memory.pyo
-${PYSITELIB}/joblib/my_exceptions.py
-${PYSITELIB}/joblib/my_exceptions.pyc
-${PYSITELIB}/joblib/my_exceptions.pyo
 ${PYSITELIB}/joblib/numpy_pickle.py
 ${PYSITELIB}/joblib/numpy_pickle.pyc
 ${PYSITELIB}/joblib/numpy_pickle.pyo
@@ -236,18 +225,15 @@ ${PYSITELIB}/joblib/test/test_backports.
 ${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_config.py
+${PYSITELIB}/joblib/test/test_config.pyc
+${PYSITELIB}/joblib/test/test_config.pyo
 ${PYSITELIB}/joblib/test/test_dask.py
 ${PYSITELIB}/joblib/test/test_dask.pyc
 ${PYSITELIB}/joblib/test/test_dask.pyo
-${PYSITELIB}/joblib/test/test_deprecated_objects.py
-${PYSITELIB}/joblib/test/test_deprecated_objects.pyc
-${PYSITELIB}/joblib/test/test_deprecated_objects.pyo
 ${PYSITELIB}/joblib/test/test_disk.py
 ${PYSITELIB}/joblib/test/test_disk.pyc
 ${PYSITELIB}/joblib/test/test_disk.pyo
-${PYSITELIB}/joblib/test/test_format_stack.py
-${PYSITELIB}/joblib/test/test_format_stack.pyc
-${PYSITELIB}/joblib/test/test_format_stack.pyo
 ${PYSITELIB}/joblib/test/test_func_inspect.py
 ${PYSITELIB}/joblib/test/test_func_inspect.pyc
 ${PYSITELIB}/joblib/test/test_func_inspect.pyo
@@ -275,9 +261,6 @@ ${PYSITELIB}/joblib/test/test_missing_mu
 ${PYSITELIB}/joblib/test/test_module.py
 ${PYSITELIB}/joblib/test/test_module.pyc
 ${PYSITELIB}/joblib/test/test_module.pyo
-${PYSITELIB}/joblib/test/test_my_exceptions.py
-${PYSITELIB}/joblib/test/test_my_exceptions.pyc
-${PYSITELIB}/joblib/test/test_my_exceptions.pyo
 ${PYSITELIB}/joblib/test/test_numpy_pickle.py
 ${PYSITELIB}/joblib/test/test_numpy_pickle.pyc
 ${PYSITELIB}/joblib/test/test_numpy_pickle.pyo

Index: pkgsrc/devel/py-joblib/distinfo
diff -u pkgsrc/devel/py-joblib/distinfo:1.16 pkgsrc/devel/py-joblib/distinfo:1.17
--- pkgsrc/devel/py-joblib/distinfo:1.16        Mon Nov 21 09:35:31 2022
+++ pkgsrc/devel/py-joblib/distinfo     Fri Nov  3 10:35:53 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2022/11/21 09:35:31 adam Exp $
+$NetBSD: distinfo,v 1.17 2023/11/03 10:35:53 adam Exp $
 
-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
+BLAKE2s (joblib-1.3.2.tar.gz) = 6f3ff669b1222cd1bb387d989b636936fc17a8b01c5ea27d98f6ee2405f8aae5
+SHA512 (joblib-1.3.2.tar.gz) = 9b5acba1321351cf2ae548161ced18774b8b316aaf883cc8e77bf58898d1913361a3845d64f1f1f87e4e2394eafd92e0a6a8d67947db0c9a95a40e5f579baae6
+Size (joblib-1.3.2.tar.gz) = 1987720 bytes



Home | Main Index | Thread Index | Old Index