Source: wand
Version: 0.6.4-1
Severity: important
User: pyt...@packages.debian.org
Usertags: pytest-v6

Hi,

wand 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_wand/build; 
> python3.9 -m pytest '-k-pdf -test_artifacts'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0
> Wand Version: 0.6.4
> ImageMagick Version: ImageMagick 6.9.11-24 Q16 x86_64 20200718 
> https://imagemagick.org
> rootdir: /<<PKGBUILDDIR>>
> collected 562 items
> 
> ============================ no tests ran in 0.45s 
> =============================
> ERROR: Wrong expression passed to '-k': not pdf -test_artifacts: at column 9: 
> expected end of input; got identifier
> 
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=4: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wand/build; python3.9 -m pytest 
> '-k-pdf -test_artifacts'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13
> make[1]: *** [debian/rules:28: override_dh_auto_test] Error 25
> make: *** [debian/rules:17: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2

Reply via email to