Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-joblib for openSUSE:Factory checked in at 2022-07-22 19:20:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-joblib (Old) and /work/SRC/openSUSE:Factory/.python-joblib.new.21925 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-joblib" Fri Jul 22 19:20:21 2022 rev:20 rq:990387 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-joblib/python-joblib.changes 2021-10-30 23:13:03.431022666 +0200 +++ /work/SRC/openSUSE:Factory/.python-joblib.new.21925/python-joblib.changes 2022-07-22 19:20:23.880575251 +0200 @@ -1,0 +2,7 @@ +Wed Jul 20 11:00:18 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-setuptools-62.patch: + * Support setuptools >= 62 by handling more than one warning in a test + case. + +------------------------------------------------------------------- New: ---- support-setuptools-62.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-joblib.spec ++++++ --- /var/tmp/diff_new_pack.ZcMPsQ/_old 2022-07-22 19:20:24.528576364 +0200 +++ /var/tmp/diff_new_pack.ZcMPsQ/_new 2022-07-22 19:20:24.532576371 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-joblib # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,17 +23,17 @@ Release: 0 Summary: Module for using Python functions as pipeline jobs License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/joblib/joblib Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz +Patch0: support-setuptools-62.patch BuildRequires: %{python_module lz4} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module threadpoolctl} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module numpy if (%python-base without python36-base)} Recommends: python-lz4 Recommends: python-numpy Recommends: python-psutil @@ -55,7 +55,7 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays. %prep -%setup -q -n joblib-%{version} +%autosetup -p1 -n joblib-%{version} %build %python_build ++++++ support-setuptools-62.patch ++++++ Index: joblib-1.1.0/joblib/test/test_numpy_pickle.py =================================================================== --- joblib-1.1.0.orig/joblib/test/test_numpy_pickle.py +++ joblib-1.1.0/joblib/test/test_numpy_pickle.py @@ -279,7 +279,7 @@ def test_compress_mmap_mode_warning(tmpd numpy_pickle.dump(a, this_filename, compress=1) with warns(UserWarning) as warninfo: numpy_pickle.load(this_filename, mmap_mode='r+') - assert len(warninfo) == 1 + assert len(warninfo) >= 1 assert (str(warninfo[0].message) == 'mmap_mode "%(mmap_mode)s" is not compatible with compressed ' 'file %(filename)s. "%(mmap_mode)s" flag will be ignored.' %