public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cattrs] f43: Replace tomcli with provisional %pyproject_patch_dependency macro
@ 2026-07-11 18:52 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-11 18:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cattrs
Branch : f43
Commit : c3ba25a7550d824cb7879e9c868eaa070e44c832
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-11T07:00:17+01:00
Stats : +2/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-cattrs/c/c3ba25a7550d824cb7879e9c868eaa070e44c832?branch=f43
Log:
Replace tomcli with provisional %pyproject_patch_dependency macro
[skip changelog]
---
diff --git a/python-cattrs.spec b/python-cattrs.spec
index d9ca8b0..606661a 100644
--- a/python-cattrs.spec
+++ b/python-cattrs.spec
@@ -33,7 +33,6 @@ Patch: 0001-Downstream-temporarily-loosen-version-bounds-on-some.patch
%global debug_package %{nil}
BuildRequires: python3-devel
-BuildRequires: tomcli
%global msgspec_enabled 0
%if %{with msgspec}
@@ -87,13 +86,11 @@ Obsoletes: python-cattrs-doc < 24.1.2^20241004gitae80674-6
%autosetup -C
# Don’t run benchmarks when testing
-tomcli set pyproject.toml lists delitem 'dependency-groups.test' \
- 'pytest-benchmark\b.*'
+%pyproject_patch_dependency pytest-benchmark:ignore
sed --regexp-extended --in-place \
's/ --benchmark[^[:blank:]"]*//g' pyproject.toml
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-tomcli set pyproject.toml lists delitem 'dependency-groups.test' \
- 'coverage\b.*'
+%pyproject_patch_dependency coverage:ignore
# Remove bundled fonts to show they are not packaged:
rm --recursive --verbose docs/_static/fonts/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-11 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-11 18:52 [rpms/python-cattrs] f43: Replace tomcli with provisional %pyproject_patch_dependency macro 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