From 8365c0e9ce0929dbbb3303a2f85f136337dc5842aa236d0cdd0530d1634da812 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 18 Nov 2025 03:06:48 +0000 Subject: [PATCH] - Switch to pytest macro. - Skip a test that breaks due to a Python 3.14 behaviour change. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpmath?expand=0&rev=18 --- python-mpmath.changes | 6 ++++++ python-mpmath.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-mpmath.changes b/python-mpmath.changes index 42d2725..2080c36 100644 --- a/python-mpmath.changes +++ b/python-mpmath.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 18 03:06:06 UTC 2025 - Steve Kowalik + +- Switch to pytest macro. +- Skip a test that breaks due to a Python 3.14 behaviour change. + ------------------------------------------------------------------- Fri May 9 05:11:54 UTC 2025 - Steve Kowalik diff --git a/python-mpmath.spec b/python-mpmath.spec index 3e2688e..303141b 100644 --- a/python-mpmath.spec +++ b/python-mpmath.spec @@ -1,7 +1,7 @@ # # spec file for package python-mpmath # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,8 +62,8 @@ sed -i '1d' mpmath/tests/runtests.py # fix non-executable-script rpmlint warnin %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONDONTWRITEBYTECODE=1 -%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} -v --pyargs mpmath +# "Broken" by https://github.com/python/cpython/issues/121149 in 3.14 +%pytest -v --pyargs mpmath -k 'not mpmath.functions.orthogonal.spherharm' %files %{python_files} %license LICENSE