public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pulp-cli] rawhide: Manually handle test requirements
@ 2026-06-10 6:45 Matthias Dellweg
0 siblings, 0 replies; only message in thread
From: Matthias Dellweg @ 2026-06-10 6:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pulp-cli
Branch : rawhide
Commit : cac166cde2c380e32b18ab0a5cca0c97a552f8a6
Author : Matthias Dellweg <x9c4@redhat.com>
Date : 2026-06-10T06:43:58+00:00
Stats : +1/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pulp-cli/c/cac166cde2c380e32b18ab0a5cca0c97a552f8a6?branch=rawhide
Log:
Manually handle test requirements
uv requirement-groups are not handled by pyproject-rpm-macros.
---
diff --git a/pulp-cli.spec b/pulp-cli.spec
index 9b6903c..5648cde 100644
--- a/pulp-cli.spec
+++ b/pulp-cli.spec
@@ -16,6 +16,7 @@ BuildArch: noarch
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: python3-devel
+BuildRequires: python3-gnupg
Recommends: pulp-cli-deb
Recommends: python3-pygments
@@ -41,15 +42,8 @@ sed -i '/requires =.*setuptools/s/<[0-9]\+//' pyproject.toml
# Remove upper version bound on packaging to enable building with new versions in Fedora
sed -i 's/"packaging.*"/"packaging"/' pyproject.toml
-# Remove all bounds on test dependencies; we must use what we have
-sed -r -Ei 's/^([a-zA-Z0-9._-]+).*/\1/' test_requirements.txt
-
%generate_buildrequires
-%if %{with tests}
-%pyproject_buildrequires test_requirements.txt
-%else
%pyproject_buildrequires
-%endif
%build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 6:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 6:45 [rpms/pulp-cli] rawhide: Manually handle test requirements Matthias Dellweg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox