public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-makefun] epel10.2: Skip tests that fail with python3.13
@ 2026-08-01  3:29 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-01  3:29 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-08-01  3:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01  3:29 [rpms/python-makefun] epel10.2: Skip tests that fail with python3.13 

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