Preconditions for python-moto finished - help needed to build package itself
- To: 777089@bugs.debian.org
- Cc: debian-python@lists.debian.org, Debian Science List <debian-science@lists.debian.org>
- Subject: Preconditions for python-moto finished - help needed to build package itself
- From: Andreas Tille <andreas@fam-tille.de>
- Date: Fri, 2 Feb 2018 09:16:55 +0100
- Message-id: <[🔎] 20180202081655.w6axga6hmbyexorc@an3as.eu>
- In-reply-to: <20180117101756.gsi4bfa7e6spy54f@an3as.eu>
- References: <20180112160153.swvluhcudyw43ll6@an3as.eu> <20180115083753.pen4mpryoar6cji5@an3as.eu> <DB23C409-7C63-4C19-B75E-8B2EFF393983@onerussian.com> <20180115115929.gnffbsmgmr2b2dcr@an3as.eu> <20180115125227.e63vjwbitdyes26l@sar0.p1otr.com> <20180115150627.kgbqbkp4vxctyaj6@an3as.eu> <20180115151500.zki5z3lxuhldylzr@sar0.p1otr.com> <20180116204521.xm27u6rucyoxgk2p@an3as.eu> <CAMcKhMTS=x5U9sYmVx8mhHiQ943USEqu84-qu7UB9DJEiSt55g@mail.gmail.com> <20180117101756.gsi4bfa7e6spy54f@an3as.eu>
Hi,
as you might have noticed I finalised the preconditions to build
python-moto which is in salsa.d.o[1]. When trying to build I get:
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py test
running test
running egg_info
writing requirements to moto.egg-info/requires.txt
writing moto.egg-info/PKG-INFO
writing top-level names to moto.egg-info/top_level.txt
writing dependency_links to moto.egg-info/dependency_links.txt
writing entry points to moto.egg-info/entry_points.txt
reading manifest file 'moto.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'moto.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "setup.py", line 68, in <module>
"Topic :: Software Development :: Testing",
File "/usr/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 226, in run
self.run_tests()
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 248, in run_tests
exit=False,
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName
return self.loadTestsFromModule(obj)
File "/usr/lib/python2.7/dist-packages/setuptools/command/test.py", line 52, in loadTestsFromModule
tests.append(self.loadTestsFromName(submodule))
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'backport_assert_raises'
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: python2.7 setup.py test
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I was seeking for some missing backport module but I have no real clue
what might be missing. Any help would be welcome.
Kind regards
Andreas.
[1]
--
http://fam-tille.de
Reply to: