public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Dellweg <x9c4@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pulp-cli] rawhide: Manually handle test requirements
Date: Wed, 10 Jun 2026 06:45:26 GMT	[thread overview]
Message-ID: <178107392631.1.4760108560136260611.rpms-pulp-cli-cac166cde2c3@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-10  6:45 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=178107392631.1.4760108560136260611.rpms-pulp-cli-cac166cde2c3@fedoraproject.org \
    --to=x9c4@redhat.com \
    --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