From e5e4a0f87db8fd4f719491e0b1c9fd3791f0721ce3a242c5c827ffe734ef5bd4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 19 Jul 2021 06:29:44 +0000 Subject: [PATCH] - drop python_executable.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=6 --- python-threadpoolctl.changes | 1 + python_executable.patch | 30 ------------------------------ 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 python_executable.patch diff --git a/python-threadpoolctl.changes b/python-threadpoolctl.changes index aeeb19c..9f94671 100644 --- a/python-threadpoolctl.changes +++ b/python-threadpoolctl.changes @@ -8,6 +8,7 @@ Mon Jul 19 06:27:59 UTC 2021 - Dirk Müller - 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_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",