diff --git a/python-threadpoolctl.changes b/python-threadpoolctl.changes index 1a8e2ac..9f94671 100644 --- a/python-threadpoolctl.changes +++ b/python-threadpoolctl.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jul 19 06:27:59 UTC 2021 - Dirk Müller + +- update to 2.2.0: + - Report the architecture of the CPU cores detected by OpenBLAS + (`openblas_get_corename`) in `threadpool_info()` and BLIS + (`bli_arch_query_id` and `bli_arch_string`). + - Fixed a bug when the version of MKL was not found. The + "version" field is now set to None in that case. + https://github.com/joblib/threadpoolctl/pull/82 +- drop python_executable.patch (upstream) + ------------------------------------------------------------------- Fri Jul 24 11:21:21 UTC 2020 - Marketa Calabkova diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 7a615d7..4373f84 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -1,7 +1,7 @@ # # spec file for package python-threadpoolctl # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-threadpoolctl -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Thread-pool Controls License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/joblib/threadpoolctl Source: https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-%{version}.tar.gz -# fix python executable in tests -Patch0: python_executable.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -43,7 +41,6 @@ and OpenMP implementations). %prep %setup -q -n threadpoolctl-%{version} -%patch0 -p1 %build %python_build diff --git a/python_executable.patch b/python_executable.patch deleted file mode 100644 index 6160c14..0000000 --- a/python_executable.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: threadpoolctl-2.1.0/tests/test_threadpoolctl.py -=================================================================== ---- threadpoolctl-2.1.0.orig/tests/test_threadpoolctl.py -+++ threadpoolctl-2.1.0/tests/test_threadpoolctl.py -@@ -396,14 +396,14 @@ def test_libomp_libiomp_warning(recwarn) - - def test_command_line_empty(): - output = subprocess.check_output( -- "python -m threadpoolctl".split()) -+ (sys.executable + " -m threadpoolctl").split()) - assert json.loads(output.decode("utf-8")) == [] - - - def test_command_line_command_flag(): - pytest.importorskip("numpy") - output = subprocess.check_output( -- ["python", "-m", "threadpoolctl", "-c", "import numpy"]) -+ [sys.executable, "-m", "threadpoolctl", "-c", "import numpy"]) - cli_info = json.loads(output.decode("utf-8")) - - this_process_info = threadpool_info() -@@ -415,7 +415,7 @@ def test_command_line_command_flag(): - reason="need recent subprocess.run options") - def test_command_line_import_flag(): - result = subprocess.run([ -- "python", "-m", "threadpoolctl", "-i", -+ sys.executable, "-m", "threadpoolctl", "-i", - "numpy", - "scipy.linalg", - "invalid_package", diff --git a/threadpoolctl-2.1.0.tar.gz b/threadpoolctl-2.1.0.tar.gz deleted file mode 100644 index dbfff72..0000000 --- a/threadpoolctl-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddc57c96a38beb63db45d6c159b5ab07b6bced12c45a1f07b2b92f272aebfa6b -size 26644 diff --git a/threadpoolctl-2.2.0.tar.gz b/threadpoolctl-2.2.0.tar.gz new file mode 100644 index 0000000..a5b09b1 --- /dev/null +++ b/threadpoolctl-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86d4b6801456d780e94681d155779058759eaef3c3564758b17b6c99db5f81cb +size 27247