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>