Bug#729956: Forwarded upstream

Diane Trout diane at ghic.org
Thu Sep 7 04:35:58 UTC 2017


On Thu, 2017-09-07 at 06:20 +0200, Andreas Tille wrote:
> Hi Diane,
> 
> On Wed, Sep 06, 2017 at 02:45:14PM -0700, Diane Trout wrote:
> > 
> > > but the build failed (for other reasons).  I'd willing to work on
> > > this
> > > but I definitely need help since I'm lacking the needed Python
> > > knowledge.
> > 
> > Hi,
> > 
> > I saw your debian-python3 branch for statsmodels.
> > 
> > The dependencies added in the package should probably be added as
> > build-dependencies. and not package dependencies.
> > 
> > I believe python-zmq should be a binary dependency. 
> 
> Thanks for the hints.
>  
> > I was trying to build it right now but I'm getting a dependency
> > error.
> > 
> >  libpython2.7-stdlib : Breaks: python-pandas-lib (<= 0.20.3-1) but
> > 0.20.3-1 is to be installed
> 
> I also get an error in the Python 2.7 test suite so I have no idea
> where to continue with the Python3 stuff.

Was the test failures you were see 4 instances like whats shown below?

I found a match upstream at:
https://github.com/statsmodels/statsmodels/issues/3401

I've gotten failures with 2.7 and 3.6.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in
runTest
    self.test(*self.arg)
  File
"/home/diane/src/debian/statsmodels/.pybuild/pythonX.Y_2.7/build/statsm
odels/tsa/statespace/tests/test_save.py", line 65, in test_varmax
    res.save('test_save_varmax.p')
  File
"/home/diane/src/debian/statsmodels/.pybuild/pythonX.Y_2.7/build/statsm
odels/base/wrapper.py", line 72, in save
    save_pickle(self, fname)
  File
"/home/diane/src/debian/statsmodels/.pybuild/pythonX.Y_2.7/build/statsm
odels/iolib/smpickle.py", line 15, in save_pickle
    cPickle.dump(obj, fout, protocol=-1)
  File "stringsource", line 2, in
statsmodels.tsa.statespace._statespace.zStatespace.__reduce_cython__
TypeError:
self._design,self._initial_state,self._initial_state_cov,self._obs,self
._obs_cov,self._obs_intercept,self._selected_state_cov,self._selection,
self._state_cov,self._state_intercept,self._transition cannot be
converted to a Python object for pickling



More information about the debian-science-maintainers mailing list