Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10098

Bug#777089: Preconditions for python-moto finished - help needed to build package itself

From Andreas Tille <andreas@fam-tille.de>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#777089: Preconditions for python-moto finished - help needed to build package itself
Date 2018-02-02 09:30 +0100
Message-ID <veETn-2xd-3@gated-at.bofh.it> (permalink)
References (7 earlier) <v8Glb-5um-1@gated-at.bofh.it> <v8Q1b-3Ja-1@gated-at.bofh.it> <v8SZ3-5Pk-1@gated-at.bofh.it> <oQgVH-680-5@gated-at.bofh.it> <v8SZ3-5Pk-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Packaging python-aws-xray-sdk to fullfil a dependency for python-moto Andreas Tille <andreas@an3as.eu> - 2018-01-12 17:10 +0100
  If there is no response in debian-python then debian-science might  be the right team (Was: Packaging python-aws-xray-sdk to fullfil a  dependency for python-moto) Andreas Tille <andreas@an3as.eu> - 2018-01-15 09:40 +0100
    Re: If there is no response in debian-python then debian-science might be the right team (Was: Packaging python-aws-xray-sdk to fullfil a dependency for python-moto) Yaroslav Halchenko <yoh@onerussian.com> - 2018-01-15 11:50 +0100
      Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Andreas Tille <andreas@an3as.eu> - 2018-01-15 13:00 +0100
        Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Simon McVittie <smcv@debian.org> - 2018-01-15 13:30 +0100
          Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Andreas Tille <andreas@an3as.eu> - 2018-01-15 13:50 +0100
        Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Tristan Seligmann <mithrandi@mithrandi.net> - 2018-01-15 13:30 +0100
        Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Piotr Ożarowski <piotr@debian.org> - 2018-01-15 14:00 +0100
          Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Andreas Tille <andreas@an3as.eu> - 2018-01-15 16:10 +0100
            Re: Please help with test suite error and installation problem of  python-aws-xray-sdk (Was: If there is no response in debian-python then  debian-science might be the right team) Piotr Ożarowski <piotr@debian.org> - 2018-01-15 16:20 +0100
              Next python-mote pre-condition test issue: python-jsondiff trows  ModuleNotFoundError: No module named 'nose_random' Andreas Tille <andreas@an3as.eu> - 2018-01-16 21:50 +0100
                Re: Next python-mote pre-condition test issue: python-jsondiff trows  ModuleNotFoundError: No module named 'nose_random' Tristan Seligmann <mithrandi@mithrandi.net> - 2018-01-17 08:20 +0100
                Re: Next python-mote pre-condition test issue: python-jsondiff trows  ModuleNotFoundError: No module named 'nose_random' Andreas Tille <andreas@an3as.eu> - 2018-01-17 11:20 +0100
                Bug#777089: Preconditions for python-moto finished - help needed to build package itself Andreas Tille <andreas@fam-tille.de> - 2018-02-02 09:30 +0100
                Bug#777089: Preconditions for python-moto finished - help needed to build package itself Olivier Sallou <olivier.sallou@irisa.fr> - 2018-02-02 10:20 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Andreas Tille <andreas@an3as.eu> - 2018-01-22 15:10 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Piotr Ożarowski <piotr@debian.org> - 2018-01-22 15:30 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Olivier Sallou <olivier.sallou@irisa.fr> - 2018-01-23 17:20 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Olivier Sallou <olivier.sallou@irisa.fr> - 2018-01-26 16:20 +0100
                Re: Next python-mote pre-condition - issue with pybuild:  python-backports.tempfile conflicting python-backports.weakref Sandro Tosi <morph@debian.org> - 2018-01-26 17:10 +0100

csiph-web