public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asttokens] rawhide: Unpin the upper bound of pytest
@ 2026-05-30 16:21 Karolina Surma
0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-05-30 16:21 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-asttokens
Branch : rawhide
Commit : 1570d81088a3c62a11b6a085aca2aa100db3a1f8
Author : Karolina Surma <ksurma@redhat.com>
Date : 2026-05-20T11:35:32+02:00
Stats : +3/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-asttokens/c/1570d81088a3c62a11b6a085aca2aa100db3a1f8?branch=rawhide
Log:
Unpin the upper bound of pytest
Leverage new macros for easier handling of the unwanted dependencies.
---
diff --git a/python-asttokens.spec b/python-asttokens.spec
index b062ac1..119c77b 100644
--- a/python-asttokens.spec
+++ b/python-asttokens.spec
@@ -28,7 +28,9 @@ Summary: %{summary}
%autosetup -p1 -n asttokens-%{version}
# Drop dependency on pytest-cov, not useful for distro builds
-sed -r -i '/pytest-cov/d' setup.cfg
+%pyproject_patch_dependency pytest-cov:ignore
+# compat with pytest 9+
+%pyproject_patch_dependency pytest:drop_upper
%generate_buildrequires
# Let setuptools_scm determine version outside of SCM
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-30 16:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 16:21 [rpms/python-asttokens] rawhide: Unpin the upper bound of pytest Karolina Surma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox