Bug#848112: Python-skimage depends on unavailable package python-dask

Andreas Tille tille at debian.org
Fri Dec 23 09:08:09 UTC 2016


Hi,

On Thu, Dec 22, 2016 at 10:04:22PM -0700, Stefan van der Walt wrote:
> OK by me, too.
> 
> On December 22, 2016 9:45:10 PM Yaroslav Halchenko <debian at onerussian.com>
> wrote:
> 
> >On December 22, 2016 4:52:41 PM EST, Andreas Tille <andreas at an3as.eu> wrote:
> >>place were people who intend to help can effectively join the effort.
> >>This package is blocking invesalius from migrating to testing and
> >>chances are low that it will reach stretch.  So if the problem is to
> >>pick a team I'll move it to Debian Science on 10 hours.  I really hope
> >>that this might push things if nothing is happening otherwise.
> >
> >I don't mind - move or NMU the fix

OK, thanks for the confirmation and as promised I created:

     https://anonscm.debian.org/git/debian-science/packages/skimage.git

Please note: I removed debian/gbp.conf and used the branches as
described in Debian Science policy.  If those Uploaders who finally work
on the package prefer a different layout please document this in
debian/README.source.

I also commited a patch that's simply skiping the tests mentioned in
#840589.  I do not really like this kind of "hiding eyes from problems"
workaround and thus I would not really close bug #840589 but IMHO it is
apropriate to lower its severity and work on later on this together with
upstream (those who intend to keep on maintaining the package please
open an upstream issue - will not continue here).

Ole, if you would please commit the patch you named in #848112 and
upload the package to make sure it can migrate right in time and will
enable other packages to migrate as well?

HOWEVER, we have another problem:  If I build the current state in Git
I'm running into:


======================================================================
ERROR: skimage.filters.rank.tests.test_rank.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/filters/rank/tests/test_rank.py", line 16, in test_all
    check_all()
  File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/_shared/testing.py", line 232, in inner
    result = func(*args, **kwargs)
  File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/filters/rank/tests/test_rank.py", line 89, in check_all
    rank.windowed_histogram(image, selem))
  File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/filters/rank/generic.py", line 986, in windowed_histogram
    pixel_size=n_bins)
  File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/filters/rank/generic.py", line 90, in _apply_vector_per_pixel
    pixel_size=pixel_size)
  File "/build/skimage-0.12.3/debian/tmp/usr/lib/python2.7/dist-packages/skimage/filters/rank/generic.py", line 53, in _handle_input
    out = np.empty(image.shape+(pixel_size,), dtype=out_dtype)
TypeError: 'numpy.float64' object cannot be interpreted as an index

----------------------------------------------------------------------
Ran 1383 tests in 181.697s

FAILED (SKIP=54, errors=1)


I'm opening a bug against python-numpy to revert the transition that
has happened after the transition freeze (see #848758 for details).

Kind regards

     Andreas.


-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list