From ba4d2ca6651d0d6da7cb0d9836d1ac3c66a0ec28ea5bcef2f3ba9b05567b15ab Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 7 Jan 2019 20:40:52 +0000 Subject: [PATCH] Accepting request 663427 from home:TheBlackCat:branches:devel:languages:python - update to Release 0.13.0 * Include loky 2.4.2 with default serialization with ``cloudpickle``. This can be tweaked with the environment variable ``LOKY_PICKLER``. * Fix nested backend in SequentialBackend to avoid changing the default backend to Sequential. (#792) * Fix nested_backend behavior to avoid setting the default number of workers to -1 when the backend is not dask. (#784) - Update to Release 0.12.5 * Include loky 2.3.1 with better error reporting when a worker is abruptly terminated. Also fixes spurious debug output. * Include cloudpickle 0.5.6. Fix a bug with the handling of global variables by locally defined functions. - Update to Release 0.12.4 * Include loky 2.3.0 with many bugfixes, notably w.r.t. when setting non-default multiprocessing contexts. Also include improvement on memory management of long running worker processes and fixed issues when using the loky backend under PyPy. * Raises a more explicit exception when a corrupted MemorizedResult is loaded. * Loading a corrupted cached file with mmap mode enabled would recompute the results and return them without memmory mapping. - Update to Release 0.12.3 * Fix joblib import setting the global start_method for multiprocessing. * Fix MemorizedResult not picklable (#747). * Fix Memory, MemorizedFunc and MemorizedResult round-trip pickling + unpickling (#746). * Fixed a regression in Memory when positional arguments are called as kwargs several times with different values (#751). * Integration of loky 2.2.2 that fixes issues with the selection of the default start method and improve the reporting when calling functions with arguments that raise an exception when unpickling. * Prevent MemorizedFunc.call_and_shelve from loading cached results to RAM when not necessary. Results in big performance improvements - Update to Release 0.12.2 * Integrate loky 2.2.0 to fix regression with unpicklable arguments and functions reported by users (#723, #643). * Loky 2.2.0 also provides a protection against memory leaks long running applications when psutil is installed (reported as #721). * Joblib now includes the code for the dask backend which has been updated to properly handle nested parallelism and data scattering at the same time (#722). * Restored some private API attribute and arguments (`MemorizedResult.argument_hash` and `BatchedCalls.__init__`'s `pickle_cache`) for backward compat. (#716, #732). * Fix a deprecation warning message (for `Memory`'s `cachedir`) (#720). OBS-URL: https://build.opensuse.org/request/show/663427 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=20 --- joblib-0.12.1.tar.gz | 3 --- joblib-0.13.0.tar.gz | 3 +++ python-joblib.changes | 48 +++++++++++++++++++++++++++++++++++++++++++ python-joblib.spec | 10 +++++++-- 4 files changed, 59 insertions(+), 5 deletions(-) delete mode 100644 joblib-0.12.1.tar.gz create mode 100644 joblib-0.13.0.tar.gz diff --git a/joblib-0.12.1.tar.gz b/joblib-0.12.1.tar.gz deleted file mode 100644 index b18e14d..0000000 --- a/joblib-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:68e6128e4734196616a39e2d48830ec7d61551c7f5748849e4c91478d2444524 -size 268415 diff --git a/joblib-0.13.0.tar.gz b/joblib-0.13.0.tar.gz new file mode 100644 index 0000000..a2a1676 --- /dev/null +++ b/joblib-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:651fdd4888cdefa39f65c942e33ba1a610d395acd9c1d787adbda1a6beb22218 +size 1576411 diff --git a/python-joblib.changes b/python-joblib.changes index 9613385..7611ee9 100644 --- a/python-joblib.changes +++ b/python-joblib.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Mon Jan 7 19:39:00 UTC 2019 - Todd R + +- update to Release 0.13.0 + * Include loky 2.4.2 with default serialization with ``cloudpickle``. + This can be tweaked with the environment variable ``LOKY_PICKLER``. + * Fix nested backend in SequentialBackend to avoid changing the default + backend to Sequential. (#792) + * Fix nested_backend behavior to avoid setting the default number of + workers to -1 when the backend is not dask. (#784) +- Update to Release 0.12.5 + * Include loky 2.3.1 with better error reporting when a worker is + abruptly terminated. Also fixes spurious debug output. + * Include cloudpickle 0.5.6. Fix a bug with the handling of global + variables by locally defined functions. +- Update to Release 0.12.4 + * Include loky 2.3.0 with many bugfixes, notably w.r.t. when setting + non-default multiprocessing contexts. Also include improvement on + memory management of long running worker processes and fixed issues + when using the loky backend under PyPy. + * Raises a more explicit exception when a corrupted MemorizedResult is loaded. + * Loading a corrupted cached file with mmap mode enabled would + recompute the results and return them without memmory mapping. +- Update to Release 0.12.3 + * Fix joblib import setting the global start_method for multiprocessing. + * Fix MemorizedResult not picklable (#747). + * Fix Memory, MemorizedFunc and MemorizedResult round-trip pickling + + unpickling (#746). + * Fixed a regression in Memory when positional arguments are called as + kwargs several times with different values (#751). + * Integration of loky 2.2.2 that fixes issues with the selection of the + default start method and improve the reporting when calling functions + with arguments that raise an exception when unpickling. + * Prevent MemorizedFunc.call_and_shelve from loading cached results to + RAM when not necessary. Results in big performance improvements +- Update to Release 0.12.2 + * Integrate loky 2.2.0 to fix regression with unpicklable arguments and + functions reported by users (#723, #643). + * Loky 2.2.0 also provides a protection against memory leaks long running + applications when psutil is installed (reported as #721). + * Joblib now includes the code for the dask backend which has been updated + to properly handle nested parallelism and data scattering at the same + time (#722). + * Restored some private API attribute and arguments + (`MemorizedResult.argument_hash` and `BatchedCalls.__init__`'s + `pickle_cache`) for backward compat. (#716, #732). + * Fix a deprecation warning message (for `Memory`'s `cachedir`) (#720). + ------------------------------------------------------------------- Thu Jan 3 07:07:28 UTC 2019 - Tomáš Chvátal diff --git a/python-joblib.spec b/python-joblib.spec index dfea808..fee7f1a 100644 --- a/python-joblib.spec +++ b/python-joblib.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-joblib -Version: 0.12.1 +Version: 0.13.0 Release: 0 Summary: Module for using Python functions as pipeline jobs License: BSD-3-Clause @@ -32,8 +32,11 @@ Recommends: python-numpy BuildArch: noarch BuildRequires: %{python_module lz4} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} Requires: python-lz4 +Recommends: python-numpy +Recommends: python-psutil %python_subpackages %description @@ -60,7 +63,10 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} joblib -k 'not test_no_blas_crash_or_freeze_with_subprocesses' +export LANG=en_US.UTF-8 +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +py.test-%{$python_bin_suffix} joblib -k 'not test_no_blas_crash_or_freeze_with_subprocesses' +} %files %{python_files} %license LICENSE.txt