Bug#979288: ffc autopkgtests fail with pytest 6
Christian Kastner
ckk at debian.org
Mon Jan 4 22:16:35 GMT 2021
Source: ffc
Version: 2019.2.0~git20200123.6b621eb-3
Severity: serious
User: pytest at packages.debian.org
Usertags: pytest-v6
Hi,
ffc autopkgtests with pytest 6 in unstable because it uses a deprecated
feature that will be removed soon, and that, by default, considered an
error in pytest 6.
The fragment of the CI the error log below has more details.
> ==================================== ERRORS ====================================
> ________________________ ERROR collecting test session _________________________
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> <frozen importlib._bootstrap>:1030: in _gcd_import
> ???
> <frozen importlib._bootstrap>:1007: in _find_and_load
> ???
> <frozen importlib._bootstrap>:986: in _find_and_load_unlocked
> ???
> <frozen importlib._bootstrap>:680: in _load_unlocked
> ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:170: in exec_module
> exec(co, module.__dict__)
> uflacs/crosslanguage/conftest.py:234: in <module>
> ???
> /usr/lib/python3/dist-packages/_pytest/fixtures.py:1358: in fixture
> warnings.warn(FIXTURE_POSITIONAL_ARGUMENTS, stacklevel=2)
> E pytest.PytestDeprecationWarning: Passing arguments to pytest.fixture() as positional arguments is deprecated - pass them as a keyword argument instead.
> =========================== short test summary info ============================
> ERROR .. - pytest.PytestDeprecationWarning: Passing arguments to pytest.fixtu...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.42s ===============================
More information about the debian-science-maintainers
mailing list