Source: python-h2
Version: 4.0.0-1
Severity: important
User: pyt...@packages.debian.org
Usertags: pytest-v6

Hi,

python-h2 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_h2/build; 
> python3.9 -m pytest -k-test/test_rfc7838.py -k-test/test_invalid_headers.py
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: hypothesis-5.41.2
> collected 1414 items
> 
> ============================ no tests ran in 0.60s 
> =============================
> ERROR: Wrong expression passed to '-k': not test/test_invalid_headers.py: at 
> column 9: unexpected character "/"
> 
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=4: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_h2/build; python3.9 -m pytest 
> -k-test/test_rfc7838.py -k-test/test_invalid_headers.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13
> make: *** [debian/rules:8: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2

Reply via email to