public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-pytest-github-actions-annotate-failures] rawhide: Fix build failures with setuptools-scm and missing test dependencies
Date: Sat, 12 Sep 2026 08:54:39 GMT [thread overview]
Message-ID: <178920327990.1.14563159898498267261.rpms-python-pytest-github-actions-annotate-failures-7150422b69e4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pytest-github-actions-annotate-failures
Branch : rawhide
Commit : 7150422b69e4a1b3b43a8974895f395523f7eed9
Author : Miroslav Suchý <msuchy@redhat.com>
Date : 2026-09-12T00:51:07+02:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pytest-github-actions-annotate-failures/c/7150422b69e4a1b3b43a8974895f395523f7eed9?branch=rawhide
Log:
Fix build failures with setuptools-scm and missing test dependencies
Set SETUPTOOLS_SCM_PRETEND_VERSION so version detection works from
tarball without .git metadata. Add BuildRequires on pytest-rerunfailures
and pytest-xdist needed by upstream integration tests that spawn
subprocess pytest with --reruns/-n flags.
Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>
---
diff --git a/python-pytest-github-actions-annotate-failures.spec b/python-pytest-github-actions-annotate-failures.spec
index e1d7a33..52645d7 100644
--- a/python-pytest-github-actions-annotate-failures.spec
+++ b/python-pytest-github-actions-annotate-failures.spec
@@ -15,6 +15,8 @@ Source: %forgesource
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pkg-resources
+BuildRequires: python3-pytest-rerunfailures
+BuildRequires: python3-pytest-xdist
%global _description %{expand:
Pytest plugin to annotate failed tests with a workflow command for
@@ -34,10 +36,12 @@ Summary: %{summary}
%generate_buildrequires
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_buildrequires
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
reply other threads:[~2026-09-12 8:54 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=178920327990.1.14563159898498267261.rpms-python-pytest-github-actions-annotate-failures-7150422b69e4@fedoraproject.org \
--to=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