summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-joblib_1.2.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-joblib: upgrade 1.2.0 -> 1.3.1Wang Mingyu2023-07-071-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ -Fix compatibility with python 3.7 by vendor loky 3.4.1 which is compatible with this version. #1472 -Ensure native byte order for memmap arrays in joblib.load. #1353 -Add ability to change default Parallel backend in tests by setting the JOBLIB_TESTS_DEFAULT_PARALLEL_BACKEND environment variable. #1356 -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 #1353 -Drop runtime dependency on distutils. distutils is going away in Python 3.12 and is deprecated from Python 3.10 onwards. -A warning is raised when a pickling error occurs during caching operations. -Avoid (module, name) collisions when caching nested functions. -Add cache_validation_callback in :meth:'joblib.Memory.cache', to allow custom cache invalidation based on the metadata of the function call. #1149 -Add a return_as parameter for Parallel, that enables consuming results asynchronously. #1393, #1458 -Improve the behavior of joblib for n_jobs=1, with simplified tracebacks and more efficient running time. #1393 -Add the parallel_config context manager to allow for more fine-grained control over the backend configuration. -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. #1200 -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. #1447 -Vendor loky 3.4.0 which includes various fixes. #1422 -Various updates to the documentation and to benchmarking tools. -Move project metadata to pyproject.toml. #1382, #1433 -Add more tests to improve python nogil support. #1394, #1395 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-joblib: Upgrade 1.1.0 -> 1.2.0Leon Anavi2022-09-191-0/+16
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>