Bug#729956: Python 3 Statsmodels & Pandas

Diane Trout diane at ghic.org
Sat Sep 16 21:18:10 UTC 2017


On Sat, 2017-09-16 at 22:59 +0200, Yuri D'Elia wrote:
> On Sat, Sep 16 2017, Diane Trout wrote:
> > python3-pandas: Pandas is not installable
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875723
> 
> I would have expected the rebuild of python packages affected by the
> fpectl extension with a transition, but it doesn't seem to be the
> case?
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874253
> 
> More Breaks where added to {python,python3}-stdlib itself, but there
> are
> still packages which didn't rebuild.

I was assuming it's because there's a cyclic dependency between pandas
and statsmodels (needed for pandas unit tests), and statsmodels was
also broken by the fpectl problem.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875805

My solution was to use build-profiles to flag the test dependency with
!nocheck

(The diff of the control file changes, though I forgot to add python3-
statsmodels.)

I have a few rules changes too, but I need to separate the changes into
different commits.

--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: python
 Priority: optional
 Maintainer: NeuroDebian Team <team at neuro.debian.net>
 Uploaders: Yaroslav Halchenko <debian at onerussian.com>, Michael Hanke <
michael.hanke at g
mail.com>
-Build-Depends: debhelper (>= 7.0.50),
+Build-Depends: debhelper (>= 10),
                python-all-dev (>= 2.5),
                python-setuptools,
                cython,
@@ -11,12 +11,11 @@ Build-Depends: debhelper (>= 7.0.50),
                python-scipy,
                python-tz,
                python-tables [!m68k !sh4 !x32],
-               python-sphinx (>= 1.0~),
-               python-nbsphinx,
-               python-nose,
-               python-pytest,
+               python-sphinx (>= 1.0~) <!nodoc>,
+               python-nbsphinx <!nodoc>,
+               python-nose <!nocheck>,
+               python-pytest <!nocheck>,
                python-matplotlib [!hurd-i386],
-               python-tk,
                python-openpyxl, python-xlwt, python-xlrd,
                python-bs4,
                python-html5lib,
@@ -29,11 +28,10 @@ Build-Depends: debhelper (>= 7.0.50),
                python3-numpy (>= 1:1.7~), python3-dateutil,
                python3-scipy,
                python3-tz,
-               python3-sphinx (>= 1.0~),
-               python3-nose,
-               python3-pytest,
+               python3-sphinx (>= 1.0~) <!nodoc>,
+               python3-nose <!nocheck>,
+               python3-pytest <!nocheck>,
                python3-matplotlib [!hurd-i386]| python-matplotlib (<<
1.2.0~) [!hurd-i386],
-               python3-tk,
                python3-bs4,
                python3-six,
                python3-lxml,
@@ -42,15 +40,15 @@ Build-Depends: debhelper (>= 7.0.50),
                xvfb, xauth, xclip,
 Build-Depends-Indep:
  ipython (>= 0.12) | ipython2x | ipython1x,
- python-statsmodels [!arm64 !ppc64el !sparc64 !mips64el !ppc64
!sparc64 !sh4],
+ python-statsmodels [!arm64 !ppc64el !sparc64 !mips64el !ppc64
!sparc64 !sh4] <!nocheck>,



More information about the debian-science-maintainers mailing list