Source: moviepy Version: 1.0.3-2 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
moviepy FTBFS with ffmpeg 5.0 (available in experimental): | debian/rules override_dh_auto_test | make[1]: Entering directory '/<<PKGBUILDDIR>>' | SOURCE_PATH=/<<PKGBUILDDIR>> dh_auto_test --buildsystem=pybuild | I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build; python3.10 -m pytest tests | ============================= test session starts ============================== | platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 | rootdir: /<<PKGBUILDDIR>> | plugins: cov-3.0.0 | collected 110 items | | tests/test_AudioClips.py ..... [ 4%] | tests/test_ImageSequenceClip.py .. [ 6%] | tests/test_PR.py .......F. [ 14%] | tests/test_TextClip.py .... [ 18%] | tests/test_VideoClip.py ............... [ 31%] | tests/test_VideoFileClip.py ... [ 34%] | tests/test_Videos.py . [ 35%] | tests/test_compositing.py .. [ 37%] | tests/test_examples.py s [ 38%] | tests/test_ffmpeg_reader.py .. [ 40%] | tests/test_fx.py ........................ [ 61%] | tests/test_issues.py ............... [ 75%] | tests/test_misc.py ... [ 78%] | tests/test_resourcerelease.py . [ 79%] | tests/test_resourcereleasedemo.py . [ 80%] | tests/test_tools.py ..................... [ 99%] | tests/test_videotools.py . [100%] | | =================================== FAILURES =================================== | _________________________________ test_PR_529 __________________________________ | | def test_PR_529(): | with VideoFileClip(SOURCE_PATH+"media/fire2.mp4") as video_clip: | > assert video_clip.rotation == 180 | E assert 0 == 180 | E + where 0 = <moviepy.video.io.VideoFileClip.VideoFileClip object at 0x7ff9fd890880>.rotation | | tests/test_PR.py:105: AssertionError | =============================== warnings summary =============================== | moviepy/config_defaults.py:1 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build/moviepy/config_defaults.py:1: DeprecationWarning: invalid escape sequence '\P' | """ | | moviepy/video/io/ffmpeg_reader.py:294 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build/moviepy/video/io/ffmpeg_reader.py:294: DeprecationWarning: invalid escape sequence '\d' | lines_video = [l for l in lines if ' Video: ' in l and re.search('\d+x\d+', l)] | | moviepy/video/io/ffmpeg_reader.py:367 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build/moviepy/video/io/ffmpeg_reader.py:367: DeprecationWarning: invalid escape sequence '\d' | rotation_lines = [l for l in lines if 'rotate :' in l and re.search('\d+$', l)] | | moviepy/video/io/ffmpeg_reader.py:370 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build/moviepy/video/io/ffmpeg_reader.py:370: DeprecationWarning: invalid escape sequence '\d' | match = re.search('\d+$', rotation_line) | | .pybuild/cpython3_3.10_moviepy/build/tests/test_VideoClip.py: 13 warnings | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build/moviepy/video/io/gif_writers.py:226: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. | proc1.stdin.write(frame.tostring()) | | .pybuild/cpython3_3.10_moviepy/build/tests/test_fx.py::test_time_mirror | .pybuild/cpython3_3.10_moviepy/build/tests/test_fx.py::test_time_symmetrize | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build/moviepy/video/io/ffmpeg_reader.py:123: UserWarning: Warning: in file /<<PKGBUILDDIR>>/media/big_buck_bunny_432_433.webm, 2764800 bytes wanted but 0 bytes read,at frame 24/25, at time 1.00/1.00 sec. Using the last valid frame instead. | warnings.warn("Warning: in file %s, "%(self.filename)+ | | -- Docs: https://docs.pytest.org/en/stable/warnings.html | =========================== short test summary info ============================ | FAILED tests/test_PR.py::test_PR_529 - assert 0 == 180 | ====== 1 failed, 108 passed, 1 skipped, 19 warnings in 119.37s (0:01:59) ======= | E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_moviepy/build; python3.10 -m pytest tests | I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build; python3.9 -m pytest tests | ============================= test session starts ============================== | platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 | rootdir: /<<PKGBUILDDIR>> | plugins: cov-3.0.0 | collected 110 items | | tests/test_AudioClips.py ..... [ 4%] | tests/test_ImageSequenceClip.py .. [ 6%] | tests/test_PR.py .......F. [ 14%] | tests/test_TextClip.py .... [ 18%] | tests/test_VideoClip.py ............... [ 31%] | tests/test_VideoFileClip.py ... [ 34%] | tests/test_Videos.py . [ 35%] | tests/test_compositing.py .. [ 37%] | tests/test_examples.py s [ 38%] | tests/test_ffmpeg_reader.py .. [ 40%] | tests/test_fx.py ........................ [ 61%] | tests/test_issues.py ............... [ 75%] | tests/test_misc.py ... [ 78%] | tests/test_resourcerelease.py . [ 79%] | tests/test_resourcereleasedemo.py . [ 80%] | tests/test_tools.py ..................... [ 99%] | tests/test_videotools.py . [100%] | | =================================== FAILURES =================================== | _________________________________ test_PR_529 __________________________________ | | def test_PR_529(): | with VideoFileClip(SOURCE_PATH+"media/fire2.mp4") as video_clip: | > assert video_clip.rotation == 180 | E assert 0 == 180 | E + where 0 = <moviepy.video.io.VideoFileClip.VideoFileClip object at 0x7efc54001a60>.rotation | | tests/test_PR.py:105: AssertionError | =============================== warnings summary =============================== | moviepy/config_defaults.py:1 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build/moviepy/config_defaults.py:1: DeprecationWarning: invalid escape sequence \P | """ | | moviepy/video/io/ffmpeg_reader.py:294 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build/moviepy/video/io/ffmpeg_reader.py:294: DeprecationWarning: invalid escape sequence \d | lines_video = [l for l in lines if ' Video: ' in l and re.search('\d+x\d+', l)] | | moviepy/video/io/ffmpeg_reader.py:367 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build/moviepy/video/io/ffmpeg_reader.py:367: DeprecationWarning: invalid escape sequence \d | rotation_lines = [l for l in lines if 'rotate :' in l and re.search('\d+$', l)] | | moviepy/video/io/ffmpeg_reader.py:370 | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build/moviepy/video/io/ffmpeg_reader.py:370: DeprecationWarning: invalid escape sequence \d | match = re.search('\d+$', rotation_line) | | .pybuild/cpython3_3.9_moviepy/build/tests/test_VideoClip.py: 13 warnings | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build/moviepy/video/io/gif_writers.py:226: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. | proc1.stdin.write(frame.tostring()) | | .pybuild/cpython3_3.9_moviepy/build/tests/test_fx.py::test_time_mirror | .pybuild/cpython3_3.9_moviepy/build/tests/test_fx.py::test_time_symmetrize | /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build/moviepy/video/io/ffmpeg_reader.py:123: UserWarning: Warning: in file /<<PKGBUILDDIR>>/media/big_buck_bunny_432_433.webm, 2764800 bytes wanted but 0 bytes read,at frame 24/25, at time 1.00/1.00 sec. Using the last valid frame instead. | warnings.warn("Warning: in file %s, "%(self.filename)+ | | -- Docs: https://docs.pytest.org/en/stable/warnings.html | =========================== short test summary info ============================ | FAILED tests/test_PR.py::test_PR_529 - assert 0 == 180 | ====== 1 failed, 108 passed, 1 skipped, 19 warnings in 118.19s (0:01:58) ======= | E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_moviepy/build; python3.9 -m pytest tests | dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.9" returned exit code 13 | make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25 Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature