public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-scikit-build-core] rawhide: Fix compatibility with latest setuptools_scm / vcs_versioning
Date: Mon, 29 Jun 2026 17:44:57 GMT	[thread overview]
Message-ID: <178275509748.1.11908009426090581446.rpms-python-scikit-build-core-d67213d16a97@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-scikit-build-core
Branch : rawhide
Commit : d67213d16a97e463310f7457cd2e2f75646ab0c6
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-06-29T14:45:04+02:00
Stats  : +25/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-scikit-build-core/c/d67213d16a97e463310f7457cd2e2f75646ab0c6?branch=rawhide

Log:
Fix compatibility with latest setuptools_scm / vcs_versioning

---
diff --git a/dfb1a043.patch b/dfb1a043.patch
new file mode 100644
index 0000000..3e9d2a8
--- /dev/null
+++ b/dfb1a043.patch
@@ -0,0 +1,23 @@
+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/python-scikit-build-core.spec b/python-scikit-build-core.spec
index b6367ef..92e65a1 100644
--- a/python-scikit-build-core.spec
+++ b/python-scikit-build-core.spec
@@ -20,6 +20,8 @@ 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

                 reply	other threads:[~2026-06-29 17:44 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=178275509748.1.11908009426090581446.rpms-python-scikit-build-core-d67213d16a97@fedoraproject.org \
    --to=lbalhar@redhat.com \
    --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