public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/python-scikit-build-core] rawhide: Update to 1.0.1 upstream release
Date: Thu, 09 Jul 2026 08:08:02 GMT	[thread overview]
Message-ID: <178358448287.1.17655914516093479275.rpms-python-scikit-build-core-7137d7d475b1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-scikit-build-core
            Branch : rawhide
            Commit : 7137d7d475b1ba057f194509c80c119f6b9188c1
            Author : Packit <hello@packit.dev>
            Date   : 2026-07-09T09:28:27+02:00
            Stats  : +31/-138 in 7 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-scikit-build-core/c/7137d7d475b1ba057f194509c80c119f6b9188c1?branch=rawhide

            Log:
            Update to 1.0.1 upstream release

Upstream tag: v1.0.1
Upstream commit: 234d10e7

Commit authored by Packit automation (https://packit.dev/)

---
diff --git a/dfb1a043.patch b/dfb1a043.patch
deleted file mode 100644
index 3e9d2a8..0000000
--- a/dfb1a043.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From dfb1a043e61f36439661e0ea33fa5332397c7142 Mon Sep 17 00:00:00 2001
-From: Henry Schreiner <HenrySchreinerIII@gmail.com>
-Date: Mon, 22 Jun 2026 13:09:31 -0400
-Subject: [PATCH] test: adapt to setuptools-scm 10 / vcs-versioning 2 warnings
- (#1350)
-
----
- pyproject.toml | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index acb71d9e1..682281475 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -194,6 +194,8 @@ filterwarnings = [
-     "ignore:'_UnionGenericAlias' is deprecated and slated for removal in Python 3.17:DeprecationWarning",  # From cattrs 24.1.2 and other?
-     "ignore:The 'wheel.metadata' package has been made private:DeprecationWarning",
-     "ignore:version of cmake-example already set:UserWarning",  # Caused by setuptoools-scm 9+ being installed
-+    "default:tag.strict is not set:FutureWarning",  # setuptools-scm 10+ asks users to set tag.strict explicitly
-+    "default:Configuration was created without VcsEnvironment:DeprecationWarning",  # Leaked by vcs-versioning 2.x internals, even from its public API
- ]
- log_level = "INFO"
- pythonpath = ["tests/utils"]

diff --git a/plans/examples.fmf b/plans/examples.fmf
index 65a8076..4f04ee3 100644
--- a/plans/examples.fmf
+++ b/plans/examples.fmf
@@ -1,5 +1,14 @@
 summary: Documentation examples
 discover+:
   filter: "tag: examples"
+prepare+:
+  # TODO: Remove when the package review is done
+  # https://bugzilla.redhat.com/show_bug.cgi?id=2493460
+  # https://bugzilla.redhat.com/show_bug.cgi?id=2493459
+  - name: Add copr repo for f2py-cmake and cython-cmake
+    how: artifact
+    provide:
+      - copr.repository:lecris/scikit-build-helpers
+    verify: false
 execute:
   how: tmt

diff --git a/plans/main.fmf b/plans/main.fmf
index f140a10..4518857 100644
--- a/plans/main.fmf
+++ b/plans/main.fmf
@@ -2,6 +2,11 @@ discover:
   how: fmf
   path: .
 
+prepare:
+  - how: install
+    package:
+      - python3-scikit-build-core
+
 adjust+:
   # Cannot use initiator: fedora-ci reliably yet
   when: initiator is not defined or initiator != packit

diff --git a/plans/smoke.fmf b/plans/smoke.fmf
index 5de047e..ae2e39b 100644
--- a/plans/smoke.fmf
+++ b/plans/smoke.fmf
@@ -5,5 +5,9 @@ summary: Basic smoke tests
 discover:
   how: fmf
   filter: "tag: smoke"
+prepare:
+  how: install
+  package:
+    - python3-scikit-build-core
 execute:
     how: tmt

diff --git a/python-scikit-build-core.spec b/python-scikit-build-core.spec
index 92e65a1..bb33523 100644
--- a/python-scikit-build-core.spec
+++ b/python-scikit-build-core.spec
@@ -7,7 +7,7 @@
 %bcond optional_tests 1
 
 Name:           python-scikit-build-core
-Version:        0.12.1
+Version:        1.0.1
 Release:        %autorelease
 Summary:        Build backend for CMake based projects
 
@@ -17,11 +17,6 @@ Summary:        Build backend for CMake based projects
 License:        Apache-2.0 AND MIT
 URL:            https://github.com/scikit-build/scikit-build-core
 Source:         %{pypi_source scikit_build_core}
-# Tests fix for setuptools-scm 10
-# https://github.com/scikit-build/scikit-build-core/pull/1259
-Patch:          setuptools-scm-10.patch
-# Another fix for compatibility with latest setuptools_scm
-Patch:          https://github.com/scikit-build/scikit-build-core/commit/dfb1a043.patch
 
 BuildRequires:  python3-devel
 # Testing dependences
@@ -43,15 +38,16 @@ Requires:       cmake
 Requires:       ninja-build
 BuildArch:      noarch
 
-Provides:       bundled(python3dist(pyproject-metadata)) = 0.11.0
-
-Obsoletes:      python3-scikit-build-core+pyproject < 0.10.7-3
+Provides:       bundled(python3dist(pyproject-metadata)) = 0.12.1
 
 %description -n python3-scikit-build-core %_description
 
+%pyproject_extras_subpkg -n python3-scikit-build-core setuptools
+%pyproject_extras_subpkg -n python3-scikit-build-core hatchling
+
 
 %prep
-%autosetup -p1 -n scikit_build_core-%{version}
+%autosetup -n scikit_build_core-%{version}
 # Rename the bundled license so that it can be installed together
 cp -p src/scikit_build_core/_vendor/pyproject_metadata/LICENSE LICENSE-pyproject-metadata
 
@@ -75,7 +71,11 @@ export HATCH_METADATA_CLASSIFIERS_NO_VERIFY=1
 %pyproject_check_import
 %if %{with tests}
 # Additional tests from optional_tests are automatically skipped/picked-up by pytest
+# TODO: drop %%{ix86} check after https://github.com/scikit-build/scikit-build-core/issues/1481
 %pytest \
+%ifarch %{ix86}
+    -k "not test_wheel_timestamp_clamps_epoch_beyond_zip_range" \
+%endif
     -m "not network"
 %endif
 
@@ -83,6 +83,8 @@ export HATCH_METADATA_CLASSIFIERS_NO_VERIFY=1
 %files -n python3-scikit-build-core -f %{pyproject_files}
 %license LICENSE LICENSE-pyproject-metadata
 %doc README.md
+%{_bindir}/scikit-build
+%{_bindir}/scikit-build-core
 
 
 %changelog

diff --git a/setuptools-scm-10.patch b/setuptools-scm-10.patch
deleted file mode 100644
index 74461a9..0000000
--- a/setuptools-scm-10.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-From 56e8c65f6911c168a4f23ae76c9c7f9ad4c088eb Mon Sep 17 00:00:00 2001
-From: Henry Schreiner <henryschreineriii@gmail.com>
-Date: Fri, 3 Apr 2026 23:22:56 -0500
-Subject: [PATCH] tests: fix for latest setuptools_scm
-
-Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
----
- 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", "pathspec", "setuptools_scm", "hatch_fancy_pypi_readme", "virtualenv"]
-+module = ["numpy", "pathspec", "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()
- 
- 
-+@pytest.fixture(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"))
- 
- 
-+@pytest.fixture(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):

diff --git a/sources b/sources
index e462b27..82956b8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (scikit_build_core-0.12.1.tar.gz) = ee934d5e4c337c6d4a4c7b0746ff6504ceeea3518ba93991803ba37deb7e823c27c225b1f2c9ed11e944d78639ffe68451b40c7f7732ccb7884f7b5bc7dac6b6
+SHA512 (scikit_build_core-1.0.1.tar.gz) = 4651484d1783ad9bd9946bd71fc70002371c16dbf8df0f6fa87d3d498061eb05583e1e825601d48d0e1ebf512e7f9ae308666b84dcc333e9461793f09ef74655

                 reply	other threads:[~2026-07-09  8:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178358448287.1.17655914516093479275.rpms-python-scikit-build-core-7137d7d475b1@fedoraproject.org \
    --to=hello@packit.dev \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox