public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-scikit-build-core] rawhide: Fix compatibility with latest setuptools_scm / vcs_versioning
@ 2026-06-29 17:44 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-06-29 17:44 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 17:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 17:44 [rpms/python-scikit-build-core] rawhide: Fix compatibility with latest setuptools_scm / vcs_versioning Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox