Your message dated Wed, 30 Nov 2022 23:12:39 +0000
with message-id <[email protected]>
and subject line Bug#1014278: fixed in statsmodels 0.13.5+dfsg-1
has caused the Debian Bug report #1014278,
regarding statsmodels: s390x fails TestDynamicFactor test_mle with scipy 1.8 
and pythran
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.)


-- 
1014278: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014278
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: statsmodels
Version: 0.13.2+dfsg-2
Severity: normal

scipy 1.8.1 has been recently uploaded to unstable.

statsmodel is giving a test error on s390x:

____________________ TestDynamicFactor_ar2_errors.test_mle _____________________

self = 
<statsmodels.tsa.statespace.tests.test_dynamic_factor.TestDynamicFactor_ar2_errors
 object at 0x3ff4e18ff70>

    def test_mle(self):
        with warnings.catch_warnings(record=True):
            # Depending on the system, this test can reach a greater precision,
            # but for cross-platform results keep it at 1e-2
            mod = self.model
            res1 = mod.fit(maxiter=100, optim_score='approx', disp=False)
            res = mod.fit(
                res1.params, method='nm', maxiter=10000,
                optim_score='approx', disp=False)
            # Added rtol to catch spurious failures on some platforms
>           assert_allclose(res.llf, self.results.llf, atol=1e-2, rtol=1e-4)
E           AssertionError: 
E           Not equal to tolerance rtol=0.0001, atol=0.01
E           
E           Mismatched elements: 1 / 1 (100%)
E           Max absolute difference: 1.11132149
E           Max relative difference: 0.00182958
E            x: array(606.308783)
E            y: array(607.420104)

/usr/lib/python3/dist-packages/statsmodels/tsa/statespace/tests/test_dynamic_factor.py:614:
 AssertionError


It's just a question of tolerance, thought the tolerance required to
pass is a little higher than we'd prefer (would need absolute difference 1.2
instead of 0.01)

At the same time scipy has been configured to use pythran, introduced
in scipy 1.8.1-5.  Because the s390x test machines have been flakey in
recent week, we missed the test of statsmodels against scipy 1.8.1
without pythran, so it's not clear if the test failure is due to scipy
1.8 itself, or due to scipy 1.8 using pythran 0.11.

In any case it's only one test among 16358, so one option is to just
skip this test on s390x, e.g.

    import platform
    @pytest.mark.skipif(platform.machine()=='s390x', reason="tolerance not 
reached on s390x")
    def test_mle(self):

--- End Message ---
--- Begin Message ---
Source: statsmodels
Source-Version: 0.13.5+dfsg-1
Done: Rebecca N. Palmer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
statsmodels, 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.
Rebecca N. Palmer <[email protected]> (supplier of updated statsmodels 
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: Wed, 30 Nov 2022 21:29:37 +0000
Source: statsmodels
Architecture: source
Version: 0.13.5+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Rebecca N. Palmer <[email protected]>
Closes: 1014278 1020060
Changes:
 statsmodels (0.13.5+dfsg-1) unstable; urgency=medium
 .
   * Upstream bugfix release.  Drop / refresh patches, d/copyright.
   * Update Build-Depends.
   * Bump Standards-Version to 4.6.1 (no changes needed).
   * Tests: remove xfails that appear to no longer be needed.
   * Tests: loosen tolerance on TestDynamicFactor_ar2_errors as it
     appears to be unstable.  (Closes: #1020060, #1014278)
Checksums-Sha1:
 e4d10f82953f62ece7feb6bb8807d295067fe74c 3671 statsmodels_0.13.5+dfsg-1.dsc
 5799ac0e12593a733751581f906494938f10fb4c 11156260 
statsmodels_0.13.5+dfsg.orig.tar.xz
 a5dcc8196c960a4c594993ee313e4e48d34b52de 31804 
statsmodels_0.13.5+dfsg-1.debian.tar.xz
 8349d305408fa489c189693ef5478ac417a6fa8c 6366 
statsmodels_0.13.5+dfsg-1_source.buildinfo
Checksums-Sha256:
 63daed57b041ec071c300ee66886ef40588f8363abe99737e322ed6cfbbce643 3671 
statsmodels_0.13.5+dfsg-1.dsc
 46620ca87fc00bbeb6f282c7afd2045db3c987418a9dd32d7f8b5a2c265ac02f 11156260 
statsmodels_0.13.5+dfsg.orig.tar.xz
 2b243c704bacee0c2c5cd8f1e3f3a958f14f6e1b2481df7b1e424959f06868f1 31804 
statsmodels_0.13.5+dfsg-1.debian.tar.xz
 7295b40e9357ddb5d0cccde61e85f043f229c6d8f90550dde93501061fe83013 6366 
statsmodels_0.13.5+dfsg-1_source.buildinfo
Files:
 a859f74e68405c00020aaf1db47669b0 3671 python optional 
statsmodels_0.13.5+dfsg-1.dsc
 7070423b216c98a667f3a55601f224c6 11156260 python optional 
statsmodels_0.13.5+dfsg.orig.tar.xz
 69e33e663740173354fdca34b831075c 31804 python optional 
statsmodels_0.13.5+dfsg-1.debian.tar.xz
 185cb0d78bc9ab3083021af06369d100 6366 python optional 
statsmodels_0.13.5+dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAmOH2y4YHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJm5zQQAKcheCkQhOgYgnz4HdSLg8c4
E1XLR4RTVrWKIzjCQ994ueaoe1bH987Dp6DGJa/O9+TX0tEBhoukjl7p0FMXX5pE
AXovHTufdgazqDlagOGQC+SC/7h3mzaDYA3tRF9IkLit9yGZYZrKuSAx8gtiYOOh
ha9CgGp1e5zF9f+sn5ps1QJCCtciTGe67/n8NSiKqLGPLw47IcB2onhZXtGNBpXJ
L3TcaIQX5Ll1PVPZFGGJGOaOz9NLSThNfPTLQDi5NUZPPHyKx2qLhC3cYBcz6NjG
iFWN0G4U7cBwYXUQr0nqCnfNZ3hj/VPh9zrKJ4NpIfeWUDvTJ7maGfYzRDDLZBf/
D6svAUp1OfOaPnad3Go1RsX3u5tnID/of7sXORGtbCJfux+4h3chqdL2g0CtThym
z2T+gq9k6X/xuNKONDpI0q1NybG8togDRkgB02nn3wqrwl3/3NoICppk/sqoa+/a
OCkcpDxqwOx/X1eoZdMU/G3wxlsEGwQcesmcdy/ecH1bHDbdUIFf0VnA4F/upq3c
6F8NU+QHkvYvdF+5daruNv/ShonNhVZSowNldgYz0F/j8LEsWferP6IHk0fCn/H7
WYVcYgtI+2cJrzEvTlwgPHweQp5G3jhDwMw9+Kb4UN8uNOS05MRlYkD3/lMKgzjP
G3NhNFzh1ViDZjAJEYy0
=0OME
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to