public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-cmd2] rawhide: Use autogenerated test dependencies
Date: Thu, 15 Oct 2026 08:08:34 GMT	[thread overview]
Message-ID: <179205171430.1.9046692658679760216.rpms-python-cmd2-fbc5d7ed035e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cmd2
Branch : rawhide
Commit : fbc5d7ed035e1e5e4d03573d388879fc89ba3c87
Author : Steve Traylen <steve.traylen@cern.ch>
Date   : 2026-10-14T10:10:04+02:00
Stats  : +4/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cmd2/c/fbc5d7ed035e1e5e4d03573d388879fc89ba3c87?branch=rawhide

Log:
Use autogenerated test dependencies

---
diff --git a/python-cmd2.spec b/python-cmd2.spec
index 1bf8006..f442dd9 100644
--- a/python-cmd2.spec
+++ b/python-cmd2.spec
@@ -12,8 +12,6 @@ Source0:          https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{v
 BuildArch:        noarch
 
 BuildRequires:    python3-devel
-BuildRequires:    python3-pytest
-BuildRequires:    python3-pytest-mock
 # An editor is needed for tests; vim works too
 BuildRequires:    nano
 
@@ -51,7 +49,7 @@ Requires:         /usr/bin/which
 
 
 %generate_buildrequires
-%pyproject_buildrequires
+%pyproject_buildrequires -g test
 
 
 %description -n python3-%{pypi_name} %_description
@@ -63,6 +61,9 @@ Requires:         /usr/bin/which
 sed -i '/"\-\-cov/d' pyproject.toml
 
 %pyproject_patch_dependency prompt-toolkit:set_lower:3.0.52
+%pyproject_patch_dependency codecov:ignore
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency pytest-cov:ignore
 
 
 %build

                 reply	other threads:[~2026-10-15  8:08 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=179205171430.1.9046692658679760216.rpms-python-cmd2-fbc5d7ed035e@fedoraproject.org \
    --to=steve.traylen@cern.ch \
    --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