public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asyncpg] f44: Use %pyproject_patch_dependency in lieu of tomcli
@ 2026-10-07 10:03 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-07 10:03 UTC (permalink / raw)
  To: git-commits

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.

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

only message in thread, other threads:[~2026-10-07 10:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 10:03 [rpms/python-asyncpg] f44: Use %pyproject_patch_dependency in lieu of tomcli Benjamin A. Beasley

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