Package: statsmodels Version: 0.3.1-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu precise ubuntu-patch
Dear Maintainer, I'm not sure why this fails on Ubuntu but not Debian, but we are getting a FTBFS due to a failure in test_discrete.py's TestProbitCG. https://launchpadlibrarian.net/83193398/buildlog_ubuntu-precise-i386.statsmodels_0.3.1-2_FAILEDTOBUILD.txt.gz By simply bumping the number of iterations allowed for that test to converge, we can fix it. The attached patch does that. I've forwarded the idea upstream: https://github.com/statsmodels/statsmodels/issues/109 Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise') Architecture: i386 (i686) Kernel: Linux 3.1.0-2-generic-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru statsmodels-0.3.1/debian/patches/fix_test_discrete.patch statsmodels-0.3.1/debian/patches/fix_test_discrete.patch --- statsmodels-0.3.1/debian/patches/fix_test_discrete.patch 1969-12-31 19:00:00.000000000 -0500 +++ statsmodels-0.3.1/debian/patches/fix_test_discrete.patch 2011-11-15 10:02:45.000000000 -0500 @@ -0,0 +1,16 @@ +Description: Let TestProbitCG test run for a bit longer, fixing FTBFS +Author: Michael Terry <michael.te...@canonical.com> + +Index: statsmodels-0.3.1/scikits/statsmodels/discrete/tests/test_discrete.py +=================================================================== +--- statsmodels-0.3.1.orig/scikits/statsmodels/discrete/tests/test_discrete.py 2011-11-15 09:57:09.346314408 -0500 ++++ statsmodels-0.3.1/scikits/statsmodels/discrete/tests/test_discrete.py 2011-11-15 10:01:45.998317336 -0500 +@@ -227,7 +227,7 @@ + res2.probit() + cls.res2 = res2 + cls.res1 = Probit(data.endog, data.exog).fit(method="cg", +- disp=0, maxiter=250) ++ disp=0, maxiter=500) + + class TestProbitNCG(CheckModelResults): + @classmethod diff -Nru statsmodels-0.3.1/debian/patches/series statsmodels-0.3.1/debian/patches/series --- statsmodels-0.3.1/debian/patches/series 2011-08-25 17:38:04.000000000 -0400 +++ statsmodels-0.3.1/debian/patches/series 2011-11-15 10:01:33.000000000 -0500 @@ -1 +1,2 @@ +fix_test_discrete.patch debian-changes-0.3.1-2