[Pkg-matrix-maintainers] Bug#977072: olm FTBFS with pytest 6

Christian Kastner ckk at debian.org
Thu Dec 10 19:05:53 GMT 2020


Source: olm
Version: 3.2.1~dfsg-3
Severity: important
User: pytest at packages.debian.org
Usertags: pytest-v6

Hi,

olm FTBFS with pytest 6 in experimental because it uses removed
feature. The -k option no longer allows a minus "-" as negation, only
"not". See

    https://docs.pytest.org/en/stable/changelog.html#id60

The error log below has more details.

> I: pybuild base:232: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_olm/build'; python3.9 -m pytest -k'-test_decrypt -test_encrypt'
> ============================= test session starts ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_olm/build
> collected 62 items
> 
> ============================ no tests ran in 0.05s =============================
> ERROR: Wrong expression passed to '-k': not test_decrypt -test_encrypt: at column 18: expected end of input; got identifier
> 
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=4: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_olm/build'; python3.9 -m pytest -k'-test_decrypt -test_encrypt'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 --dir python returned exit code 13
> make[1]: *** [debian/rules:57: override_dh_auto_test-arch] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:30: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-matrix-maintainers mailing list