public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/home-assistant-cli] rawhide: Remove unnecessary and unwanted test dependencies
Date: Sun, 16 Aug 2026 07:58:03 GMT	[thread overview]
Message-ID: <178686708318.1.17448686072804241549.rpms-home-assistant-cli-1da37999912b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/home-assistant-cli
            Branch : rawhide
            Commit : 1da37999912b48e7d09100a45ce417156a64e1e6
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-07T07:10:49+01:00
            Stats  : +12/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/home-assistant-cli/c/1da37999912b48e7d09100a45ce417156a64e1e6?branch=rawhide

            Log:
            Remove unnecessary and unwanted test dependencies

Since the (upper-bounded) dependency on ruff is removed, this prevents
FTBFS after ruff is updated to 0.16.

---
diff --git a/home-assistant-cli.spec b/home-assistant-cli.spec
index d78f2c8..b5824ca 100644
--- a/home-assistant-cli.spec
+++ b/home-assistant-cli.spec
@@ -26,13 +26,21 @@ a local or a remote Home Assistant instance directly from the command-line.
 %pyproject_patch_dependency tabulate:drop_upper
 
 # Test dependencies
-%pyproject_patch_dependency pre-commit:drop_upper
-%pyproject_patch_dependency pytest-cov:drop_upper
-%pyproject_patch_dependency pytest-sugar:ignore
 %pyproject_patch_dependency pytest:drop_constraints
+# Omit unnecessary or unwanted test dependencies. See also:
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+# - Typecheckers, linters, and formatters:
+%pyproject_patch_dependency mypy:ignore
 %pyproject_patch_dependency types-dateparser:ignore
-%pyproject_patch_dependency types-requests:drop_constraints
+%pyproject_patch_dependency types-requests:ignore
 %pyproject_patch_dependency types-tabulate:ignore
+%pyproject_patch_dependency ruff:ignore
+# - Coverage analysis
+%pyproject_patch_dependency pytest-cov:ignore
+# - Simply not used
+%pyproject_patch_dependency pre-commit:ignore
+# - Purely cosmetic
+%pyproject_patch_dependency pytest-sugar:ignore
 
 %generate_buildrequires
 %pyproject_buildrequires -g test

                 reply	other threads:[~2026-08-16  7:58 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=178686708318.1.17448686072804241549.rpms-home-assistant-cli-1da37999912b@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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