Your message dated Mon, 10 Aug 2020 07:48:33 +0000
with message-id <e1k52xp-000el9...@fasolo.debian.org>
and subject line Bug#966712: fixed in statsmodels 0.11.1-4
has caused the Debian Bug report #966712,
regarding statsmodels: debci tests fail
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 ow...@bugs.debian.org
immediately.)


-- 
966712: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966712
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: statsmodels
Severity: normal

Three statsmodels debci tests (autopkgtest) are failing against
scipy 1.5.2:

../../../../usr/lib/python3/dist-packages/statsmodels/base/tests/test_optimize.py::test_full_output_false
 FAILED [  1%]
../../../../usr/lib/python3/dist-packages/statsmodels/base/tests/test_optimize.py::test_full_output
 FAILED [  1%]
../../../../usr/lib/python3/dist-packages/statsmodels/regression/tests/test_rolling.py::test_plot
 FAILED [ 30%]


Error traces:

=================================== FAILURES ===================================
____________________________ test_full_output_false ____________________________

reset_randomstate = None

    @pytest.mark.smoke
    def test_full_output_false(reset_randomstate):
        # newton needs f, score, start, fargs, kwargs
        # bfgs needs f, score start, fargs, kwargs
        # nm needs ""
        # cg ""
        # ncg ""
        # powell ""
        for method in fit_funcs:
            func = fit_funcs[method]
            if method == "newton":
                xopt, retvals = func(dummy_func, dummy_score, [1], (), {},
                        hess=dummy_hess, full_output=False, disp=0)
    
            else:
                xopt, retvals = func(dummy_func, dummy_score, [1], (), {},
                    full_output=False, disp=0)
            assert_(retvals is None)
            if method == "powell":
                #NOTE: I think I reported this? Might be version/optimize API
                # dependent
>               assert_(xopt.shape == () and xopt.size == 1)
E               AssertionError

/usr/lib/python3/dist-packages/statsmodels/base/tests/test_optimize.py:53: 
AssertionError
_______________________________ test_full_output _______________________________

reset_randomstate = None

    def test_full_output(reset_randomstate):
        for method in fit_funcs:
            func = fit_funcs[method]
            if method == "newton":
                xopt, retvals = func(dummy_func, dummy_score, [1], (), {},
                                     hess=dummy_hess, full_output=True, disp=0)
    
            else:
                xopt, retvals = func(dummy_func, dummy_score, [1], (), {},
                                     full_output=True, disp=0)
    
            assert_(retvals is not None)
            assert_('converged' in retvals)
    
            if method == "powell":
                #NOTE: I think I reported this? Might be version/optimize API
                # dependent
>               assert_(xopt.shape == () and xopt.size == 1)
E               AssertionError

/usr/lib/python3/dist-packages/statsmodels/base/tests/test_optimize.py:75: 
AssertionError
__________________________________ test_plot ___________________________________

    @pytest.mark.matplotlib
    def test_plot():
        import matplotlib.pyplot as plt
    
        y, x, w = gen_data(250, 3, True, pandas=True)
        fmla = 'y ~ 1 + x0 + x1 + x2'
        data = pd.concat([y, x], axis=1)
        mod = RollingWLS.from_formula(fmla, window=100, data=data, weights=w)
        res = mod.fit()
        fig = res.plot_recursive_coefficient()
        assert isinstance(fig, plt.Figure)
        res.plot_recursive_coefficient(variables=2, alpha=None,
                                       figsize=(30, 7))
        res.plot_recursive_coefficient(variables='x0', alpha=None,
                                       figsize=(30, 7))
        res.plot_recursive_coefficient(variables=[0, 2], alpha=None,
                                       figsize=(30, 7))
        res.plot_recursive_coefficient(variables=['x0'], alpha=None,
                                       figsize=(30, 7))
        res.plot_recursive_coefficient(variables=['x0', 'x1', 'x2'], alpha=None,
                                       figsize=(30, 7))
        with pytest.raises(ValueError, match='variable x4 is not an integer'):
            res.plot_recursive_coefficient(variables='x4')
    
        fig = plt.Figure()
        with pytest.warns(UserWarning, match="tight_layout"):
>           out = res.plot_recursive_coefficient(fig=fig)
E           Failed: DID NOT WARN. No warnings of type (<class 'UserWarning'>,) 
matching ('tight_layout') was emitted. The list of emitted warnings is: 
[MatplotlibDeprecationWarning('savefig() got unexpected keyword argument "dpi" 
which is no longer supported as of 3.3 and will become an error two minor 
releases later')].

/usr/lib/python3/dist-packages/statsmodels/regression/tests/test_rolling.py:260:
 Failed






-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: statsmodels
Source-Version: 0.11.1-4
Done: rebecca_pal...@zoho.com (Rebecca N. Palmer)

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 966...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rebecca N. Palmer <rebecca_pal...@zoho.com> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 09 Aug 2020 22:12:11 +0100
Source: statsmodels
Architecture: source
Version: 0.11.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Rebecca N. Palmer <rebecca_pal...@zoho.com>
Closes: 966712
Changes:
 statsmodels (0.11.1-4) unstable; urgency=medium
 .
   * Tests: ignore changes due to matplotlib 3.3 and scipy 1.5.
     Closes: #966712.
   * Bump debhelper compat to 13.
   * Override Lintian warning from test references.
Checksums-Sha1:
 760570c50c9a5397ba54675c8fa1db7947b6397a 3542 statsmodels_0.11.1-4.dsc
 d6249011cd197b8dd92035452e9584626f286723 34468 
statsmodels_0.11.1-4.debian.tar.xz
 92f9267da6f22a5e12dbdc1154e1271b3ef8346f 5783 
statsmodels_0.11.1-4_source.buildinfo
Checksums-Sha256:
 400bad87f522d1baa7980a720b9faef0354e253e7f16565cb0ddd7b5805c30f0 3542 
statsmodels_0.11.1-4.dsc
 e7b63097d515203698e578faff6ae93c45e0d54ddfb8e451c0bf0a25e5a536e7 34468 
statsmodels_0.11.1-4.debian.tar.xz
 a91da88f5e201b38dd02dfa29329c08ef277bbe539e8f654265fe1875a3fbfb4 5783 
statsmodels_0.11.1-4_source.buildinfo
Files:
 c5891b5c69fca5ca7fefd091748a3bb5 3542 python optional statsmodels_0.11.1-4.dsc
 189f09fadb756fd524099a88150cc51c 34468 python optional 
statsmodels_0.11.1-4.debian.tar.xz
 e3a8a8aa919af6dc1df7e0ee88f39b5b 5783 python optional 
statsmodels_0.11.1-4_source.buildinfo

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

iQJMBAEBCgA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAl8w9T0YHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJmz5YP/i5kTqr9m0THOWQktI7BreyJ
ASfmCQk2YdHHFb/PA0XhQF0fpKlOKKurQ6bD6LB7SPpcsv2kxqcaDKjmNNLQ2LZu
5ezeXVdHASnjHclJKUizExW62shRfl0mqHWeQwYcCPjZsdTuJg/gWDO4utA7noj5
48woW4jOLTk9r5YKoclVmcD3X8IuI0BDFaIBxmb1+Sntv9ow6trWEkSX+j+W5D0h
ddQBGBX8bB3LlbjRJTydwcMveIkEpTpYKJ7u476oAO6T2rOUM7H3MJ8afVIpITaA
Ct2+mn/qVpnTddp/f0bBl0jlWgsMwM6Xaaf1gHB7u2wmof5SZp5N0BAvfg9JcPnS
UP1CCw4fuaVcm6CbASaOwSFyYDD/NDGlK0+ClqHU/eu/SqzknAgxubKQNJFpHTq1
QZr61nO0BqzyZPFbrBZEfazz3lQVSwtcNXS5akaRuLcBnNEnhSbQjTuIx+dZG47p
E1AdXb0pUWPPXL4oR/WyiFmXsLkJXyu32Raf9ZPA1bavhd2grOFqcOuCltQ3i92n
vOAymK3sFIfEcWLRUnpQmMT4xxn01a2xYmolWsCTKIVgAr5gPxD93VyyiiFMOY3Y
EFEPnR6RQGwowc7+eBYYsze8SIZ8wDPEKmUoyi4vAcswwF++EFq5nf4WE1+RFV2+
1L0HjRtd3ltSO/NI39k+
=72Ga
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to