Public bug reported: 5377s =================================== FAILURES =================================== 5377s _____________________________ test_numpy_to_float ______________________________ 5377s 5377s def test_numpy_to_float(): 5377s from sympy.testing.pytest import skip 5377s from sympy.external import import_module 5377s np = import_module('numpy') 5377s if not np: 5377s skip('numpy not installed. Abort numpy tests.') 5377s 5377s def check_prec_and_relerr(npval, ratval): 5377s prec = np.finfo(npval).nmant + 1 5377s x = Float(npval) 5377s assert x._prec == prec 5377s y = Float(ratval, precision=prec) 5377s assert abs((x - y)/y) < 2**(-(prec + 1)) 5377s 5377s check_prec_and_relerr(np.float16(2.0/3), Rational(2, 3)) 5377s check_prec_and_relerr(np.float32(2.0/3), Rational(2, 3)) 5377s check_prec_and_relerr(np.float64(2.0/3), Rational(2, 3)) 5377s # extended precision, on some arch/compilers: 5377s x = np.longdouble(2)/3 5377s > check_prec_and_relerr(x, Rational(2, 3)) 5377s 5377s ../../build.306/src/sympy/core/tests/test_numbers.py:2174: 5377s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 5377s 5377s npval = np.longdouble('0.66666666666666666666666666666666'), ratval = 2/3 5377s 5377s def check_prec_and_relerr(npval, ratval): 5377s prec = np.finfo(npval).nmant + 1 5377s x = Float(npval) 5377s assert x._prec == prec 5377s y = Float(ratval, precision=prec) 5377s > assert abs((x - y)/y) < 2**(-(prec + 1)) 5377s E assert 1.848892746611746418933738824882e-32 < (2 ** -(106 + 1)) 5377s E + where 1.848892746611746418933738824882e-32 = abs(((0.6666666666666666666666666666667 - 0.6666666666666666666666666666667) / 0.6666666666666666666666666666667)) 5377s 5377s ../../build.306/src/sympy/core/tests/test_numbers.py:2167: AssertionError 5377s DO *NOT* COMMIT! 5377s =========================== short test summary info ============================ 5377s FAILED ../../build.306/src/sympy/core/tests/test_numbers.py::test_numpy_to_float 5377s = 1 failed, 12567 passed, 362 skipped, 214 deselected, 327 xfailed, 6 xpassed in 2455.81s (0:40:55) = 5386s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest.DozDlm/autopkgtest_tmp/build; python3.13 -m pytest {dir}/sympy -k 'not (TestUpdateArgsWithPaths)' 5386s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.12 3.13" returned exit code 13 5386s make: *** [/tmp/OKUIBVZdLr/run:4: pybuild-autopkgtest] Error 25 5386s pybuild-autopkgtest: error: /tmp/OKUIBVZdLr/run pybuild-autopkgtest returned exit code 2 5387s autopkgtest [17:06:06]: test pybuild-autopkgtest: -----------------------] 5387s pybuild-autopkgtest FAIL non-zero exit status 25 5387s autopkgtest [17:06:06]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 5388s autopkgtest [17:06:07]: @@@@@@@@@@@@@@@@@@@@ summary 5388s pybuild-autopkgtest FAIL non-zero exit status 25 5405s nova [W] Using flock in prodstack6-ppc64el 5405s Creating nova instance adt-plucky-ppc64el-sympy-20250222-153619-juju-7f2275-prod-proposed-migration-environment-15-7077b772-80c6-4788-98eb-f9e20d0b4678 from image adt/ubuntu-plucky-ppc64el-server-20250222.img (UUID fe93544b-49e9-47e0-b80a-745acc8cd85b)... 5405s nova [W] Timed out waiting for 9acbaf40-c922-47d7-98a4-5f4479838912 to get deleted.
** Affects: sympy (Ubuntu) Importance: Undecided Status: New ** Affects: sympy (Debian) Importance: Unknown Status: Unknown ** Tags: autopkgtest update-excuse ** Bug watch added: Debian Bug tracker #1098246 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098246 ** Also affects: sympy (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098246 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2099762 Title: [p-m] sympy/ppc64el autopkgtest fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sympy/+bug/2099762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs