Your message dated Tue, 23 Jul 2024 13:51:01 +0000
with message-id <[email protected]>
and subject line Bug#1074318: fixed in scipy 1.13.1-1exp15
has caused the Debian Bug report #1074318,
regarding scipy: loong64 architecture fails TestQuad.test_complex
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1074318: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074318
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: scipy
Version: 1.12.0-2
Severity: normal
Control: forwarded -1 https://github.com/scipy/scipy/issues/21057

loong64 is failing the TestQuad.test_complex test from the integrate
tests.

The failure only started recently, the test was passing before 14
June. I'm not certain what changed. The gcc version is the same.

Build logs (building scipy 1.13.1) can be found at
https://buildd.debian.org/status/logs.php?pkg=scipy&arch=loong64

e.g.
https://buildd.debian.org/status/fetch.php?pkg=scipy&arch=loong64&ver=1.13.1-1exp7&stamp=1719404050&raw=0

Only this one test is failing on loong64, but the error looks serious
enough to report rather than skip and ignore.  We may need loong64
porters to step in and help.

For comparison, the test is still passing on MIPS64 (mips64el),
https://buildd.debian.org/status/fetch.php?pkg=scipy&arch=mips64el&ver=1.13.1-1exp6&stamp=1718428354&raw=0


The error message is:
____________________________ TestQuad.test_complex _____________________________

E   AssertionError: 
    Items are not equal:
     ACTUAL: 230.90706003885032
     DESIRED: 32.986722862692815
All traceback entries are hidden. Pass `--full-trace` to see hidden and 
internal frames.

During handling of the above exception, another exception occurred:

self = <scipy.integrate.tests.test_quadpack.TestQuad object at 0x7fffe9cb2540>

    def test_complex(self):
        def tfunc(x):
            return np.exp(1j*x)
    
        assert np.allclose(
                    quad(tfunc, 0, np.pi/2, complex_func=True)[0],
                    1+1j)
    
        # We consider a divergent case in order to force quadpack
        # to return an error message.  The output is compared
        # against what is returned by explicit integration
        # of the parts.
        kwargs = {'a': 0, 'b': np.inf, 'full_output': True,
                  'weight': 'cos', 'wvar': 1}
        res_c = quad(tfunc, complex_func=True, **kwargs)
        res_r = quad(lambda x: np.real(np.exp(1j*x)),
                     complex_func=False,
                     **kwargs)
        res_i = quad(lambda x: np.imag(np.exp(1j*x)),
                     complex_func=False,
                     **kwargs)
    
>       np.testing.assert_equal(res_c[0], res_r[0] + 1j*res_i[0])
E       AssertionError: 
E       Items are not equal:
E        ACTUAL: (230.90706003885032+1.1655968375567166e-15j)
E        DESIRED: (32.986722862692815+1.1655968375567166e-15j)

kwargs     = {'a': 0, 'b': inf, 'full_output': True, 'weight': 'cos', ...}
res_c      = ((230.90706003885032+1.1655968375567166e-15j), 
(292.1681167840555+5.585367613532157e-15j), {'imag': ({'erlst': array([...ure 
invoked on this cycle.  It is assumed that the result on this interval is the 
best which can be obtained.', ...})})
res_i      = (1.1655968375567166e-15, 5.585367613532157e-15, {'erlst': 
array([4.82013969e-18, 3.89507855e-16, 4.53618857e-17, 1.498...     1038530212, 
-1073741824,  1042556203, -2147483648,  1041689581],
      dtype=int32), 'lst': 6, 'neval': 150, ...})
res_r      = (32.986722862692815, 2.0517814695912247e-10, {'erlst': 
array([2.05135975e-11, 2.05139675e-11, 2.05132276e-11, 2.051267...     
1049296283,  -778100732,  1048957913, -1583113503,  1049668002],
      dtype=int32), 'lst': 7, 'neval': 525, ...})
self       = <scipy.integrate.tests.test_quadpack.TestQuad object at 
0x7fffe9cb2540>
tfunc      = <function TestQuad.test_complex.<locals>.tfunc at 0x7fffdb430040>

scipy/integrate/tests/test_quadpack.py:530: AssertionError

--- End Message ---
--- Begin Message ---
Source: scipy
Source-Version: 1.13.1-1exp15
Done: Drew Parsons <[email protected]>

We believe that the bug you reported is fixed in the latest version of
scipy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <[email protected]> (supplier of updated scipy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 23 Jul 2024 15:31:31 +0200
Source: scipy
Architecture: source
Version: 1.13.1-1exp15
Distribution: experimental
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1074318
Changes:
 scipy (1.13.1-1exp15) experimental; urgency=medium
 .
   * debian patch quadpack_C_PR21201.patch applies upstream PR#21201 to
     refactor quadpack in C instead of fortran. Closes: #1074318.
Checksums-Sha1:
 53245f96c99135864c03bb76ebc175b9603d70c0 3444 scipy_1.13.1-1exp15.dsc
 01cad87302c936c4f592f6130cb993c12efdb19b 102420 
scipy_1.13.1-1exp15.debian.tar.xz
 69731a0176302ddaf6ac3bdca0f2e3683b2c3e94 10983 
scipy_1.13.1-1exp15_source.buildinfo
Checksums-Sha256:
 863f65434ff1066d3a1899ce8abf3f263e139e7895243f28f19573489f136555 3444 
scipy_1.13.1-1exp15.dsc
 b5c3e81f3163c9aad0416f2b6bca3366d4d34222fc82e1bd5e135b70476f742a 102420 
scipy_1.13.1-1exp15.debian.tar.xz
 03dc504c05924786f0bc3eefddb17beb624a84a2177cf38529aab30f60f31f62 10983 
scipy_1.13.1-1exp15_source.buildinfo
Files:
 0e4d5110e69ef7506c36749c73b0d705 3444 python optional scipy_1.13.1-1exp15.dsc
 bbc21d4d1e88f154eccba2f34bce2285 102420 python optional 
scipy_1.13.1-1exp15.debian.tar.xz
 14be07654a2b98d430c67d1279446fcc 10983 python optional 
scipy_1.13.1-1exp15_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmafsOMUHGRwYXJzb25z
QGRlYmlhbi5vcmcACgkQVz7x5L1aAfoQTQ/+KNXukjsoQy2iwNVEQS0E5BiIg0BX
SAYRtUYV5X27Suc72x4gcDAoodJx3C/xlWfpgSJGXVgqS464S0D3fwhsB2lFwQuv
kKstRyi79sPTMSl8PPwPsXIXNLAbhXpKVK+gqPsuUZ0RnxQpaHnzvnGRFg4z5p92
mRXa7dwVhZ7xqBJnCaIvSdl978gI5LgsT9aFHOmpiJVFnlKBBUcvEQr1+zQVkur/
UaArkGuI7f8iLzhZP8SU3iNZ2gSyzuHCBpcB029AtBDQrIi/7f3lX8HV2SS5U2/B
+YLlFuevFq8/aT8IawCWE9DIPwjlq1uw9KskVqxeZa40iSOLz2zUj2YqbxNrjdb7
Vh0LXeMbrg9EIGMeY/sudrZKdRpsK/nDEUtsFGIwDbOgmTUzIUledLko42yehfUT
3dn69/zn2DGcG/a6MqRH9AFOF0r94UJPy0hmLfc5M21EblWBAj8EVNoD/e4Gtg2w
mx/ZdBhYmotuKb0jyj7zih7ukPaFw513R2/f/gegRmwu8VTpctrmUOswktwM76vl
4BhWmpZ0ZBFqHoOYRxGJdFrLfZolJ6sQ8MCpP+5hRzd80E+5GQ+WMK6oLP3p+lYI
4q3iB/2rSkTEZWAgBdom9Gq5TwP7Nk/REE6/b7ix2oCfk7vQAS06FMOQdIRDDU3w
NhRHPMtcKU9LIv0=
=61jL
-----END PGP SIGNATURE-----

Attachment: pgpRwHg9ObtAQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to