public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-mpmath] rawhide: Fixes rhbz#2504549 - python-mpmath: FTBFS in Fedora rawhide/f45
@ 2026-08-06 18:47 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 18:47 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-mpmath
            Branch : rawhide
            Commit : 1f363801078e412ddc00cdfcd73cb910c62cc8e5
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-07-25T17:32:36-03:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-mpmath/c/1f363801078e412ddc00cdfcd73cb910c62cc8e5?branch=rawhide

            Log:
            Fixes rhbz#2504549 - python-mpmath: FTBFS in Fedora rawhide/f45

Fixed %check test failure caused by NumPy 2.x raising a DeprecationWarning
(which upstream pyproject.toml configured pytest to treat as an error).
Added -W default flag to prevent deprecation warnings from failing the check.

---
diff --git a/python-mpmath.spec b/python-mpmath.spec
index bd08d05..271b3c0 100644
--- a/python-mpmath.spec
+++ b/python-mpmath.spec
@@ -126,7 +126,7 @@ OPTIONS=(
     # Console testing seems to always fail, not tracked down yet...
     --deselect=mpmath/tests/test_demos.py
 )
-xwfb-run -c mutter -- pytest-3 -v "${OPTIONS[@]}"
+xwfb-run -c mutter -- pytest-3 -v -W default "${OPTIONS[@]}"
 
 %files -n python3-mpmath -f %{pyproject_files}
 %doc CHANGES README.rst

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

only message in thread, other threads:[~2026-08-06 18:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 18:47 [rpms/python-mpmath] rawhide: Fixes rhbz#2504549 - python-mpmath: FTBFS in Fedora rawhide/f45 Filipe Rosset

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