[Python-modules-team] Bug#951977: flake8-polyfill: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.8 3.7" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 06:56:38 GMT 2020
Source: flake8-polyfill
Version: 1.0.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.8 setup.py config
> running config
> I: pybuild base:217: python3.7 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.8 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/options.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/stdin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build/flake8_polyfill
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/options.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/stdin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_flake-polyfill/build/flake8_polyfill
> copying src/flake8_polyfill/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_flake-polyfill/build/flake8_polyfill
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build; python3.8 -m pytest tests
> Traceback (most recent call last):
> File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
> return _run_code(code, main_globals, None,
> File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
> exec(code, run_globals)
> File "/usr/lib/python3/dist-packages/pytest.py", line 102, in <module>
> raise SystemExit(pytest.main())
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 63, in main
> config = _prepareconfig(args, plugins)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 206, in _prepareconfig
> return pluginmanager.hook.pytest_cmdline_parse(
> File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
> return self._hookexec(self, self.get_hookimpls(), kwargs)
> File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
> return self._inner_hookexec(hook, methods, kwargs)
> File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
> File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 203, in _multicall
> gen.send(outcome)
> File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 94, in pytest_cmdline_parse
> config = outcome.get_result()
> File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result
> raise ex[1].with_traceback(ex[2])
> File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in _multicall
> res = hook_impl.function(*args)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 739, in pytest_cmdline_parse
> self.parse(args)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 947, in parse
> self._preparse(args, addopts=addopts)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 881, in _preparse
> self._initini(args)
> File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 808, in _initini
> r = determine_setup(
> File "/usr/lib/python3/dist-packages/_pytest/config/findpaths.py", line 127, in determine_setup
> rootdir, inifile, inicfg = getcfg([ancestor], config=config)
> File "/usr/lib/python3/dist-packages/_pytest/config/findpaths.py", line 49, in getcfg
> fail(
> File "/usr/lib/python3/dist-packages/_pytest/outcomes.py", line 119, in fail
> raise Failed(msg=msg, pytrace=pytrace)
> Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
> E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_flake-polyfill/build; python3.8 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.8 3.7" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/flake8-polyfill_1.0.2-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list