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/python-asyncpg] f44: Use %pyproject_patch_dependency in lieu of tomcli
Date: Wed, 07 Oct 2026 10:03:25 GMT	[thread overview]
Message-ID: <179136740506.1.7164678432329243888.rpms-python-asyncpg-6a931fa8c3f7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-asyncpg
Branch : f44
Commit : 6a931fa8c3f755ce19a941f7b5bfb25c5f5d51b9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-04-29T13:20:43+01:00
Stats  : +4/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-asyncpg/c/6a931fa8c3f755ce19a941f7b5bfb25c5f5d51b9?branch=f44

Log:
Use %pyproject_patch_dependency in lieu of tomcli

---
diff --git a/python-asyncpg.spec b/python-asyncpg.spec
index 779be03..cd86477 100644
--- a/python-asyncpg.spec
+++ b/python-asyncpg.spec
@@ -31,7 +31,6 @@ BuildOption(install):   -l asyncpg
 BuildOption(generate_buildrequires): -x gssauth -g test
 
 BuildRequires:  gcc
-BuildRequires:  tomcli
 
 # Unbundled header-only library. Dependency on -static per guidelines,
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_header_only_libraries.
@@ -85,8 +84,9 @@ Obsoletes:      %{name}-doc < 0.27.0-5
 find asyncpg -type f -name '*.c' ! -name 'recordobj.c' -print -delete
 
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-tomcli set pyproject.toml lists delitem \
-    'dependency-groups.test' '(flake8|mypy)\b.*'
+%pyproject_patch_dependency flake8-pyi:ignore
+%pyproject_patch_dependency flake8:ignore
+%pyproject_patch_dependency mypy:ignore
 
 # Do not upper-bound the Python interpreter version for the uvloop test
 # dependency. First, a missing uvloop breaks the test if we do not adjust the
@@ -95,7 +95,7 @@ tomcli set pyproject.toml lists delitem \
 # ... lists replace ..." only supports a fixed replacement string.
 sed -r -i "s/('uvloop\\b.*);.*'/\\1'/" pyproject.toml
 %if %{without uvloop}
-tomcli set pyproject.toml lists delitem 'dependency-groups.test' '(uvloop)\b.*'
+%pyproject_patch_dependency uvloop:ignore
 %endif
 
 # Unbundle pythoncapi-compat.

                 reply	other threads:[~2026-10-07 10:03 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=179136740506.1.7164678432329243888.rpms-python-asyncpg-6a931fa8c3f7@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