Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor loky 3.1.0 #1269

Merged
merged 2 commits into from Feb 23, 2022
Merged

Vendor loky 3.1.0 #1269

merged 2 commits into from Feb 23, 2022

Conversation

ogrisel
Copy link
Contributor

@ogrisel ogrisel commented Feb 23, 2022

  • code clean-up to remove unused backport code;
  • more robust worker process terminations in case of a crash.

@codecov
Copy link

codecov bot commented Feb 23, 2022

Codecov Report

Merging #1269 (3ba5bde) into master (4c1643a) will increase coverage by 0.18%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1269      +/-   ##
==========================================
+ Coverage   88.28%   88.46%   +0.18%     
==========================================
  Files          50       50              
  Lines        7118     7118              
==========================================
+ Hits         6284     6297      +13     
+ Misses        834      821      -13     
Impacted Files Coverage Δ
joblib/test/test_parallel.py 95.74% <0.00%> (+1.53%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c1643a...3ba5bde. Read the comment docs.

@ogrisel ogrisel merged commit 7c1ac79 into joblib:master Feb 23, 2022
@ogrisel ogrisel deleted the loky-3.1.0 branch February 23, 2022 10:43
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Nov 22, 2022
Release 1.2.0
Fix a security issue where eval(pre_dispatch) could potentially run arbitrary code. Now only basic numerics are supported. joblib/joblib#1327
Make sure that joblib works even when multiprocessing is not available, for instance with Pyodide joblib/joblib#1256
Avoid unnecessary warnings when workers and main process delete the temporary memmap folder contents concurrently. joblib/joblib#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. joblib/joblib#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 (joblib/joblib#1269);
avoiding leaking worker processes in case of nested loky parallel calls;
reliability spawn the correct number of reusable workers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant