public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-asttokens] rawhide: Unpin the upper bound of pytest
Date: Sat, 30 May 2026 16:21:57 GMT	[thread overview]
Message-ID: <178015811730.1.11111970263758933071.rpms-python-asttokens-1570d81088a3@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-05-30 16:21 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=178015811730.1.11111970263758933071.rpms-python-asttokens-1570d81088a3@fedoraproject.org \
    --to=ksurma@redhat.com \
    --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