public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cmd2] rawhide: Use autogenerated test dependencies
@ 2026-10-15  8:08 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-10-15  8:08 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-15  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15  8:08 [rpms/python-cmd2] rawhide: Use autogenerated test dependencies Steve Traylen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox