public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-makefun] epel10.2: Skip tests that fail with python3.13
Date: Sat, 01 Aug 2026 03:29:35 GMT	[thread overview]
Message-ID: <178555497562.1.17215567498458386200.rpms-python-makefun-7ee7c7c801dd@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-makefun
            Branch : epel10.2
            Commit : 7ee7c7c801dd209d106098396f6a44b221f8700f
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
            Date   : 2024-06-10T12:24:39+02:00
            Stats  : +11/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-makefun/c/7ee7c7c801dd209d106098396f6a44b221f8700f?branch=epel10.2

            Log:
            Skip tests that fail with python3.13

... (rhbz#2245884)

Also use the standard %pytest invocation.

---
diff --git a/python-makefun.spec b/python-makefun.spec
index 9ed1b6a..d5e70c9 100644
--- a/python-makefun.spec
+++ b/python-makefun.spec
@@ -43,8 +43,17 @@ sed -r -i "s/'pandoc', //" setup.py
 
 %check
 # Tests require pytest-cases, which requires this package. Yay!
-PYTHONPATH=%{buildroot}/%{python3_sitelib} \
-    %python3 -m pytest -v
+
+TESTOPTS=(
+    # Python 3.13 whitespace incompatibilities
+    # https://github.com/smarie/python-makefun/issues/102
+    --deselect=tests/test_partial_and_macros.py::test_doc
+    --deselect=tests/test_partial_and_macros.py::test_partial
+    --deselect=tests/test_partial_and_macros.py::test_create_with_partial
+    --deselect=tests/test_partial_and_macros.py::test_args_order_and_kind
+)
+
+%pytest -v "${TESTOPTS[@]}"
 
 %files -n python3-makefun
 %license LICENSE

                 reply	other threads:[~2026-08-01  3:29 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=178555497562.1.17215567498458386200.rpms-python-makefun-7ee7c7c801dd@fedoraproject.org \
    --to=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