Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-scikit-build-core for
openSUSE:Factory checked in at 2026-06-04 18:52:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scikit-build-core (Old)
and /work/SRC/openSUSE:Factory/.python-scikit-build-core.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-build-core"
Thu Jun 4 18:52:14 2026 rev:11 rq:1356976 version:0.12.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-scikit-build-core/python-scikit-build-core.changes
2025-09-19 15:33:34.803787307 +0200
+++
/work/SRC/openSUSE:Factory/.python-scikit-build-core.new.2375/python-scikit-build-core.changes
2026-06-04 18:52:39.844787987 +0200
@@ -1,0 +2,59 @@
+Wed Jun 3 12:43:51 UTC 2026 - Ben Greiner <[email protected]>
+
+- Require cmake in the main package again: the main cmake is always
+ needed. The system cmake is always enough for the distribution.
+
+-------------------------------------------------------------------
+Thu May 28 18:19:06 UTC 2026 - Ben Greiner <[email protected]>
+
+- Update to 0.12.2
+ * We've fixed another issue in the new file inclusion mode on
+ Windows. We now always normalize SDist names, even if
+ minimum-version is set to 0.4 or older, due to the fact PyPI no
+ longer accepts non-normalized SDist names. Please increase your
+ minimum-version anyway, though! Finally, the debug logging for
+ file inclusion now displays the exact rule that triggered the
+ include/exclude behavior.
+ ## Fixes:
+ * Use as_posix for prefix matching for better Windows support by
+ @henryiii in #1246
+ * Always normalize SDist names, even in <0.5 compat mode by
+ @henryiii in #1247
+ * Better logging on why something fails/passes file inclusion
+ check by @henryiii in #1250
+- Version 0.12.1
+ * This fixes a regression on Windows when targeting 32-bit wheels
+ on a 64-bit host. This reverts part of #1209. We have added
+ 32-bit testing on Windows to our CI.
+ ## Fixes:
+ * Use CMAKE_GENERATOR(_PLATFORM) on Windows again by @henryiii in
+ #1235
+- Version 0.12.0
+ ## What's Changed
+ * This release adds a new sdist.inclusion-mode setting, with a
+ new default: ignored directories are no longer traversed unless
+ a file is specifically allowed inside of it via the base path.
+ This should be faster and less surprising. The old behavior
+ ("classic") and no gitignore ("manual") are also provided.
+ ## Features:
+ * sdist.inclusion-mode by @henryiii in #1048
+ * Better support for cross-compilation by @LecrisUT in #1050
+ * Support fancy-pypi-readme 25.1's package name, bump, drop
+ workarounds by @henryiii in #1201
+ ## Fixes:
+ * Add a setting to disallow hard-coding some setting keys in the
+ pyproject.toml - currently applied to fail, by @LecrisUT in
+ #1078
+ * Respect_PYTHON_HOST_PLATFORM env variable by @ryanking13 in
+ #1196
+ * Better support for ninja on Windows by @henryiii in #1209
+ * Move the file-api parsing to a debug message by @LecrisUT in
+ #1184
+ * (Hatchling) Path issue on Windows mingw64 and UCRT by @henryiii
+ in #1210
+ * (Setuptools) handle generic setup return type by @henryiii in
+ #1202
+- Add scikit-build-core-issue1258_setuptools-scm.patch
+ gh#scikit-build/scikit-build-core#1258
+
+-------------------------------------------------------------------
Old:
----
scikit_build_core-0.11.6.tar.gz
New:
----
scikit-build-core-issue1258_setuptools-scm.patch
scikit_build_core-0.12.2.tar.gz
----------(New B)----------
New: #1202
- Add scikit-build-core-issue1258_setuptools-scm.patch
gh#scikit-build/scikit-build-core#1258
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-scikit-build-core.spec ++++++
--- /var/tmp/diff_new_pack.LoGIqb/_old 2026-06-04 18:52:43.856953477 +0200
+++ /var/tmp/diff_new_pack.LoGIqb/_new 2026-06-04 18:52:43.860953642 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-scikit-build-core
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 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
@@ -26,27 +26,31 @@
%endif
%{?sle15_python_module_pythons}
Name: python-scikit-build-core%{psuffix}
-Version: 0.11.6
+Version: 0.12.2
Release: 0
Summary: Build backend for CMake based projects
License: Apache-2.0
URL: https://github.com/scikit-build/scikit-build-core
Source0:
https://files.pythonhosted.org/packages/source/s/scikit_build_core/scikit_build_core-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM scikit-build-core-issue1258_setuptools-scm.patch
gh#scikit-build/scikit-build-core#1258
+Patch0:
https://github.com/scikit-build/scikit-build-core/commit/56e8c65f6911c168a4f23ae76c9c7f9ad4c088eb.patch#/scikit-build-core-issue1258_setuptools-scm.patch
# PATCH-FEATURE-OPENSUSE scikit-build-core-offline-wheelhouse.patch provide
the testing wheels without runtime download [email protected]
Patch1: scikit-build-core-offline-wheelhouse.patch
BuildRequires: %{python_module base >= 3.8}
-BuildRequires: %{python_module hatch-vcs}
-BuildRequires: %{python_module hatchling}
+BuildRequires: %{python_module hatch-vcs >= 0.4}
+BuildRequires: %{python_module hatchling >= 1.24}
BuildRequires: %{python_module packaging >= 23.2}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: cmake >= 3.15
+Requires: cmake
Requires: python-packaging >= 23.2
-Requires: python-pathspec >= 0.10.1
+Requires: python-pathspec >= 0.12
Recommends: ninja
Recommends: python-rich
+Provides: python-scikit-build-core-pyproject = %{version}-%{release}
Provides: python-scikit_build_core = %{version}-%{release}
+Obsoletes: python-scikit-build-core-pyproject <= 0.11.6
%if %{with test}
BuildRequires: %{python_module build >= 0.8}
BuildRequires: %{python_module cattrs >= 22.2.0}
@@ -57,12 +61,11 @@
BuildRequires: %{python_module pytest-subprocess >= 1.5.0}
BuildRequires: %{python_module pytest-xdist >= 3.1}
BuildRequires: %{python_module rich}
-BuildRequires: %{python_module scikit-build-core = %{version}}
+BuildRequires: %{python_module scikit-build-core-wheels = %{version}}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module virtualenv >= 20.20}
BuildRequires: %{python_module wheel}
BuildRequires: gcc-c++
-BuildRequires: ninja
# /SECTION
%endif
BuildArch: noarch
@@ -83,13 +86,15 @@
- No slow generator search, ninja/make or MSVC used by default, respects
CMAKE_GENERATOR
- SDists are reproducible by default (UNIX, Python 3.9+)
-%package pyproject
-Summary: The scikit_build_core[pyproject] extra
+%package wheels
+Summary: The scikit_build_core[wheels] extra
Requires: python-scikit-build-core = %{version}
Provides: python-scikit_build_core-pyproject = %{version}-%{release}
+Requires: ninja
-%description pyproject
-Python CMake adaptor and Python API for plugins: The extra requirement to
build PEP518 wheels and sdists
+%description wheels
+Python CMake adaptor and Python API for plugins: The extra requirement to
build PEP518 wheels and sdists.
+Note that on openSUSE, this requirement still uses the system cmake and does
not need the python package.
%prep
%autosetup -p1 -n scikit_build_core-%{version}
@@ -122,7 +127,7 @@
%{python_sitelib}/scikit_build_core
%{python_sitelib}/scikit_build_core-%{version}.dist-info
-%files %{python_files pyproject}
+%files %{python_files wheels}
%license LICENSE
%doc README.md
%endif
++++++ scikit-build-core-issue1258_setuptools-scm.patch ++++++
>From 56e8c65f6911c168a4f23ae76c9c7f9ad4c088eb Mon Sep 17 00:00:00 2001
From: Henry Schreiner <[email protected]>
Date: Fri, 3 Apr 2026 23:22:56 -0500
Subject: [PATCH] tests: fix for latest setuptools_scm
Signed-off-by: Henry Schreiner <[email protected]>
---
pyproject.toml | 2 +-
tests/test_module_dir.py | 4 +++-
tests/test_setuptools_abi3.py | 15 +++++++++++++++
tests/test_setuptools_pep517.py | 15 +++++++++++++++
4 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 51fcad69e..85a74dfeb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -220,7 +220,7 @@ disallow_untyped_defs = true
disallow_incomplete_defs = true
[[tool.mypy.overrides]]
-module = ["numpy", "setuptools_scm", "hatch_fancy_pypi_readme", "virtualenv"]
+module = ["numpy", "setuptools_scm", "hatch_fancy_pypi_readme", "virtualenv",
"vcs_versioning.*"]
ignore_missing_imports = true
diff --git a/tests/test_module_dir.py b/tests/test_module_dir.py
index af8e58b1a..48461e805 100644
--- a/tests/test_module_dir.py
+++ b/tests/test_module_dir.py
@@ -29,7 +29,9 @@ def on_all_modules(
def test_all_modules_filter_all():
all_modules = on_all_modules("scikit_build_core", pkg=False)
- all_modules = (n for n in all_modules if not
n.split(".")[-1].startswith("__"))
+ all_modules = (
+ n for n in all_modules if not n.split(".")[-1].startswith(("__",
"_version"))
+ )
for name in all_modules:
try:
module = importlib.import_module(name)
diff --git a/tests/test_setuptools_abi3.py b/tests/test_setuptools_abi3.py
index bc9256b2c..3ee7aa644 100644
--- a/tests/test_setuptools_abi3.py
+++ b/tests/test_setuptools_abi3.py
@@ -8,6 +8,11 @@
from scikit_build_core.setuptools.build_meta import build_wheel
+try:
+ from vcs_versioning.overrides import GlobalOverrides
+except ImportError: # pragma: no cover - setuptools-scm < 10 or missing
dependency
+ GlobalOverrides = None
+
pytestmark = pytest.mark.setuptools
DIR = Path(__file__).parent.resolve()
@@ -15,6 +20,16 @@
SYSCONFIGPLAT = sysconfig.get_platform()
[email protected](autouse=True)
+def setuptools_scm_overrides():
+ if GlobalOverrides is None:
+ yield
+ return
+
+ with GlobalOverrides.from_env("SETUPTOOLS_SCM"):
+ yield
+
+
@pytest.mark.compile
@pytest.mark.configure
@pytest.mark.skipif(
diff --git a/tests/test_setuptools_pep517.py b/tests/test_setuptools_pep517.py
index f7e61b748..3721055d7 100644
--- a/tests/test_setuptools_pep517.py
+++ b/tests/test_setuptools_pep517.py
@@ -9,10 +9,25 @@
from scikit_build_core.setuptools.build_meta import build_sdist, build_wheel
+try:
+ from vcs_versioning.overrides import GlobalOverrides
+except ImportError: # pragma: no cover - setuptools-scm < 10 or missing
dependency
+ GlobalOverrides = None
+
pytestmark = pytest.mark.setuptools
setuptools_version = Version(importlib.metadata.version("setuptools"))
[email protected](autouse=True)
+def setuptools_scm_overrides():
+ if GlobalOverrides is None:
+ yield
+ return
+
+ with GlobalOverrides.from_env("SETUPTOOLS_SCM"):
+ yield
+
+
@pytest.mark.parametrize("package", ["simple_setuptools_ext"], indirect=True)
@pytest.mark.usefixtures("package")
def test_pep517_sdist(tmp_path: Path):
++++++ scikit-build-core-offline-wheelhouse.patch ++++++
--- /var/tmp/diff_new_pack.LoGIqb/_old 2026-06-04 18:52:43.920956118 +0200
+++ /var/tmp/diff_new_pack.LoGIqb/_new 2026-06-04 18:52:43.920956118 +0200
@@ -1,58 +1,47 @@
-Index: scikit_build_core-0.10.5/tests/conftest.py
+Index: scikit_build_core-0.12.2/tests/conftest.py
===================================================================
---- scikit_build_core-0.10.5.orig/tests/conftest.py
-+++ scikit_build_core-0.10.5/tests/conftest.py
-@@ -35,51 +35,7 @@ BASE = DIR.parent
-
- @pytest.fixture(scope="session")
- def pep518_wheelhouse(tmp_path_factory: pytest.TempPathFactory) -> Path:
-- wheelhouse = tmp_path_factory.mktemp("wheelhouse")
--
-- subprocess.run(
-- [
-- sys.executable,
-- "-m",
-- "pip",
-- "wheel",
-- "--wheel-dir",
-- str(wheelhouse),
-- f"{BASE}",
-- ],
-- check=True,
-- )
-- packages = [
-- "build",
-- "cython",
-- "hatchling",
-- "pip",
-- "pybind11",
-- "setuptools",
-- "virtualenv",
-- "wheel",
-- ]
+--- scikit_build_core-0.12.2.orig/tests/conftest.py
++++ scikit_build_core-0.12.2/tests/conftest.py
+@@ -50,40 +50,7 @@ def _is_valid_wheel(wheel: Path) -> bool
+ def pep518_wheelhouse(
+ pytestconfig: pytest.Config, tmp_path_factory: pytest.TempPathFactory
+ ) -> Path:
+- wheelhouse = pytestconfig.cache.mkdir("wheelhouse")
+- tmp_path = tmp_path_factory.mktemp("wheelhouse_tmp")
-
-- if importlib.util.find_spec("cmake") is not None:
-- packages.append("cmake")
+- main_lock = FileLock(wheelhouse / "main.lock")
+- with main_lock:
+- if not list(tmp_path.glob("scikit_build_core-*.whl")):
+- subprocess.run(
+- [
+- sys.executable,
+- "-m",
+- "pip",
+- "wheel",
+- "--wheel-dir",
+- f"{tmp_path}",
+- "--no-build-isolation",
+- f"{BASE}",
+- ],
+- check=True,
+- capture_output=True,
+- text=True,
+- )
+- for wheel in tmp_path.glob("*.whl"):
+- shutil.copy(wheel, wheelhouse)
-
-- if importlib.util.find_spec("ninja") is not None:
-- packages.append("ninja")
+- wheels_lock = FileLock(wheelhouse / "wheels.lock")
+- with wheels_lock:
+- if not all(
+- any(_is_valid_wheel(whl) for whl in wheelhouse.glob(f"{p}*.whl"))
+- for p in download_wheels.WHEELS
+- ):
+- download_wheels.prepare(wheelhouse)
-
-- subprocess.run(
-- [
-- sys.executable,
-- "-m",
-- "pip",
-- "download",
-- "-q",
-- "-d",
-- str(wheelhouse),
-- *packages,
-- ],
-- check=True,
-- )
- return wheelhouse
+-
+ return os.getcwd() + '/build'
-
class VEnv:
+ def __init__(self, env_dir: Path, *, wheelhouse: Path | None = None) ->
None:
++++++ scikit_build_core-0.11.6.tar.gz -> scikit_build_core-0.12.2.tar.gz ++++++
++++ 9637 lines of diff (skipped)