public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-h5io] f44: Avoid unnecessary direct dependency on vcs_versioning
@ 2026-11-06 6:41 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-06 6:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-h5io
Branch : f44
Commit : 05ffedc8f69303ac12e4709091dd7fcc087d15e1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-06T06:26:27+00:00
Stats : +8/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-h5io/c/05ffedc8f69303ac12e4709091dd7fcc087d15e1?branch=f44
Log:
Avoid unnecessary direct dependency on vcs_versioning
---
diff --git a/python-h5io.spec b/python-h5io.spec
index 696869b..231021e 100644
--- a/python-h5io.spec
+++ b/python-h5io.spec
@@ -35,9 +35,17 @@ Recommends: python%{python3_version}dist(scipy)
%prep
%autosetup -n h5io-h5io-%{version} -p1
+
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i 's/--cov[^[:blank:]"=]*(=[^[:blank:]"]*)?//g' pyproject.toml
+# Normally, vcs_versioning should be an indirect dependency via setuptools_scm.
+# Upstream depends on it directly solely to avoid version 2.0.1. The problem is
+# that vcs_versioning was introduced relatively recently, and Fedora releases
+# with older setuptools_scm versions (before F45) do not have vcs_versioning.
+# The sensible solution is to remove the direct dependency.
+%pyproject_patch_dependency vcs_versioning:ignore
+
%generate_buildrequires
%pyproject_buildrequires
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-06 6:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 6:41 [rpms/python-h5io] f44: Avoid unnecessary direct dependency on vcs_versioning Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox