Source: picard Version: 2.13.3-1 Severity: important Tags: ftbfs patch User: [email protected] Usertags: python3.14
Hi Maintainer picard will FTBFS once Python 3.14 is the default version in Debian. I've copied what I hope is the relevant part of the log below. There's a commit upstream [1], which fixed it for me. Regards Graham [1] https://github.com/metabrainz/picard/commit/399b6f073b8ef17bc7ec7711cce13d044356b1cc ====================================================================== FAIL: test_duplicated_patterns (test.test_file.FileAdditionalFilesPatternsTest.test_duplicated_patterns) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_file.py", line 402, in test_duplicated_patterns self.assertEqual(File._compile_move_additional_files_pattern(pattern), expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Items in the first set but not the second: (re.compile('(?s:cover\\.jpg)\\z', re.IGNORECASE), False) Items in the second set but not the first: (re.compile('(?s:cover\\.jpg)\\Z', re.IGNORECASE), False) ====================================================================== FAIL: test_simple_hidden_patterns (test.test_file.FileAdditionalFilesPatternsTest.test_simple_hidden_patterns) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_file.py", line 410, in test_simple_hidden_patterns self.assertEqual(File._compile_move_additional_files_pattern(pattern), expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Items in the first set but not the second: (re.compile('(?s:\\.hidden)\\z', re.IGNORECASE), True) (re.compile('(?s:cover\\.jpg)\\z', re.IGNORECASE), False) Items in the second set but not the first: (re.compile('(?s:cover\\.jpg)\\Z', re.IGNORECASE), False) (re.compile('(?s:\\.hidden)\\Z', re.IGNORECASE), True) ====================================================================== FAIL: test_simple_patterns (test.test_file.FileAdditionalFilesPatternsTest.test_simple_patterns) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_file.py", line 387, in test_simple_patterns self.assertEqual(File._compile_move_additional_files_pattern(pattern), expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Items in the first set but not the second: (re.compile('(?s:cover\\.jpg)\\z', re.IGNORECASE), False) Items in the second set but not the first: (re.compile('(?s:cover\\.jpg)\\Z', re.IGNORECASE), False) ====================================================================== FAIL: test_whitespaces_patterns (test.test_file.FileAdditionalFilesPatternsTest.test_whitespaces_patterns) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_file.py", line 395, in test_whitespaces_patterns self.assertEqual(File._compile_move_additional_files_pattern(pattern), expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Items in the first set but not the second: (re.compile('(?s:b)\\z', re.IGNORECASE), False) (re.compile('(?s:a)\\z', re.IGNORECASE), False) Items in the second set but not the first: (re.compile('(?s:b)\\Z', re.IGNORECASE), False) (re.compile('(?s:a)\\Z', re.IGNORECASE), False) ====================================================================== FAIL: test_wildcard_patterns (test.test_file.FileAdditionalFilesPatternsTest.test_wildcard_patterns) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/test_file.py", line 419, in test_wildcard_patterns self.assertEqual(File._compile_move_additional_files_pattern(pattern), expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Items in the first set but not the second: (re.compile('(?s:\\.h.dden.*)\\z', re.IGNORECASE), True) (re.compile('(?s:c.ver\\.jpg)\\z', re.IGNORECASE), False) (re.compile('(?s:.*\\.jpg)\\z', re.IGNORECASE), False) Items in the second set but not the first: (re.compile('(?s:.*\\.jpg)\\Z', re.IGNORECASE), False) (re.compile('(?s:c.ver\\.jpg)\\Z', re.IGNORECASE), False) (re.compile('(?s:\\.h.dden.*)\\Z', re.IGNORECASE), True) ---------------------------------------------------------------------- Ran 2374 tests in 7.493s FAILED (failures=5, skipped=71)

