Source: elastalert Version: 0.2.1-1 Severity: important User: pyt...@packages.debian.org Usertags: pytest-v6
Hi, elastalert FTBFS with pytest 6 in experimental because it uses removed feature. The -k option no longer allows a dash "-" 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/build; > python3.9 -m pytest "-k-test_auth_aws_region > -k-test_wait_until_responsive_timeout_es_not_available > -k-test_wait_until_responsive_timeout_index_does_not_exist" > ERROR: Wrong expression passed to '-k': not test_auth_aws_region > -k-test_wait_until_responsive_timeout_es_not_available > -k-test_wait_until_responsive_timeout_index_does_not_exist: at column 26: > expected end of input; got identifier > > ============================= test session starts > ============================== > platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini > collected 206 items > > ============================ no tests ran in 0.29s > ============================= > E: pybuild pybuild:353: test: plugin distutils failed with: exit code=4: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest > "-k-test_auth_aws_region > -k-test_wait_until_responsive_timeout_es_not_available > -k-test_wait_until_responsive_timeout_index_does_not_exist" > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 > returned exit code 13 > make: *** [debian/rules:8: build] Error 25 > dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2