[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: quick Q to Matthias Re: Sympy(+sagemath+nipy+~30 more) removal ahead



On Tue, 10 Jan 2017, Tobias Hansen wrote:

> On 01/10/2017 10:44 PM, Yaroslav Halchenko wrote:

> >> (For me the only failed tests were the two in the bug, and just the patch
> >> was enough to fix that.)

> > and I guess recent python-pil pruned olefile from the depends  (I believe it
> > was there in prev version)

> > although I don't see any corresponding changelog entry for that in
> > http://metadata.ftp-master.debian.org/changelogs/main/p/pillow/pillow_4.0.0-2_changelog

> > Matthias -- could you clarify if olefile depends was consciously removed or
> > should we complain with a bug report? ;-)  unfortunately there is no VCS
> > defined for python-pil to go through the laundry:


> olefile is new so pillow didn't depend on it before. You can also see it
> here:
> https://tracker.debian.org/media/packages/p/pillow/control-3.4.2-1

> Why do you think the test failures are due to missing olefile?

because of something like

======================================================================
ERROR: test_diagram_attributes (blockdiag.tests.test_builder.TestBuilder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/tests/test_builder.py", line 8, in test_diagram_attributes
    diagram = self.build('diagram_attributes.diag')
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/tests/utils.py", line 101, in build
    return self._build(parse_file(pathname))
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/tests/utils.py", line 104, in _build
    return ScreenNodeBuilder.build(tree)
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/builder.py", line 613, in build
    return cls(tree, config, layout).run()
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/builder.py", line 616, in __init__
    self.diagram = DiagramTreeBuilder().build(tree, config)
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/builder.py", line 27, in build
    self.instantiate(self.diagram, tree)
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/builder.py", line 115, in instantiate
    group.set_attribute(stmt)
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/elements.py", line 76, in set_attribute
    getattr(self, "set_%s" % name)(value)
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/elements.py", line 581, in set_default_shape
    if noderenderer.get(value):
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/noderenderer/__init__.py", line 43, in get
    init_renderers()
  File "/build/blockdiag-1.5.3+dfsg/.pybuild/pythonX.Y_2.7/build/src/blockdiag/noderenderer/__init__.py", line 26, in init_renderers
    module = plugin.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2290, in load
    self.require(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2307, in require
    items = working_set.resolve(reqs, env, installer)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
DistributionNotFound: The 'olefile' distribution was not found and is required by Pillow


and then digging in, installing python-olefile and then tests functioning
correctly (up to those other failing ones)

here is the log if interested
http://neuro.debian.net/_files/_buildlogs/blockdiag/1.5.3+dfsg/blockdiag_1.5.3+dfsg-1_amd64.build

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


Reply to: