Merge lp://staging/~mitya57/ubuntu/saucy/dh-python/adt into lp://staging/ubuntu/saucy/dh-python
Proposed by
Dmitry Shachnev
Status: | Merged |
---|---|
Merged at revision: | 11 |
Proposed branch: | lp://staging/~mitya57/ubuntu/saucy/dh-python/adt |
Merge into: | lp://staging/ubuntu/saucy/dh-python |
Diff against target: |
568 lines (+87/-200) 11 files modified
.pc/applied-patches (+1/-0) .pc/ubuntu-python-versions.patch/tests/Makefile (+26/-0) .pc/unbreck-pybuild.patch/dh/pybuild.pm (+0/-172) debian/changelog (+16/-0) debian/patches/series (+0/-1) debian/patches/ubuntu-python-versions.patch (+21/-0) debian/patches/unbreck-pybuild.patch (+0/-15) debian/tests/control (+6/-2) debian/tests/dh-python (+5/-7) debian/tests/nosetests (+9/-0) tests/Makefile (+3/-3) |
To merge this branch: | bzr merge lp://staging/~mitya57/ubuntu/saucy/dh-python/adt |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dimitri John Ledkov (community) | Approve | ||
Martin Pitt | Pending | ||
Ubuntu Development Team | Pending | ||
Review via email: mp+182561@code.staging.launchpad.net |
Description of the change
This fixes existing "dh-python" autopkgtest, and adds a new one ("nosetests"). When this is confirmed to work on jenkins.u.c, I will forward these changes to Debian.
Based on Dmitrijs' initial work.
To post a comment you must log in.
not sure why, it still tries to run python3.2 tests.
Doctest: dhpython. interpreter. Interpreter. cache_file ... FAIL interpreter. Interpreter. magic_tag ... FAIL interpreter. Interpreter. parse ... ok interpreter. Interpreter. sitedir ... ok pydist. _pl2py ... ok pydist. _translate ... ok tools.clean_ egg_name ... ok tools.relpath ... ok version. Version. __add__ ... ok version. Version. __lshift_ _ ... ok version. Version. __repr_ _ ... ok version. Version. __rshift_ _ ... ok version. Version. __str__ ... ok version. Version. __sub__ ... ok version. VersionRange. __repr_ _ ... ok version. VersionRange. __str__ ... ok version. VersionRange. _parse_ pycentral ... ok version. VersionRange. parse ... ok version. get_requested_ versions ... ok
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
Doctest: dhpython.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= interpreter. Interpreter. cache_file ------- ------- ------- ------- ------- ------- ------- ------- ------- python3. 3/doctest. py", line 2154, in runTest eption( self.format_ failure( new.getvalue( ))) AssertionError: Failed doctest test for dhpython. interpreter. Interpreter. cache_file dh-python/ dhpython/ interpreter. py", line 282, in cache_file
FAIL: Doctest: dhpython.
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
nose.proxy.
File "/usr/share/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- dh-python/ dhpython/ interpreter. py", line 293, in dhpython. interpreter. Interpreter. cache_file file('bar/ foo.py' , '3.2') python3. 3/doctest. py", line 1287, in __run
compileflags, 1), test.globs) interpreter. Interpreter. cache_file[ 2]>", line 1, in <module>
i.cache_ file('bar/ foo.py' , '3.2') dh-python/ dhpython/ interpreter. py", line 305, in cache_file
(fname[ :-3], self.magic_ tag(version) , last_char)) dh-python/ dhpython/ interpreter. py", line 325, in magic_tag 'import imp; print(imp. get_tag( ))', version) dh-python/ dhpython/ interpreter. py", line 440, in _execute 'returncode' ])) get_tag( ))' failed with status code 127
File "/usr/share/
Failed example:
i.cache_
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest dhpython.
File "/usr/share/
File "/usr/share/
return self._execute(
File "/usr/share/
raise Exception('{} failed with status code {}'.format(command, output[
Exception: python3.2 -c 'import imp; print(imp.
------- ------- ------ >> begin captured logging << ------- ------- ------ dh-python/ dhpython/ build/_ _init__ .py", line 32, in <module> BuildSystem. is_usable( ) dh-python/ dhpython/ build/base. py", line 72, in is_usable get_tag( ))'
dhpython: INFO: cannot initialize 'cmake'
Traceback (most recent call last):
File "/usr/share/
module.
File "/usr/share/
raise Exception("missing command: %s" % command)
Exception: missing command: cmake
dhpython: DEBUG: invoking: python3.2 -c 'import imp; print(imp.
dhpython: DEBUG: /bin/sh: 1:...