Source: python-av
Version: 8.0.2-1
Severity: important
User: [email protected]
Usertags: pytest-v6

Hi,

python-av 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/build; 
> python3.9 -m pytest --ignore=tests/test_doctests.py 
> --ignore=tests/test_timeout.py -k'-test_audio_transcode 
> -test_container_probing -test_context_manager -test_data 
> -test_decode_audio_sample_count -test_decoded_motion_vectors 
> -test_decoded_time_base -test_decoded_video_frame_count -test_decode_half 
> -test_deprecated_stream_seek -test_encoding -test_movtext -test_parse 
> -test_reading -test_seek_end -test_seek_float -test_seek_int64 
> -test_seek_middle -test_seek_start -test_selection -test_stream_probing 
> -test_stream_seek -test_stream_tuples -test_vobsub' 
> ERROR: Wrong expression passed to '-k': not test_audio_transcode 
> -test_container_probing -test_context_manager -test_data 
> -test_decode_audio_sample_count -test_decoded_motion_vectors 
> -test_decoded_time_base -test_decoded_video_frame_count -test_decode_half 
> -test_deprecated_stream_seek -test_encoding -test_movtext -test_parse 
> -test_reading -test_seek_end -test_seek_float -test_seek_int64 
> -test_seek_middle -test_seek_start -test_selection -test_stream_probing 
> -test_stream_seek -test_stream_tuples -test_vobsub: 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>>
> collected 164 items
> 
> ============================ no tests ran in 0.33s 
> =============================
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=4: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest 
> --ignore=tests/test_doctests.py --ignore=tests/test_timeout.py 
> -k'-test_audio_transcode -test_container_probing -test_context_manager 
> -test_data -test_decode_audio_sample_count -test_decoded_motion_vectors 
> -test_decoded_time_base -test_decoded_video_frame_count -test_decode_half 
> -test_deprecated_stream_seek -test_encoding -test_movtext -test_parse 
> -test_reading -test_seek_end -test_seek_float -test_seek_int64 
> -test_seek_middle -test_seek_start -test_selection -test_stream_probing 
> -test_stream_seek -test_stream_tuples -test_vobsub' 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13
> make: *** [debian/rules:50: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2

Reply via email to