[PKG-Openstack-devel] Bug#796413: alembic: FTBFS: ImportError (No module named pytest)
Chris West (Faux)
solo-debianbugs at goeswhere.com
Fri Aug 21 19:23:59 UTC 2015
Source: alembic
Version: 0.7.6-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
The package fails to build:
The following NEW packages will be installed:
bsdmainutils ca-certificates debhelper dh-python docutils-common file
fonts-font-awesome fonts-lato gettext gettext-base groff-base
intltool-debian libasprintf0v5 libcroco3 libexpat1 libffi6 libglib2.0-0
libicu52 libjs-jquery libjs-modernizr libjs-sphinxdoc libjs-underscore
libmagic1 libmpdec2 libpipeline1 libpython-stdlib libpython2.7-minimal
libpython2.7-stdlib libpython3-stdlib libpython3.4-minimal
libpython3.4-stdlib libsqlite3-0 libunistring0 libxml2 man-db mime-support
openssl po-debconf python python-alabaster python-all python-babel
python-babel-localedata python-changelog python-chardet python-colorama
python-distlib python-docutils python-funcsigs python-html5lib python-jinja2
python-mako python-markupsafe python-minimal python-mock python-nose
python-pbr python-pip python-pkg-resources python-pygments python-requests
python-roman python-setuptools python-six python-sphinx
python-sphinx-paramlinks python-sphinx-rtd-theme python-sqlalchemy python-tz
python-urllib3 python2.7 python2.7-minimal python3 python3-all
python3-chardet python3-colorama python3-distlib python3-funcsigs
python3-html5lib python3-mako python3-markupsafe python3-minimal
python3-mock python3-nose python3-pbr python3-pip python3-pkg-resources
python3-requests python3-setuptools python3-six python3-sqlalchemy
python3-urllib3 python3.4 python3.4-minimal sgml-base sphinx-common
sphinx-rtd-theme-common xml-core
0 upgraded, 98 newly installed, 0 to remove and 0 not upgraded.
...
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: cd /alembic-0.7.6/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose --with-doctest
EE
======================================================================
ERROR: Failure: KeyError ('bootstrap_file')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/alembic-0.7.6/.pybuild/pythonX.Y_2.7/build/alembic/testing/plugin/bootstrap.py", line 23, in <module>
bootstrap_file = locals()['bootstrap_file']
KeyError: 'bootstrap_file'
======================================================================
ERROR: Failure: ImportError (No module named pytest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/alembic-0.7.6/.pybuild/pythonX.Y_2.7/build/alembic/testing/plugin/pytestplugin.py", line 16, in <module>
import pytest
ImportError: No module named pytest
----------------------------------------------------------------------
Ran 2 tests in 0.229s
FAILED (errors=2)
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/alembic.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Openstack-devel
mailing list