17
0

- 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:
2025-09-17 05:19:56 +00:00
committed by Git OBS Bridge
parent 9261c06f4c
commit 504ba948e9
3 changed files with 19 additions and 1 deletions

View File

@@ -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>

View File

@@ -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

View File

@@ -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])