[Python-modules-team] Bug#950055: python-django-csp FTBFS with pytest 4.6
Adrian Bunk
bunk at debian.org
Tue Jan 28 18:07:55 GMT 2020
Source: python-django-csp
Version: 3.5-1
Severity: serious
Tags: ftbfs bullseye sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-django-csp.html
...
I: pybuild base:217: cd /build/1st/python-django-csp-3.5/.pybuild/cpython3_3.8_django-csp/build; python3.8 -m pytest
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 /build/1st/python-django-csp-3.5/.pybuild/cpython3_3.8_django-csp/build; python3.8 -m pytest
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.8 3.7" returned exit code 13
make: *** [debian/rules:9: build] Error 25
More information about the Python-modules-team
mailing list