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-09-12 21:15:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scikit-build-core (Old)
and /work/SRC/openSUSE:Factory/.python-scikit-build-core.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-build-core"
Sat Sep 12 21:15:20 2026 rev:12 rq:1377339 version:1.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-scikit-build-core/python-scikit-build-core.changes
2026-06-04 18:52:39.844787987 +0200
+++
/work/SRC/openSUSE:Factory/.python-scikit-build-core.new.1265/python-scikit-build-core.changes
2026-09-12 21:15:55.692916859 +0200
@@ -1,0 +2,23 @@
+Thu Sep 10 14:53:02 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 1.0.3:
+ * Major 1.0 release: setuptools and hatchling plugins are no
+ longer experimental, new unified scikit-build CLI with init
+ command, PEP 808 partially-dynamic metadata via
+ dynamic-metadata plugins, PEP 803 free-threaded stable ABI.
+ * Behavior changes for downstreams: renamed config fields
+ (cmake.minimum-version, ninja.minimum-version, cmake.verbose,
+ cmake.targets) now error unless minimum-version is set, SDists
+ resolve symlinks by default, the empty pyproject extra was
+ removed.
+ * 1.0.1-1.0.3 are bugfix-only: namespace packages and wheel
+ timestamp clamp on 32-bit, redirect editable installs honoring
+ path hooks, setuptools plugin config_settings passthrough.
+- Drop scikit-build-core-issue1258_setuptools-scm.patch: adopted
+ upstream.
+- Rebase scikit-build-core-offline-wheelhouse.patch for the reworked
+ tests/conftest.py wheelhouse fixture.
+- Ship the new scikit-build and scikit-build-core console scripts via
+ libalternatives.
+
+-------------------------------------------------------------------
Old:
----
scikit-build-core-issue1258_setuptools-scm.patch
scikit_build_core-0.12.2.tar.gz
New:
----
scikit_build_core-1.0.3.tar.gz
----------(Old B)----------
Old: path hooks, setuptools plugin config_settings passthrough.
- Drop scikit-build-core-issue1258_setuptools-scm.patch: adopted
upstream.
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-scikit-build-core.spec ++++++
--- /var/tmp/diff_new_pack.vAQazg/_old 2026-09-12 21:15:56.488949965 +0200
+++ /var/tmp/diff_new_pack.vAQazg/_new 2026-09-12 21:15:56.490950048 +0200
@@ -18,31 +18,32 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
-%bcond_without test
%define psuffix -test
+%bcond_without test
%else
-%bcond_with test
%define psuffix %{nil}
+%bcond_with test
%endif
+%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-scikit-build-core%{psuffix}
-Version: 0.12.2
+Version: 1.0.3
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
+Patch0: scikit-build-core-offline-wheelhouse.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch-vcs >= 0.4}
BuildRequires: %{python_module hatchling >= 1.24}
BuildRequires: %{python_module packaging >= 23.2}
BuildRequires: %{python_module pip}
+BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: alts
Requires: cmake
Requires: python-packaging >= 23.2
Requires: python-pathspec >= 0.12
@@ -88,9 +89,9 @@
%package wheels
Summary: The scikit_build_core[wheels] extra
+Requires: ninja
Requires: python-scikit-build-core = %{version}
Provides: python-scikit_build_core-pyproject = %{version}-%{release}
-Requires: ninja
%description wheels
Python CMake adaptor and Python API for plugins: The extra requirement to
build PEP518 wheels and sdists.
@@ -106,6 +107,9 @@
%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_clone -a %{buildroot}%{_bindir}/scikit-build
+%python_clone -a %{buildroot}%{_bindir}/scikit-build-core
+%python_group_libalternatives scikit-build scikit-build-core
%endif
%check
@@ -121,9 +125,15 @@
%endif
%if !%{with test}
+%pre
+%python_libalternatives_reset_alternative scikit-build
+%python_libalternatives_reset_alternative scikit-build-core
+
%files %{python_files}
%license LICENSE
%doc README.md
+%python_alternative %{_bindir}/scikit-build
+%python_alternative %{_bindir}/scikit-build-core
%{python_sitelib}/scikit_build_core
%{python_sitelib}/scikit_build_core-%{version}.dist-info
++++++ scikit-build-core-offline-wheelhouse.patch ++++++
--- /var/tmp/diff_new_pack.vAQazg/_old 2026-09-12 21:15:56.531951753 +0200
+++ /var/tmp/diff_new_pack.vAQazg/_new 2026-09-12 21:15:56.534951878 +0200
@@ -1,17 +1,27 @@
-Index: scikit_build_core-0.12.2/tests/conftest.py
+Index: scikit_build_core-1.0.3/tests/conftest.py
===================================================================
---- 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
+--- scikit_build_core-1.0.3/tests/conftest.py
++++ scikit_build_core-1.0.3/tests/conftest.py
+@@ -64,64 +64,7 @@
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")
-
-- main_lock = FileLock(wheelhouse / "main.lock")
-- with main_lock:
-- if not list(tmp_path.glob("scikit_build_core-*.whl")):
+- # A single lock for all wheelhouse mutations prevents cross-lock races on
+- # Windows where concurrent readers (zipfile.is_zipfile) and writers
+- # (unlink/replace) on different locks would cause PermissionError
(WinError 5).
+- wheelhouse_lock = FileLock(wheelhouse / "wheels.lock")
+- with wheelhouse_lock:
+- # Only build the scikit-build-core wheel when the current version is
not
+- # already present; this avoids a redundant pip-wheel invocation on
every
+- # worker while still catching version changes between runs.
+- skbuild_version = metadata.version("scikit-build-core")
+- if not any(
+- whl.name.startswith(f"scikit_build_core-{skbuild_version}-")
+- for whl in wheelhouse.glob("scikit_build_core-*.whl")
+- ):
- subprocess.run(
- [
- sys.executable,
@@ -28,20 +38,34 @@
- text=True,
- )
- for wheel in tmp_path.glob("*.whl"):
-- shutil.copy(wheel, wheelhouse)
+- target = wheelhouse / wheel.name
+- if _is_valid_wheel(target):
+- continue # already present and valid; skip to avoid
PermissionError on Windows
+- shutil.copy(wheel, target)
+-
+- # Remove stale scikit-build-core wheels that weren't just copied
+- copied = {f.name for f in
tmp_path.glob("scikit_build_core-*.whl")}
+- for stale in wheelhouse.glob("scikit_build_core-*.whl"):
+- if stale.name not in copied:
+- stale.unlink()
+-
+- # Clean up any invalid or orphaned wheels. Because we hold the single
+- # shared lock here, there are no concurrent readers to race against.
+- _clean_wheelhouse(wheelhouse)
-
-- 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)
-
-- return wheelhouse
+- # Re-validate after downloading, in case a partially-written wheel
+- # was cached from an interrupted run.
+- _clean_wheelhouse(wheelhouse)
-
+- return wheelhouse
+ return os.getcwd() + '/build'
+
class VEnv:
- def __init__(self, env_dir: Path, *, wheelhouse: Path | None = None) ->
None:
++++++ scikit_build_core-0.12.2.tar.gz -> scikit_build_core-1.0.3.tar.gz ++++++
++++ 36425 lines of diff (skipped)