Package: src:statsmodels Version: 0.6.1-4 User: sanv...@debian.org Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python2 dh_testdir -i debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dpkg --compare-versions 0.23.2+git16-ga8fbae1-1+b1 lt 0.19 && { \ echo "I: Using pre-Cython-ed files"; \ find -iname *pyx | while read p; do \ f=$(basename $p); f=${f%%.pyx}; d=$(dirname $p); \ cp -rp debian/cythonized-files/$f.c $d/; done; } || : dh_auto_configure make[1]: Leaving directory '/<<PKGBUILDDIR>>' [... snipped ...] statsmodels.tsa.tests.test_tsa_tools.test_add_lag_noinsert ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_noinsert_atend ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_ndarray ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_noinsert_ndarray ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_noinsertatend_ndarray ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag1d ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag1d_drop ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag1d_struct ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_1d_drop_struct ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_drop_insert ... ok statsmodels.tsa.tests.test_tsa_tools.test_add_lag_drop_noinsert ... ok statsmodels.tsa.tests.test_tsa_tools.test_freq_to_period ... ok SKIP: X13/X12 not available ====================================================================== ERROR: statsmodels.graphics.tests.test_tsaplots.test_plot_month ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func return f(*args, **kwargs) File "/<<PKGBUILDDIR>>/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/graphics/tests/test_tsaplots.py", line 39, in test_plot_month dta.index.values) File "/<<PKGBUILDDIR>>/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/graphics/tests/test_tsaplots.py", line 38, in <lambda> dates = lmap(lambda x : pd.datetools.parse('1 '+' '.join(x)), AttributeError: 'module' object has no attribute 'parse' ---------------------------------------------------------------------- Ran 3223 tests in 660.249s FAILED (SKIP=23, errors=1) Optimization terminated successfully. Current function value: 0.589409 Iterations 5 debian/rules:101: recipe for target 'python-test2.7' failed make[1]: *** [python-test2.7] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:29: recipe for target 'binary-indep' failed make: *** [binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.