[Debian-astro-maintainers] Bug#917683: hipspy: FTBFS: ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)

Lucas Nussbaum lucas at debian.org
Sat Dec 29 21:43:00 GMT 2018


Source: hipspy
Version: 0.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> python3.7 setup.py test -vv --args -v
> running test
> running install
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/hips
> copying hips/__init__.py -> build/lib/hips
> copying hips/version.py -> build/lib/hips
> copying hips/conftest.py -> build/lib/hips
> copying hips/_astropy_init.py -> build/lib/hips
> creating build/lib/hips/utils
> copying hips/utils/wcs.py -> build/lib/hips/utils
> copying hips/utils/__init__.py -> build/lib/hips/utils
> copying hips/utils/testing.py -> build/lib/hips/utils
> copying hips/utils/healpix.py -> build/lib/hips/utils
> creating build/lib/hips/tiles
> copying hips/tiles/__init__.py -> build/lib/hips/tiles
> copying hips/tiles/fetch.py -> build/lib/hips/tiles
> copying hips/tiles/survey.py -> build/lib/hips/tiles
> copying hips/tiles/tile.py -> build/lib/hips/tiles
> copying hips/tiles/io.py -> build/lib/hips/tiles
> copying hips/tiles/allsky.py -> build/lib/hips/tiles
> creating build/lib/hips/draw
> copying hips/draw/ui.py -> build/lib/hips/draw
> copying hips/draw/__init__.py -> build/lib/hips/draw
> copying hips/draw/paint.py -> build/lib/hips/draw
> creating build/lib/hips/tests
> copying hips/tests/setup_package.py -> build/lib/hips/tests
> copying hips/tests/__init__.py -> build/lib/hips/tests
> creating build/lib/hips/utils/tests
> copying hips/utils/tests/test_healpix.py -> build/lib/hips/utils/tests
> copying hips/utils/tests/__init__.py -> build/lib/hips/utils/tests
> copying hips/utils/tests/test_wcs.py -> build/lib/hips/utils/tests
> creating build/lib/hips/tiles/tests
> copying hips/tiles/tests/test_tile.py -> build/lib/hips/tiles/tests
> copying hips/tiles/tests/setup_package.py -> build/lib/hips/tiles/tests
> copying hips/tiles/tests/test_allsky.py -> build/lib/hips/tiles/tests
> copying hips/tiles/tests/__init__.py -> build/lib/hips/tiles/tests
> copying hips/tiles/tests/test_survey.py -> build/lib/hips/tiles/tests
> copying hips/tiles/tests/test_fetch.py -> build/lib/hips/tiles/tests
> copying hips/tiles/tests/test_io.py -> build/lib/hips/tiles/tests
> creating build/lib/hips/draw/tests
> copying hips/draw/tests/__init__.py -> build/lib/hips/draw/tests
> copying hips/draw/tests/test_paint.py -> build/lib/hips/draw/tests
> copying hips/draw/tests/test_ui.py -> build/lib/hips/draw/tests
> creating build/lib/hips/data
> copying hips/data/README.rst -> build/lib/hips/data
> creating build/lib/hips/tiles/tests/data
> copying hips/tiles/tests/data/properties.txt -> build/lib/hips/tiles/tests/data
> copying hips/tiles/tests/data/surveys.txt -> build/lib/hips/tiles/tests/data
> copying hips/tests/coveragerc -> build/lib/hips/tests
> running install_lib
> creating /tmp/hips-test-s41ckiqc/lib
> creating /tmp/hips-test-s41ckiqc/lib/python3.7
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils
> copying build/lib/hips/utils/wcs.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils
> copying build/lib/hips/utils/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests
> copying build/lib/hips/utils/tests/test_healpix.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests
> copying build/lib/hips/utils/tests/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests
> copying build/lib/hips/utils/tests/test_wcs.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests
> copying build/lib/hips/utils/testing.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils
> copying build/lib/hips/utils/healpix.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> copying build/lib/hips/tiles/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/tests/test_tile.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/tests/setup_package.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/tests/test_allsky.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/tests/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/tests/test_survey.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/tests/test_fetch.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/data
> copying build/lib/hips/tiles/tests/data/properties.txt -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/data
> copying build/lib/hips/tiles/tests/data/surveys.txt -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/data
> copying build/lib/hips/tiles/tests/test_io.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests
> copying build/lib/hips/tiles/fetch.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> copying build/lib/hips/tiles/survey.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> copying build/lib/hips/tiles/tile.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> copying build/lib/hips/tiles/io.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> copying build/lib/hips/tiles/allsky.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles
> copying build/lib/hips/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw
> copying build/lib/hips/draw/ui.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw
> copying build/lib/hips/draw/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests
> copying build/lib/hips/draw/tests/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests
> copying build/lib/hips/draw/tests/test_paint.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests
> copying build/lib/hips/draw/tests/test_ui.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests
> copying build/lib/hips/draw/paint.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tests
> copying build/lib/hips/tests/setup_package.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tests
> copying build/lib/hips/tests/coveragerc -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tests
> copying build/lib/hips/tests/__init__.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tests
> copying build/lib/hips/version.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips
> copying build/lib/hips/conftest.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips
> copying build/lib/hips/_astropy_init.py -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips
> creating /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/data
> copying build/lib/hips/data/README.rst -> /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/data
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/wcs.py to wcs.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests/test_healpix.py to test_healpix.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/tests/test_wcs.py to test_wcs.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/testing.py to testing.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/utils/healpix.py to healpix.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/test_tile.py to test_tile.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/setup_package.py to setup_package.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/test_allsky.py to test_allsky.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/test_survey.py to test_survey.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/test_fetch.py to test_fetch.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tests/test_io.py to test_io.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/fetch.py to fetch.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/survey.py to survey.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/tile.py to tile.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/io.py to io.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tiles/allsky.py to allsky.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/ui.py to ui.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests/test_paint.py to test_paint.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/tests/test_ui.py to test_ui.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/paint.py to paint.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tests/setup_package.py to setup_package.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/tests/__init__.py to __init__.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/version.py to version.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/conftest.py to conftest.cpython-37.pyc
> byte-compiling /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/_astropy_init.py to _astropy_init.cpython-37.pyc
> running install_egg_info
> running egg_info
> creating hips.egg-info
> writing hips.egg-info/PKG-INFO
> writing dependency_links to hips.egg-info/dependency_links.txt
> writing entry points to hips.egg-info/entry_points.txt
> writing requirements to hips.egg-info/requires.txt
> writing top-level names to hips.egg-info/top_level.txt
> writing manifest file 'hips.egg-info/SOURCES.txt'
> reading manifest file 'hips.egg-info/SOURCES.txt'
> writing manifest file 'hips.egg-info/SOURCES.txt'
> Copying hips.egg-info to /tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips-0.2-py3.7.egg-info
> running install_scripts
> /usr/lib/python3/dist-packages/astropy/config/configuration.py:536: ConfigurationMissingWarning: Configuration defaults will be used due to FileNotFoundError:2 on None
>   warn(ConfigurationMissingWarning(msg))
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/__init__.py", line 21, in <module>
>     from .draw import *
>   File "/tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/__init__.py", line 3, in <module>
>     from .paint import *
>   File "/tmp/hips-test-s41ckiqc/lib/python3.7/site-packages/hips/draw/paint.py", line 6, in <module>
>     from skimage.transform import ProjectiveTransform, warp
>   File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 167, in <module>
>     from .util.dtype import (img_as_float32,
>   File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
>     from .arraycrop import crop
>   File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
>     from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
> make[1]: *** [debian/rules:12: test-python3.7] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2018/12/29/hipspy_0.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-astro-maintainers mailing list