- Update patch support-new-cmake.patch:
* Check for a different cache error message. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-scikit-build?expand=0&rev=56
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 05:19:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update patch support-new-cmake.patch:
|
||||
* Check for a different cache error message.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 4 02:52:33 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
# spec file for package python-scikit-build
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
||||
@@ -8,3 +8,16 @@ Index: scikit_build-0.18.1/tests/samples/issue-335-support-cmake-source-dir/CMak
|
||||
|
||||
project(hello NONE)
|
||||
|
||||
Index: scikit_build-0.18.1/tests/test_cmaker.py
|
||||
===================================================================
|
||||
--- scikit_build-0.18.1.orig/tests/test_cmaker.py
|
||||
+++ scikit_build-0.18.1/tests/test_cmaker.py
|
||||
@@ -82,7 +82,7 @@ def test_make_without_configure_fails(ca
|
||||
CMaker().make()
|
||||
_, err = capfd.readouterr()
|
||||
assert "An error occurred while building with CMake." in str(excinfo.value)
|
||||
- assert "Error: could not load cache" in err
|
||||
+ assert "Error: not a CMake build directory (missing CMakeCache.txt)" in err
|
||||
|
||||
|
||||
@pytest.mark.parametrize("configure_with_cmake_source_dir", [True, False])
|
||||
|
||||
Reference in New Issue
Block a user