14
0
forked from pool/python-joblib
Commit Graph

69 Commits

Author SHA256 Message Date
07578dcf08 Accepting request 1254192 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1254192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=27
2025-03-20 18:24:34 +00:00
d6133bf553 Accepting request 1254191 from home:mcalabkova:branches:devel:languages:python
- Add numpy22.patch to fix doctests with numpy 2.2

OBS-URL: https://build.opensuse.org/request/show/1254191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=67
2025-03-18 16:31:19 +00:00
c2fcae9309 Accepting request 1172881 from devel:languages:python
- update to 1.4.2:
  * Due to maintenance issues, 1.4.1 was not valid and we bumped
    the version to 1.4.2
  * Fix a backward incompatible change in MemorizedFunc.call
    which needs to return the metadata. Also make sure that
    NotMemorizedFunc.call return an empty dict for metadata for
    consistency. https://github.com/joblib/joblib/pull/1576

OBS-URL: https://build.opensuse.org/request/show/1172881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=26
2024-05-11 16:18:48 +00:00
f75a6e5ed9 - update to 1.4.2:
* Due to maintenance issues, 1.4.1 was not valid and we bumped
    the version to 1.4.2
  * Fix a backward incompatible change in MemorizedFunc.call
    which needs to return the metadata. Also make sure that
    NotMemorizedFunc.call return an empty dict for metadata for
    consistency. https://github.com/joblib/joblib/pull/1576

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=65
2024-05-09 08:37:38 +00:00
91e290285a Accepting request 1169420 from devel:languages:python
- update to 1.4.0:
  * Allow caching co-routines with Memory.cache.
  * Try to cast n_jobs to int in parallel and raise an error if
    it fails. This means that n_jobs=2.3 will now result in
    effective_n_jobs=2 instead of failing.
  * Ensure that errors in the task generator given to Parallel's
    call are raised in the results consumming thread.
  * Adjust codebase to NumPy 2.0 by changing np.NaN to np.nan and
    importing byte_bounds from np.lib.array_utils.
  * The parameter return_as in joblib.Parallel can now be set to
    generator_unordered. In this case the results will be
    returned in the order of task completion rather than the
    order of submission.
  * dask backend now supports return_as=generator and
    return_as=generator_unordered.
  * Vendor cloudpickle 3.0.0 and end support for Python 3.7 which
    has reached end of life.
- drop avoid-deprecated-ast.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1169420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=25
2024-04-23 16:54:56 +00:00
32812371fb OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=63 2024-04-20 21:07:51 +00:00
b1784a7666 - update to 1.4.0:
* Allow caching co-routines with Memory.cache.
  * Try to cast n_jobs to int in parallel and raise an error if
    it fails. This means that n_jobs=2.3 will now result in
    effective_n_jobs=2 instead of failing.
  * Ensure that errors in the task generator given to Parallel's
    call are raised in the results consumming thread.
  * Adjust codebase to NumPy 2.0 by changing np.NaN to np.nan and
    importing byte_bounds from np.lib.array_utils.
  * The parameter return_as in joblib.Parallel can now be set to
    generator_unordered. In this case the results will be
    returned in the order of task completion rather than the
    order of submission.
  * dask backend now supports return_as=generator and
    return_as=generator_unordered.
  * Vendor cloudpickle 3.0.0 and end support for Python 3.7 which
    has reached end of life.
- drop avoid-deprecated-ast.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=62
2024-04-20 21:07:45 +00:00
55a2c62cc9 Accepting request 1129277 from devel:languages:python
- Add patch avoid-deprecated-ast.patch:
  * Avoid deprecated ast classes.
- Add patch also-filter-new-fork-warning.patch:
  * Filter DeprecationWarning due to calling fork() with multiprocessing.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1129277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=24
2023-11-28 21:18:57 +00:00
af5d476398 - Add patch avoid-deprecated-ast.patch:
* Avoid deprecated ast classes.
- Add patch also-filter-new-fork-warning.patch:
  * Filter DeprecationWarning due to calling fork() with multiprocessing.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=60
2023-11-28 04:00:59 +00:00
ea5f98d0b0 Accepting request 1128799 from devel:languages:python
- update to 1.3.2:
  * FIX treat n_jobs=None as if left to its default value
  * FIX Init logger parent class in Parallel
  * MNT remove unnecessary .bck file
  * MTN adjust test regex for Python 3.12 improved error message
  * DOC add public documentation for parallel_backend
  * FIX flake8 new E721: type comparison
  * Ensure native byte order for memmap.
  * Drop runtime dependency on `distutils`
  * Add environment variable to change default parallel backend
  * Fix memmapping_reducer when 'os' has no attribute 'statvfs'
  * Move the metadata into `pyproject.toml`
  * TST Close client in test_pickle_in_socket
  * Do not swallow PicklingError
  * FIX Avoid collisions when caching nested functions
  * FIX heisenfailure in doc/memory.rst
  * MAINT Explicit support for Python 3.11
  * MNT Use faulthandler rather than custom autokill logic
  * BENCH add benchmark script for n_jobs=1
  * TST Fix test_nested_parallel_warnings_parent_backend for
    Python nogil
  * TST Fix test_memmapping for Python nogil
  * MAINT Clean deprecations
  * ENH make temp resource cleanup safer
  * MAINT Simplify warning in `_persist_input`
  * MNT Use full flake8 rather than flake8_diff.sh
  * Update Dask backend
  * FIX upload to codecov
  * MTN vendor loky 3.4.0
  * MTN skip thread_bomb mitigation test on PyPy for now

OBS-URL: https://build.opensuse.org/request/show/1128799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=23
2023-11-27 21:42:24 +00:00
1c31648499 - update to 1.3.2:
* FIX treat n_jobs=None as if left to its default value
  * FIX Init logger parent class in Parallel
  * MNT remove unnecessary .bck file
  * MTN adjust test regex for Python 3.12 improved error message
  * DOC add public documentation for parallel_backend
  * FIX flake8 new E721: type comparison
  * Ensure native byte order for memmap.
  * Drop runtime dependency on `distutils`
  * Add environment variable to change default parallel backend
  * Fix memmapping_reducer when 'os' has no attribute 'statvfs'
  * Move the metadata into `pyproject.toml`
  * TST Close client in test_pickle_in_socket
  * Do not swallow PicklingError
  * FIX Avoid collisions when caching nested functions
  * FIX heisenfailure in doc/memory.rst
  * MAINT Explicit support for Python 3.11
  * MNT Use faulthandler rather than custom autokill logic
  * BENCH add benchmark script for n_jobs=1
  * TST Fix test_nested_parallel_warnings_parent_backend for
    Python nogil
  * TST Fix test_memmapping for Python nogil
  * MAINT Clean deprecations
  * ENH make temp resource cleanup safer
  * MAINT Simplify warning in `_persist_input`
  * MNT Use full flake8 rather than flake8_diff.sh
  * Update Dask backend
  * FIX upload to codecov
  * MTN vendor loky 3.4.0
  * MTN skip thread_bomb mitigation test on PyPy for now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=58
2023-11-25 20:16:26 +00:00
499b03f52d Accepting request 1092252 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=22
2023-06-12 13:24:46 +00:00
b447ee109d Accepting request 1092102 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=56
2023-06-11 11:43:39 +00:00
c7806b8fac Accepting request 1010179 from devel:languages:python
- Update to 1.2.0 (CVE-2022-21797, bsc#1204232)
  * Fix a security issue where eval(pre_dispatch) could potentially
    run arbitrary code. Now only basic numerics are supported.
    #1327
  * Make sure that joblib works even when multiprocessing is not
    available, for instance with Pyodide #1256
  * Avoid unnecessary warnings when workers and main process delete
    the temporary memmap folder contents concurrently. #1263
  * Vendor loky 3.1.0 with several fixes to more robustly forcibly
    terminate worker processes in case of a crash. #1269
  * 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. #1254
  * Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+.
  * Vendor loky 3.3.0 which fixes a bug with leaking processes in
    case of nested loky parallel calls and more reliability spawn
    the correct number of reusable workers.
- Drop support-setuptools-62.patch

OBS-URL: https://build.opensuse.org/request/show/1010179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=21
2022-10-12 16:22:37 +00:00
bfcfcbcb12 - Update to 1.2.0 (CVE-2022-21797, bsc#1204232)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=54
2022-10-12 09:49:46 +00:00
027cdc94e6 - Update to 1.2.0 (CVE-2022-21797)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=53
2022-10-12 09:23:51 +00:00
f434263524 Accepting request 1009807 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.2.0
  * Fix a security issue where eval(pre_dispatch) could potentially
    run arbitrary code. Now only basic numerics are supported.
    #1327
  * Make sure that joblib works even when multiprocessing is not
    available, for instance with Pyodide #1256
  * Avoid unnecessary warnings when workers and main process delete
    the temporary memmap folder contents concurrently. #1263
  * Vendor loky 3.1.0 with several fixes to more robustly forcibly
    terminate worker processes in case of a crash. #1269
  * 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. #1254
  * Vendor cloudpickle 2.2.0 which adds support for PyPy 3.8+.
  * Vendor loky 3.3.0 which fixes a bug with leaking processes in
    case of nested loky parallel calls and more reliability spawn
    the correct number of reusable workers.
- Drop support-setuptools-62.patch

OBS-URL: https://build.opensuse.org/request/show/1009807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=52
2022-10-11 15:42:53 +00:00
99706633c0 Accepting request 990387 from devel:languages:python
- Add patch support-setuptools-62.patch:
  * Support setuptools >= 62 by handling more than one warning in a test
    case.

OBS-URL: https://build.opensuse.org/request/show/990387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=20
2022-07-22 17:20:21 +00:00
b563780765 - Add patch support-setuptools-62.patch:
* Support setuptools >= 62 by handling more than one warning in a test
    case.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=50
2022-07-20 11:01:20 +00:00
296eedc852 Accepting request 927139 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/927139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=19
2021-10-30 21:13:02 +00:00
e7f363750f - update to 1.1.0:
* Fix byte order inconsistency issue during deserialization using joblib.load
    in cross-endian environment: the numpy arrays are now always loaded to use
    the system byte order, independently of the byte order of the system that
    serialized the pickle.
  * Fix joblib.Memory bug with the ignore parameter when the cached function is a
    decorated function.
  * Fix joblib.Memory to properly handle caching for functions defined
    interactively in a IPython session or in Jupyter notebook cell.
  * Update vendored loky (from version 2.9 to 3.0) and cloudpickle (from
    version 1.6 to 2.0)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=49
2021-10-16 21:32:28 +00:00
c0a049d971 Accepting request 872840 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/872840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=18
2021-02-16 21:34:42 +00:00
3ffc59f69d Accepting request 872790 from home:bnavigator:branches:devel:languages:python
- Update to 1.0.1
  * dask: avoid redundant scattering of large arguments to make a
    more efficient use of the network resources and avoid crashing
    dask with "OSError: [Errno 55] No buffer space available" or
    "ConnectionResetError: [Errno 104] connection reset by
    peer".
- Changees in 1.0.0
  * Make joblib.hash and joblib.Memory caching system compatible
    with numpy >= 1.20.0. Also make it explicit in the
    documentation that users should now expect to have their joblib.
    Memory cache invalidated when either joblib or a third party
    library involved in the cached values definition is upgraded.
    In particular, users updating joblib to a release that includes
    this fix will see their previous cache invalidated if they
    contained reference to numpy objects.
  * Remove deprecated check_pickle argument in delayed.
- Changes in 0.17.0
  * Fix a spurious invalidation of Memory.cache'd functions called
    with Parallel under Jupyter or IPython.
  * Bump vendored loky to 2.9.0 and cloudpickle to 1.6.0. In
    particular this fixes a problem to add compat for Python 3.9.
- Don't require optional NumPy for python36 tests in TW, because
  NumPy 1.20 dropped support for Python 3.6 (NEP 29)
- Drop joblib-disable-unrelialble-tests.patch, they are already
  used in pytest deselection parameter.
  * Do the same for disable_test_on_big_endian.patch.

OBS-URL: https://build.opensuse.org/request/show/872790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=47
2021-02-16 13:41:21 +00:00
8bec12edd8 Accepting request 853473 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/853473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=17
2020-12-12 19:28:55 +00:00
17eadc4df0 Accepting request 853441 from home:bnavigator:branches:devel:languages:python
- BuildRequire threadpoolctl for all python3 flavors
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/853441
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=45
2020-12-07 05:05:05 +00:00
51af5b0040 Accepting request 845029 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/845029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=16
2020-11-02 08:39:34 +00:00
7c00d29e50 Accepting request 844982 from home:pgajdos:python
- disable test_hash_numpy_noncontiguous,
  test_hashes_are_different_between_c_and_fortran_contiguous_arrays,
  test_hashes_stay_the_same_with_numpy_objects,
  test_non_contiguous_array_pickling [bsc#1177209]

OBS-URL: https://build.opensuse.org/request/show/844982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=43
2020-10-30 12:52:01 +00:00
e19ea2d49f Accepting request 844326 from home:pgajdos:python
- disable test_nested_loop_error_in_grandchild_resource_tracker_silent
  [bsc#1177209]

OBS-URL: https://build.opensuse.org/request/show/844326
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=42
2020-10-27 21:46:21 +00:00
099ef73e71 Accepting request 839590 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/839590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=15
2020-10-25 17:09:06 +00:00
Tomáš Chvátal
2dee5e3204 Accepting request 839587 from home:pgajdos:python
- disable yet another tests [bsc#1177209]

OBS-URL: https://build.opensuse.org/request/show/839587
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=40
2020-10-05 14:21:50 +00:00
7a4da1bf48 Accepting request 832923 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/832923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=14
2020-09-10 20:46:47 +00:00
Tomáš Chvátal
953983ba71 Accepting request 832921 from home:Guillaume_G:branches:devel:languages:python
- Disable tests failing often in OBS:
  * joblib-disable-unrelialble-tests.patch

OBS-URL: https://build.opensuse.org/request/show/832921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=38
2020-09-08 08:31:44 +00:00
29a5a7879d Accepting request 828437 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=13
2020-08-21 17:14:58 +00:00
Tomáš Chvátal
2a91f6aacd Accepting request 828435 from home:michel_mno:branches:devel:languages:python
- New disable_test_on_big_endian.patch as per upstream issue
  https://github.com/joblib/joblib/issues/279

OBS-URL: https://build.opensuse.org/request/show/828435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=36
2020-08-21 09:32:36 +00:00
abaa0045d9 Accepting request 821624 from devel:languages:python
- update to 0.16.0
  - Fix a problem in the constructors of of Parallel backends classes that
    inherit from the `AutoBatchingMixin` that prevented the dask backend to
    properly batch short tasks.
    https://github.com/joblib/joblib/pull/1062
  - Fix a problem in the way the joblib dask backend batches calls that would
    badly interact with the dask callable pickling cache and lead to wrong
    results or errors.
    https://github.com/joblib/joblib/pull/1055
  - Prevent a dask.distributed bug from surfacing in joblib's dask backend
    during nested Parallel calls (due to joblib's auto-scattering feature)
    https://github.com/joblib/joblib/pull/1061
  - Workaround for a race condition after Parallel calls with the dask backend
    that would cause low level warnings from asyncio coroutines:
    https://github.com/joblib/joblib/pull/1078

OBS-URL: https://build.opensuse.org/request/show/821624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=12
2020-07-18 19:02:15 +00:00
b4fe9d1935 - update to 0.16.0
- Fix a problem in the constructors of of Parallel backends classes that
    inherit from the `AutoBatchingMixin` that prevented the dask backend to
    properly batch short tasks.
    https://github.com/joblib/joblib/pull/1062
  - Fix a problem in the way the joblib dask backend batches calls that would
    badly interact with the dask callable pickling cache and lead to wrong
    results or errors.
    https://github.com/joblib/joblib/pull/1055
  - Prevent a dask.distributed bug from surfacing in joblib's dask backend
    during nested Parallel calls (due to joblib's auto-scattering feature)
    https://github.com/joblib/joblib/pull/1061
  - Workaround for a race condition after Parallel calls with the dask backend
    that would cause low level warnings from asyncio coroutines:
    https://github.com/joblib/joblib/pull/1078

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=34
2020-07-18 09:15:18 +00:00
6dffcd3118 Accepting request 810898 from devel:languages:python
- update to 0.15.1:
  - Make joblib work on Python 3 installation that do not ship with the lzma
    package in their standard library.
  - Drop support for Python 2 and Python 3.5. All objects in
    ``joblib.my_exceptions`` and ``joblib.format_stack`` are now deprecated and
    will be removed in joblib 0.16. Note that no deprecation warning will be
    raised for these objects Python < 3.7.
    https://github.com/joblib/joblib/pull/1018
  - Fix many bugs related to the temporary files and folder generated when
    automatically memory mapping large numpy arrays for efficient inter-process
    communication. In particular, this would cause `PermissionError` exceptions
    to be raised under Windows and large leaked files in `/dev/shm` under Linux
    in case of crash.
    https://github.com/joblib/joblib/pull/966
  - Make the dask backend collect results as soon as they complete
    leading to a performance improvement:
    https://github.com/joblib/joblib/pull/1025
  - Fix the number of jobs reported by ``effective_n_jobs`` when ``n_jobs=None``
    called in a parallel backend context.
    https://github.com/joblib/joblib/pull/985
  - Upgraded vendored cloupickle to 1.4.1 and loky to 2.8.0. This allows for
    Parallel calls of dynamically defined functions with type annotations
    in particular.

OBS-URL: https://build.opensuse.org/request/show/810898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=11
2020-06-24 13:47:53 +00:00
9681699d71 - update to 0.15.1:
- Make joblib work on Python 3 installation that do not ship with the lzma
    package in their standard library.
  - Drop support for Python 2 and Python 3.5. All objects in
    ``joblib.my_exceptions`` and ``joblib.format_stack`` are now deprecated and
    will be removed in joblib 0.16. Note that no deprecation warning will be
    raised for these objects Python < 3.7.
    https://github.com/joblib/joblib/pull/1018
  - Fix many bugs related to the temporary files and folder generated when
    automatically memory mapping large numpy arrays for efficient inter-process
    communication. In particular, this would cause `PermissionError` exceptions
    to be raised under Windows and large leaked files in `/dev/shm` under Linux
    in case of crash.
    https://github.com/joblib/joblib/pull/966
  - Make the dask backend collect results as soon as they complete
    leading to a performance improvement:
    https://github.com/joblib/joblib/pull/1025
  - Fix the number of jobs reported by ``effective_n_jobs`` when ``n_jobs=None``
    called in a parallel backend context.
    https://github.com/joblib/joblib/pull/985
  - Upgraded vendored cloupickle to 1.4.1 and loky to 2.8.0. This allows for
    Parallel calls of dynamically defined functions with type annotations
    in particular.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=32
2020-06-02 16:27:26 +00:00
24e79d15ec Accepting request 781870 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/781870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=10
2020-03-05 22:24:43 +00:00
Tomáš Chvátal
518b99432f Accepting request 781865 from home:pgajdos:python
- version update to 0.14.1
  - Configure the loky workers' environment to mitigate oversubsription with
    nested multi-threaded code in the following case:
    - allow for a suitable number of threads for numba (``NUMBA_NUM_THREADS``);
    - enable Interprocess Communication for scheduler coordination when the
      nested code uses Threading Building Blocks (TBB) (``ENABLE_IPC=1``)
    https://github.com/joblib/joblib/pull/951
  - Fix a regression where the loky backend was not reusing previously
    spawned workers.
    https://github.com/joblib/joblib/pull/968
  - Revert https://github.com/joblib/joblib/pull/847 to avoid using
    `pkg_resources` that introduced a performance regression under Windows:
    https://github.com/joblib/joblib/issues/965
  - Improved the load balancing between workers to avoid stranglers caused by an
    excessively large batch size when the task duration is varying significantly
    (because of the combined use of ``joblib.Parallel`` and ``joblib.Memory``
    with a partially warmed cache for instance).
    https://github.com/joblib/joblib/pull/899
  - Add official support for Python 3.8: fixed protocol number in `Hasher`
    and updated tests.
  - Fix a deadlock when using the dask backend (when scattering large numpy
    arrays).
    https://github.com/joblib/joblib/pull/914
  - Warn users that they should never use `joblib.load` with files from
    untrusted sources. Fix security related API change introduced in numpy
    1.6.3 that would prevent using joblib with recent numpy versions.
    https://github.com/joblib/joblib/pull/879
  - Upgrade to cloudpickle 1.1.1 that add supports for the upcoming
    Python 3.8 release among other things.
    https://github.com/joblib/joblib/pull/878

OBS-URL: https://build.opensuse.org/request/show/781865
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=30
2020-03-05 14:02:18 +00:00
ff70a69a78 Accepting request 706481 from devel:languages:python
- Switch to %pytest
- Add patch to work well with new numpy:
  * numpy16.patch

OBS-URL: https://build.opensuse.org/request/show/706481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=9
2019-06-01 07:56:37 +00:00
Tomáš Chvátal
d91362b135 - Switch to %pytest
- Add patch to work well with new numpy:
  * numpy16.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=28
2019-05-30 08:05:13 +00:00
0956760be2 Accepting request 688766 from devel:languages:python
- Update to 0.13.2:
  * Upgrade to cloudpickle 0.8.0
  * Add a non-regression test related to joblib issues #836 and #833, reporting that cloudpickle versions between 0.5.4 and 0.7 introduced a bug where global variables changes in a parent process between two calls to joblib.Parallel would not be propagated into the workers

OBS-URL: https://build.opensuse.org/request/show/688766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=8
2019-03-26 21:34:03 +00:00
Tomáš Chvátal
8baf6f89c9 - Update to 0.13.2:
* Upgrade to cloudpickle 0.8.0
  * Add a non-regression test related to joblib issues #836 and #833, reporting that cloudpickle versions between 0.5.4 and 0.7 introduced a bug where global variables changes in a parent process between two calls to joblib.Parallel would not be propagated into the workers

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=26
2019-03-26 14:49:17 +00:00
Stephan Kulow
5a37a92e61 Accepting request 682599 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=7
2019-03-10 08:37:04 +00:00
Tomáš Chvátal
cb72ccabdc Accepting request 682533 from home:jayvdb:py-check-failures
- Remove no longer necessary pytest argument
  -k 'not test_no_blas_crash_or_freeze_with_subprocesses'

OBS-URL: https://build.opensuse.org/request/show/682533
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=24
2019-03-07 16:42:34 +00:00
2a0d6bedb9 Accepting request 669904 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/669904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=6
2019-02-01 10:45:44 +00:00
dcc6efe0f4 Accepting request 669903 from home:mcepl:branches:devel:languages:python
- Update to Release 0.13.1:
  * Memory now accepts pathlib.Path objects as ``location``
    parameter. Also, a warning is raised if the returned backend
    is None while ``location`` is not None.
  * Make ``Parallel`` raise an informative ``RuntimeError`` when
    the active parallel backend has zero worker.
  * Make the ``DaskDistributedBackend`` wait for workers before
    trying to schedule work. This is useful in particular when
    the workers are provisionned dynamically but provisionning is
    not immediate (for instance using Kubernetes, Yarn or an HPC
    job queue).

OBS-URL: https://build.opensuse.org/request/show/669903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=22
2019-01-29 16:01:24 +00:00
78d8bfe879 Accepting request 663428 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/663428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=5
2019-01-08 11:29:42 +00:00
Todd R
ba4d2ca665 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
2019-01-07 20:40:52 +00:00