public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-h5io] f45: Avoid unnecessary direct dependency on vcs_versioning
Date: Fri, 06 Nov 2026 06:35:05 GMT	[thread overview]
Message-ID: <179394690565.1.5293139407927086088.rpms-python-h5io-05ffedc8f693@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-h5io
Branch : f45
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=f45

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

                 reply	other threads:[~2026-11-06  6:35 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=179394690565.1.5293139407927086088.rpms-python-h5io-05ffedc8f693@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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