Bug#849934: python-geopandas: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Mon Jan 2 12:01:45 UTC 2017


Package: src:python-geopandas
Version: 0.2.1-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh  build-indep --with python2,python3,sphinxdoc --buildsystem pybuild --parallel
   dh_testdir -i -O--buildsystem=pybuild -O--parallel
   dh_update_autotools_config -i -O--buildsystem=pybuild -O--parallel
   dh_auto_configure -i -O--buildsystem=pybuild -O--parallel
I: pybuild base:184: python2.7 setup.py config 
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running config
I: pybuild base:184: python3.5 setup.py config 
running config
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)

[... snipped ...]

test_empty_index (geopandas.tests.test_sindex.TestSeriesSindex) ... Exception AttributeError: AttributeError("'IndexStreamHandle' object has no attribute '_ptr'",) in <bound method IndexStreamHandle.__del__ of <rtree.index.IndexStreamHandle object at 0x7f947bc05450>> ignored
ok
test_empty_point (geopandas.tests.test_sindex.TestSeriesSindex) ... Exception AttributeError: AttributeError("'IndexStreamHandle' object has no attribute '_ptr'",) in <bound method IndexStreamHandle.__del__ of <rtree.index.IndexStreamHandle object at 0x7f947bc05d50>> ignored
ok
test_lazy_build (geopandas.tests.test_sindex.TestSeriesSindex) ... ok
test_point (geopandas.tests.test_sindex.TestSeriesSindex) ... ok
test_polygons (geopandas.tests.test_sindex.TestSeriesSindex) ... ok
test_polygons_append (geopandas.tests.test_sindex.TestSeriesSindex) ... ok
test_fancy (geopandas.tests.test_types.TestDataFrame) ... ok
test_geometry (geopandas.tests.test_types.TestDataFrame) ... ok
test_geometry_multiple (geopandas.tests.test_types.TestDataFrame) ... ok
test_nongeometry (geopandas.tests.test_types.TestDataFrame) ... ok
test_nongeometry_multiple (geopandas.tests.test_types.TestDataFrame) ... ok
test_slice (geopandas.tests.test_types.TestDataFrame) ... ok
test_fancy (geopandas.tests.test_types.TestSeries) ... ok
test_groupby (geopandas.tests.test_types.TestSeries) ... ok
test_head (geopandas.tests.test_types.TestSeries) ... ok
test_iloc (geopandas.tests.test_types.TestSeries) ... ok
test_loc (geopandas.tests.test_types.TestSeries) ... ok
test_select (geopandas.tests.test_types.TestSeries) ... ok
test_slice (geopandas.tests.test_types.TestSeries) ... ok
test_sort_index (geopandas.tests.test_types.TestSeries) ... ok
test_tail (geopandas.tests.test_types.TestSeries) ... ok
test_take (geopandas.tests.test_types.TestSeries) ... ok

======================================================================
FAIL: Test plotting a simple GeoDataFrame consisting of a series of polygons
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/geopandas/tests/test_plotting.py", line 113, in test_plot_GeoDataFrame_with_kwargs
    self._compare_images(ax=ax, filename=filename)
  File "/<<PKGBUILDDIR>>/geopandas/tests/test_plotting.py", line 54, in _compare_images
    '(RMS %(rms).3f)' % err)
ImageComparisonFailure: images not close: /tmp/tmpAbiDQU/poly_plot_with_kwargs.png vs. /<<PKGBUILDDIR>>/geopandas/tests/baseline_images/test_plotting/poly_plot_with_kwargs.png (RMS 40.473)

----------------------------------------------------------------------
Ran 164 tests in 56.681s

FAILED (SKIP=9, failures=1)
E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: nosetests -v -e test_geocode.py
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned exit code 13
debian/rules:17: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

If you could not reproduce this using sbuild on a single CPU virtual machine (as I did),
please do not downgrade or mark as unreproducible, I would then consider giving you access
to a virtual machine on which I can reproduce it so that you can as well.
(In such case, please contact me off-list for details).

Thanks.



More information about the Pkg-grass-devel mailing list