[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914998: dh-python: autopkgtest needs update for python3.7 as the default python3



Source: dh-python
Version: 3.20180927
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults

[X-Debbugs-CC: debian-ci@lists.debian.org,
python3-defaults@packages.debian.org]

Dear maintainers,

With a recent upload of python3-defaults the autopkgtest of dh-python
fails in testing when that autopkgtest is run with the binary packages
of python3-defaults from unstable. It passes when run with only packages
from testing. In tabular form:
                       pass            fail
python3-defaults       from testing    3.7.1-2
dh-python              from testing    3.20180927
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems to me
that
https://sources.debian.org/src/dh-python/3.20180927/tests/t301/debian/control/
needs updating. This test package says it doesn't work with python3.7
which is now the default.

Currently this regression is contributing to the delay of the migration
of python3-defaults to testing [1].

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/d/dh-python/1399355/log.gz

make[3]: Entering directory
'/tmp/autopkgtest-lxc.z__tm1_p/downtmp/autopkgtest_tmp/tests/t301'
python3 setup.py install --root=debian/python3-foo/
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/foo
copying lib/foo/baz.py -> build/lib/foo
copying lib/foo/__init__.py -> build/lib/foo
copying lib/foo/jquery.js -> build/lib/foo
running install_lib
creating debian/python3-foo/usr
creating debian/python3-foo/usr/local
creating debian/python3-foo/usr/local/lib
creating debian/python3-foo/usr/local/lib/python3.7
creating debian/python3-foo/usr/local/lib/python3.7/dist-packages
creating debian/python3-foo/usr/local/lib/python3.7/dist-packages/foo
copying build/lib/foo/baz.py ->
debian/python3-foo/usr/local/lib/python3.7/dist-packages/foo
copying build/lib/foo/jquery.js ->
debian/python3-foo/usr/local/lib/python3.7/dist-packages/foo
copying build/lib/foo/__init__.py ->
debian/python3-foo/usr/local/lib/python3.7/dist-packages/foo
byte-compiling
debian/python3-foo/usr/local/lib/python3.7/dist-packages/foo/baz.py to
baz.cpython-37.pyc
byte-compiling
debian/python3-foo/usr/local/lib/python3.7/dist-packages/foo/__init__.py
to __init__.cpython-37.pyc
running install_egg_info
Writing
debian/python3-foo/usr/local/lib/python3.7/dist-packages/Foo-0.2.egg-info
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown
distribution option: 'zip_safe'
  warnings.warn(msg)
/usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown
distribution option: 'install_requires'
  warnings.warn(msg)
make[3]: Leaving directory
'/tmp/autopkgtest-lxc.z__tm1_p/downtmp/autopkgtest_tmp/tests/t301'
   debian/rules override_dh_install
make[3]: Entering directory
'/tmp/autopkgtest-lxc.z__tm1_p/downtmp/autopkgtest_tmp/tests/t301'
dh_install
find debian/ -name jquery.js -exec \
ln -fs /usr/share/javascript/jquery/jquery.js '{}' \;
DH_VERBOSE=1 /usr/share/dh-python/dh_python3\
	--depends 'SQLAlchemy >= 0.6.1'\
	--recommends Mako\
	--suggests 'Foo >= 0.1'\
	--suggests 'bar >= 1.0'
D: dh_python3 dh_python3:161: version: 3.20180927
D: dh_python3 dh_python3:162: argv: ['/usr/share/dh-python/dh_python3',
'--depends', 'SQLAlchemy >= 0.6.1', '--recommends', 'Mako',
'--suggests', 'Foo >= 0.1', '--suggests', 'bar >= 1.0']
D: dh_python3 dh_python3:163: options: {'guess_deps': True,
'skip_private': False, 'verbose': False, 'arch': None, 'package': None,
'no_package': None, 'compile_all': False, 'vrange': None, 'regexpr':
None, 'accept_upstream_versions': False, 'depends': ['SQLAlchemy >=
0.6.1'], 'depends_section': None, 'recommends': ['Mako'],
'recommends_section': None, 'suggests': ['Foo >= 0.1', 'bar >= 1.0'],
'suggests_section': None, 'requires': None, 'shebang': None,
'ignore_shebangs': False, 'clean_dbg_pkg': True, 'no_ext_rename': False,
'no_shebang_rewrite': False, 'O': None}
D: dh_python3 dh_python3:164: args: []
D: dh_python3 dh_python3:166: supported Python versions: 3.4,3.5,3.6
(default=3.6)
D: dh_python3 debhelper:153: source=foo, binary packages=['python3-foo']
D: dh_python3 dh_python3:183: processing package python3-foo...
D: dh_python3 fs:246: package python3-foo details = {'requires.txt':
set(), 'egg-info': set(), 'nsp.txt': set(), 'shebangs': set(),
'public_vers': set(), 'private_dirs': {}, 'compile': False, 'ext_vers':
set(), 'ext_no_version': set()}
D: dh_python3 depends:114: generating dependencies for package python3-foo
D: dh_python3 pydist:137: trying to find dependency for SQLAlchemy >=
0.6.1 (python=None)
D: dh_python3 pydist:137: trying to find dependency for Mako (python=None)
D: dh_python3 pydist:137: trying to find dependency for Foo >= 0.1
(python=None)
D: dh_python3 pydist:137: trying to find dependency for bar >= 1.0
(python=None)
D: dh_python3 depends:272: D={'python3-sqlalchemy (>= 0.6)'};
R=['python3-mako (>= 0.2)']; S=['python3-foo', 'python3-bar']; E=[],
B=[]; RT=[]
make[3]: Leaving directory
'/tmp/autopkgtest-lxc.z__tm1_p/downtmp/autopkgtest_tmp/tests/t301'
   dh_installdocs -O--buildsystem=python_distutils
   dh_installchangelogs -O--buildsystem=python_distutils
   dh_installexamples -O--buildsystem=python_distutils
   dh_installman -O--buildsystem=python_distutils
   dh_installcatalogs -O--buildsystem=python_distutils
   dh_installcron -O--buildsystem=python_distutils
   dh_installdebconf -O--buildsystem=python_distutils
   dh_installemacsen -O--buildsystem=python_distutils
   dh_installifupdown -O--buildsystem=python_distutils
   dh_installinfo -O--buildsystem=python_distutils
   dh_installinit -O--buildsystem=python_distutils
   dh_installmenu -O--buildsystem=python_distutils
   dh_installmime -O--buildsystem=python_distutils
   dh_installmodules -O--buildsystem=python_distutils
   dh_installlogcheck -O--buildsystem=python_distutils
   dh_installlogrotate -O--buildsystem=python_distutils
   dh_installpam -O--buildsystem=python_distutils
   dh_installppp -O--buildsystem=python_distutils
   dh_installudev -O--buildsystem=python_distutils
   dh_installgsettings -O--buildsystem=python_distutils
   dh_bugfiles -O--buildsystem=python_distutils
   dh_ucf -O--buildsystem=python_distutils
   dh_lintian -O--buildsystem=python_distutils
   dh_gconf -O--buildsystem=python_distutils
dh_gconf: Please migrate to dh_installgsettings; gconf + dh_gconf is
scheduled for removal.
   dh_icons -O--buildsystem=python_distutils
   dh_perl -O--buildsystem=python_distutils
   dh_usrlocal -O--buildsystem=python_distutils
dh_usrlocal:
debian/python3-foo/usr/local/lib/python3.7/dist-packages/Foo-0.2.egg-info
is not a directory
make[2]: *** [debian/rules:3: binary] Error 25
make[2]: Leaving directory
'/tmp/autopkgtest-lxc.z__tm1_p/downtmp/autopkgtest_tmp/tests/t301'
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess
returned exit status 2
make[1]: *** [Makefile:8: run] Error 2
make[1]: Leaving directory
'/tmp/autopkgtest-lxc.z__tm1_p/downtmp/autopkgtest_tmp/tests/t301'
make: *** [Makefile:16: test301] Error 2
autopkgtest [05:53:45]: test dh-python: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: