Source: python-handy-archives
Version: 0.2.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250107 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory 
> '/build/reproducible-path/python-handy-archives-0.2.0'
> python3 -m pytest  -v --ignore=tests/test_tarfile.py  \
> -k 'not test_unpack_archive_xztar and not test_unpack_archive_gztar and not 
> test_unpack_archive_tar and not test_unpack_archive_bztar'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- 
> /usr/bin/python3
> cachedir: .pytest_cache
> Test session started at 07:11:01
> rootdir: /build/reproducible-path/python-handy-archives-0.2.0
> configfile: tox.ini
> plugins: regressions-2.5.0+ds, timeout-2.3.1, cov-5.0.0, typeguard-4.4.1, 
> datadir-1.4.1+ds
> timeout: 300.0s
> timeout method: signal
> timeout func_only: False
> collecting ... collected 213 items / 4 deselected / 209 selected
> 
> tests/test_custom_tarfile.py::test_extractfile PASSED           
>          [  0%]
> tests/test_custom_tarfile.py::test_read_text PASSED             
>          [  0%]
> tests/test_custom_tarfile.py::test_write_file PASSED            
>          [  1%]
> tests/test_custom_tarfile.py::test_read_bytes PASSED            
>          [  1%]
> tests/test_custom_tarfile.py::test_archive_regression PASSED    
>          [  2%]
> tests/test_custom_zipfile.py::test_encrypted PASSED             
>          [  2%]
> tests/test_custom_zipfile.py::test_extractfile PASSED           
>          [  3%]
> tests/test_custom_zipfile.py::test_read_text PASSED             
>          [  3%]
> tests/test_custom_zipfile.py::test_write_file PASSED            
>          [  4%]
> tests/test_custom_zipfile.py::test_write_file_arcname_none 
> PASSED        [  4%]
> tests/test_custom_zipfile.py::test_read_bytes PASSED            
>          [  5%]
> tests/test_custom_zipfile.py::test_archive_regression PASSED    
>          [  5%]
> tests/test_unpack_archive.py::TestArchives::test_register_archive_format 
> PASSED [  6%]
> tests/test_unpack_archive.py::TestArchives::test_unpack_archive_zip 
> PASSED [  6%]
> tests/test_unpack_archive.py::TestArchives::test_unpack_registry 
> PASSED  [  7%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_basic 
> PASSED  [  7%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_open 
> PASSED   [  8%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_open_with_pathlike 
> PASSED [  8%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_random_open 
> PASSED [  9%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_read1 
> PASSED  [  9%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_read1_10 
> PASSED [ 10%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_readline_read 
> PASSED [ 10%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_readline 
> PASSED [ 11%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_readlines 
> PASSED [ 11%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_iterlines 
> PASSED [ 11%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_writestr_compression
>  PASSED [ 12%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_writestr_compresslevel
>  PASSED [ 12%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_read_return_size 
> PASSED [ 13%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_truncated_zipfile 
> PASSED [ 13%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_repr 
> FAILED   [ 14%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_compresslevel_basic
>  PASSED [ 14%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_per_file_compresslevel
>  PASSED [ 15%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_writing_errors 
> PASSED [ 15%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_writestr_permissions
>  PASSED [ 16%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_absolute_arcnames 
> PASSED [ 16%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_append_to_zip_file 
> PASSED [ 17%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_append_to_non_zip_file
>  PASSED [ 17%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_read_concatenated_zip_file
>  PASSED [ 18%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_append_to_concatenated_zip_file
>  PASSED [ 18%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_ignores_newline_at_end
>  PASSED [ 19%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_ignores_stuff_appended_past_comments
>  PASSED [ 19%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_write_default_name 
> PASSED [ 20%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_io_on_closed_zipextfile
>  PASSED [ 20%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_write_to_readonly 
> PASSED [ 21%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_add_file_before_1980
>  PASSED [ 21%]
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_add_file_after_2107
>  SKIPPED [ 22%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_basic 
> PASSED [ 22%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_open 
> PASSED  [ 22%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_open_with_pathlike
>  PASSED [ 23%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_random_open 
> PASSED [ 23%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_read1 
> PASSED [ 24%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_read1_10 
> PASSED [ 24%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_readline_read 
> PASSED [ 25%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_readline 
> PASSED [ 25%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_readlines 
> PASSED [ 26%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_iterlines 
> PASSED [ 26%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_low_compression 
> PASSED [ 27%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_writestr_compression
>  PASSED [ 27%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_writestr_compresslevel
>  PASSED [ 28%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_read_return_size 
> PASSED [ 28%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_truncated_zipfile 
> PASSED [ 29%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_repr 
> FAILED  [ 29%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_compresslevel_basic
>  PASSED [ 30%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_per_file_compresslevel
>  PASSED [ 30%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_writing_errors 
> PASSED [ 31%]
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_per_file_compression
>  PASSED [ 31%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_basic 
> PASSED   [ 32%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_open 
> PASSED    [ 32%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_open_with_pathlike 
> PASSED [ 33%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_random_open 
> PASSED [ 33%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_read1 
> PASSED   [ 33%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_read1_10 
> PASSED [ 34%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_readline_read 
> PASSED [ 34%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_readline 
> PASSED [ 35%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_readlines 
> PASSED [ 35%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_iterlines 
> PASSED [ 36%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_low_compression 
> PASSED [ 36%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_writestr_compression
>  PASSED [ 37%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_writestr_compresslevel
>  PASSED [ 37%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_read_return_size 
> PASSED [ 38%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_truncated_zipfile 
> PASSED [ 38%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_repr 
> FAILED    [ 39%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_compresslevel_basic 
> PASSED [ 39%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_per_file_compresslevel
>  PASSED [ 40%]
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_writing_errors 
> PASSED [ 40%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_basic 
> PASSED    [ 41%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_open 
> PASSED     [ 41%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_open_with_pathlike 
> PASSED [ 42%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_random_open 
> PASSED [ 42%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_read1 
> PASSED    [ 43%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_read1_10 
> PASSED [ 43%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_readline_read 
> PASSED [ 44%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_readline 
> PASSED [ 44%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_readlines 
> PASSED [ 44%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_iterlines 
> PASSED [ 45%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_low_compression 
> PASSED [ 45%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_writestr_compression 
> PASSED [ 46%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_writestr_compresslevel
>  PASSED [ 46%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_read_return_size 
> PASSED [ 47%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_truncated_zipfile 
> PASSED [ 47%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_repr 
> FAILED     [ 48%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_compresslevel_basic 
> PASSED [ 48%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_per_file_compresslevel
>  PASSED [ 49%]
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_writing_errors 
> PASSED [ 49%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_basic 
> PASSED [ 50%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_too_many_files 
> PASSED [ 50%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_too_many_files_append
>  PASSED [ 51%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_large_file_exception
>  PASSED [ 51%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_absolute_arcnames
>  PASSED [ 52%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_append 
> PASSED [ 52%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_bad_zip64_extra 
> PASSED [ 53%]
> tests/test_zipfile.py::TestStoredTestZip64InSmallFiles::test_generated_valid_zip64_extra
>  PASSED [ 53%]
> tests/test_zipfile.py::TestDeflateTestZip64InSmallFiles::test_basic 
> PASSED [ 54%]
> tests/test_zipfile.py::TestDeflateTestZip64InSmallFiles::test_too_many_files 
> PASSED [ 54%]
> tests/test_zipfile.py::TestDeflateTestZip64InSmallFiles::test_too_many_files_append
>  PASSED [ 55%]
> tests/test_zipfile.py::TestBzip2TestZip64InSmallFiles::test_basic 
> PASSED [ 55%]
> tests/test_zipfile.py::TestBzip2TestZip64InSmallFiles::test_too_many_files 
> PASSED [ 55%]
> tests/test_zipfile.py::TestBzip2TestZip64InSmallFiles::test_too_many_files_append
>  PASSED [ 56%]
> tests/test_zipfile.py::TestLzmaTestZip64InSmallFiles::test_basic 
> PASSED  [ 56%]
> tests/test_zipfile.py::TestLzmaTestZip64InSmallFiles::test_too_many_files 
> PASSED [ 57%]
> tests/test_zipfile.py::TestLzmaTestZip64InSmallFiles::test_too_many_files_append
>  PASSED [ 57%]
> tests/test_zipfile.py::TestStoredWriter::test_close_after_close 
> PASSED   [ 58%]
> tests/test_zipfile.py::TestStoredWriter::test_write_after_close 
> PASSED   [ 58%]
> tests/test_zipfile.py::TestDeflateWriter::test_close_after_close 
> PASSED  [ 59%]
> tests/test_zipfile.py::TestDeflateWriter::test_write_after_close 
> PASSED  [ 59%]
> tests/test_zipfile.py::TestBzip2Writer::test_close_after_close 
> PASSED    [ 60%]
> tests/test_zipfile.py::TestBzip2Writer::test_write_after_close 
> PASSED    [ 60%]
> tests/test_zipfile.py::TestLzmaWriter::test_close_after_close 
> PASSED     [ 61%]
> tests/test_zipfile.py::TestLzmaWriter::test_write_after_close 
> PASSED     [ 61%]
> tests/test_zipfile.py::TestExtract::test_extract PASSED         
>          [ 62%]
> tests/test_zipfile.py::TestExtract::test_extract_with_target 
> PASSED      [ 62%]
> tests/test_zipfile.py::TestExtract::test_extract_with_target_pathlike 
> PASSED [ 63%]
> tests/test_zipfile.py::TestExtract::test_extract_all PASSED     
>          [ 63%]
> tests/test_zipfile.py::TestExtract::test_extract_all_with_target 
> PASSED  [ 64%]
> tests/test_zipfile.py::TestExtract::test_extract_all_with_target_pathlike 
> PASSED [ 64%]
> tests/test_zipfile.py::TestExtract::test_sanitize_windows_name 
> PASSED    [ 65%]
> tests/test_zipfile.py::TestExtract::test_extract_hackers_arcnames_common_cases
>  PASSED [ 65%]
> tests/test_zipfile.py::TestExtract::test_extract_hackers_arcnames_windows_only
>  SKIPPED [ 66%]
> tests/test_zipfile.py::TestExtract::test_extract_hackers_arcnames_posix_only 
> PASSED [ 66%]
> tests/test_zipfile.py::TestsOther::test_open_via_zip_info 
> PASSED         [ 66%]
> tests/test_zipfile.py::TestsOther::test_writestr_extended_local_header_issue1202
>  PASSED [ 67%]
> tests/test_zipfile.py::TestsOther::test_close PASSED            
>          [ 67%]
> tests/test_zipfile.py::TestsOther::test_close_on_exception 
> PASSED        [ 68%]
> tests/test_zipfile.py::TestsOther::test_unsupported_version 
> PASSED       [ 68%]
> tests/test_zipfile.py::TestsOther::test_read_unicode_filenames 
> SKIPPED   [ 69%]
> tests/test_zipfile.py::TestsOther::test_write_unicode_filenames 
> PASSED   [ 69%]
> tests/test_zipfile.py::TestsOther::test_read_after_write_unicode_filenames 
> PASSED [ 70%]
> tests/test_zipfile.py::TestsOther::test_exclusive_create_zip_file 
> PASSED [ 70%]
> tests/test_zipfile.py::TestsOther::test_create_non_existent_file_for_append 
> PASSED [ 71%]
> tests/test_zipfile.py::TestsOther::test_close_erroneous_file 
> PASSED      [ 71%]
> tests/test_zipfile.py::TestsOther::test_is_zip_erroneous_file 
> PASSED     [ 72%]
> tests/test_zipfile.py::TestsOther::test_damaged_zipfile PASSED  
>          [ 72%]
> tests/test_zipfile.py::TestsOther::test_is_zip_valid_file 
> PASSED         [ 73%]
> tests/test_zipfile.py::TestsOther::test_non_existent_file_raises_OSError 
> PASSED [ 73%]
> tests/test_zipfile.py::TestsOther::test_empty_file_raises_BadZipFile 
> PASSED [ 74%]
> tests/test_zipfile.py::TestsOther::test_closed_zip_raises_ValueError 
> PASSED [ 74%]
> tests/test_zipfile.py::TestsOther::test_bad_constructor_mode 
> PASSED      [ 75%]
> tests/test_zipfile.py::TestsOther::test_bad_open_mode PASSED    
>          [ 75%]
> tests/test_zipfile.py::TestsOther::test_read0 PASSED            
>          [ 76%]
> tests/test_zipfile.py::TestsOther::test_open_non_existent_item 
> PASSED    [ 76%]
> tests/test_zipfile.py::TestsOther::test_bad_compression_mode 
> PASSED      [ 77%]
> tests/test_zipfile.py::TestsOther::test_unsupported_compression 
> PASSED   [ 77%]
> tests/test_zipfile.py::TestsOther::test_null_byte_in_filename 
> PASSED     [ 77%]
> tests/test_zipfile.py::TestsOther::test_comments PASSED         
>          [ 78%]
> tests/test_zipfile.py::TestsOther::test_unicode_comment PASSED  
>          [ 78%]
> tests/test_zipfile.py::TestsOther::test_change_comment_in_empty_archive 
> PASSED [ 79%]
> tests/test_zipfile.py::TestsOther::test_change_comment_in_nonempty_archive 
> PASSED [ 79%]
> tests/test_zipfile.py::TestsOther::test_empty_zipfile PASSED    
>          [ 80%]
> tests/test_zipfile.py::TestsOther::test_open_empty_file PASSED  
>          [ 80%]
> tests/test_zipfile.py::TestsOther::test_zipfile_with_short_extra_field 
> PASSED [ 81%]
> tests/test_zipfile.py::TestsOther::test_open_conflicting_handles 
> PASSED  [ 81%]
> tests/test_zipfile.py::TestsOther::test_seek_tell PASSED        
>          [ 82%]
> tests/test_zipfile.py::TestsOther::test_decompress_without_3rd_party_library 
> PASSED [ 82%]
> tests/test_zipfile.py::TestStoredBadCrc::test_testzip_with_bad_crc 
> PASSED [ 83%]
> tests/test_zipfile.py::TestStoredBadCrc::test_read_with_bad_crc 
> PASSED   [ 83%]
> tests/test_zipfile.py::TestDeflateBadCrcTests::test_testzip_with_bad_crc 
> PASSED [ 84%]
> tests/test_zipfile.py::TestDeflateBadCrcTests::test_read_with_bad_crc 
> PASSED [ 84%]
> tests/test_zipfile.py::TestBzip2BadCrc::test_testzip_with_bad_crc 
> PASSED [ 85%]
> tests/test_zipfile.py::TestBzip2BadCrc::test_read_with_bad_crc 
> PASSED    [ 85%]
> tests/test_zipfile.py::TestLzmaBadCrc::test_testzip_with_bad_crc 
> PASSED  [ 86%]
> tests/test_zipfile.py::TestLzmaBadCrc::test_read_with_bad_crc 
> PASSED     [ 86%]
> tests/test_zipfile.py::TestDecryption::test_no_password PASSED  
>          [ 87%]
> tests/test_zipfile.py::TestDecryption::test_bad_password PASSED 
>          [ 87%]
> tests/test_zipfile.py::TestDecryption::test_good_password 
> PASSED         [ 88%]
> tests/test_zipfile.py::TestDecryption::test_unicode_password 
> PASSED      [ 88%]
> tests/test_zipfile.py::TestDecryption::test_seek_tell PASSED    
>          [ 88%]
> tests/test_zipfile.py::TestStoredTestsWithRandomBinaryFiles::test_read 
> PASSED [ 89%]
> tests/test_zipfile.py::TestStoredTestsWithRandomBinaryFiles::test_open 
> PASSED [ 89%]
> tests/test_zipfile.py::TestStoredTestsWithRandomBinaryFiles::test_random_open 
> PASSED [ 90%]
> tests/test_zipfile.py::TesteflateTestsWithRandomBinaryFiles::test_read 
> PASSED [ 90%]
> tests/test_zipfile.py::TesteflateTestsWithRandomBinaryFiles::test_open 
> PASSED [ 91%]
> tests/test_zipfile.py::TesteflateTestsWithRandomBinaryFiles::test_random_open 
> PASSED [ 91%]
> tests/test_zipfile.py::TestBzip2TestsWithRandomBinaryFiles::test_read 
> PASSED [ 92%]
> tests/test_zipfile.py::TestBzip2TestsWithRandomBinaryFiles::test_open 
> PASSED [ 92%]
> tests/test_zipfile.py::TestBzip2TestsWithRandomBinaryFiles::test_random_open 
> PASSED [ 93%]
> tests/test_zipfile.py::TestLzmaTestsWithRandomBinaryFiles::test_read 
> PASSED [ 93%]
> tests/test_zipfile.py::TestLzmaTestsWithRandomBinaryFiles::test_open 
> PASSED [ 94%]
> tests/test_zipfile.py::TestLzmaTestsWithRandomBinaryFiles::test_random_open 
> PASSED [ 94%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_same_file 
> PASSED     [ 95%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_different_file 
> PASSED [ 95%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_interleaved 
> PASSED   [ 96%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_read_after_close 
> PASSED [ 96%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_read_after_write 
> PASSED [ 97%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_write_after_read 
> PASSED [ 97%]
> tests/test_zipfile.py::TestsWithMultipleOpens::test_write_while_reading 
> PASSED [ 98%]
> tests/test_zipfile.py::TestWithDirectory::test_extract_dir SKIPPED 
> (...) [ 98%]
> tests/test_zipfile.py::TestWithDirectory::test_bug_6050 SKIPPED 
> (unk...) [ 99%]
> tests/test_zipfile.py::TestWithDirectory::test_write_dir PASSED 
>          [ 99%]
> tests/test_zipfile.py::TestWithDirectory::test_writestr_dir 
> PASSED       [100%]
> 
> =================================== FAILURES 
> ===================================
> ___________________ TestStoredTestsWithSourceFile.test_repr 
> ____________________
> 
> self = <tests.test_zipfile.TestStoredTestsWithSourceFile object at 
> 0x7f8905843070>
> tmp_pathplus = PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr0')
> testfn = 
> PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr0/@test_94_tmp')
> 
>     def test_repr(self, tmp_pathplus: PathPlus, testfn: PathPlus):
>       # Make a source file with some lines
>       with open(testfn, "wb") as fp:
>               fp.write(self.data)
>     
>       fname = "file.name"
>       for f in get_files(tmp_pathplus):
>               with ZipFile(f, 'w', self.compression) as zipfp:
>                       zipfp.write(testfn, fname)
>                       r = repr(zipfp)
>                       assert "mode='w'" in r
>     
>               with ZipFile(f, 'r') as zipfp:
>                       r = repr(zipfp)
>                       if isinstance(f, str):
>                               assert f"filename={f!r}" in r
>                       else:
>                               assert f"file={f!r}" in r
>                       assert "mode='r'" in r
>                       r = repr(zipfp.getinfo(fname))
>                       assert f"filename={fname!r}" in r
>                       assert "filemode=" in r
>                       assert "file_size=" in r
>                       if self.compression != zipfile.ZIP_STORED:
>                               assert "compress_type=" in r
>                               assert "compress_size=" in r
>                       with zipfp.open(fname) as zipopen:
>                               r = repr(zipopen)
>                               assert f"name={fname!r}" in r
> >                             assert "mode='r'" in r
> E       assert "mode='r'" in "<zipfile.ZipExtFile 
> name='file.name'>"
> 
> tests/test_zipfile.py:460: AssertionError
> ___________________ TestDeflateTestsWithSourceFile.test_repr 
> ___________________
> 
> self = <tests.test_zipfile.TestDeflateTestsWithSourceFile object at 
> 0x7f89066d3490>
> tmp_pathplus = PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr1')
> testfn = 
> PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr1/@test_94_tmp')
> 
>     def test_repr(self, tmp_pathplus: PathPlus, testfn: PathPlus):
>       # Make a source file with some lines
>       with open(testfn, "wb") as fp:
>               fp.write(self.data)
>     
>       fname = "file.name"
>       for f in get_files(tmp_pathplus):
>               with ZipFile(f, 'w', self.compression) as zipfp:
>                       zipfp.write(testfn, fname)
>                       r = repr(zipfp)
>                       assert "mode='w'" in r
>     
>               with ZipFile(f, 'r') as zipfp:
>                       r = repr(zipfp)
>                       if isinstance(f, str):
>                               assert f"filename={f!r}" in r
>                       else:
>                               assert f"file={f!r}" in r
>                       assert "mode='r'" in r
>                       r = repr(zipfp.getinfo(fname))
>                       assert f"filename={fname!r}" in r
>                       assert "filemode=" in r
>                       assert "file_size=" in r
>                       if self.compression != zipfile.ZIP_STORED:
>                               assert "compress_type=" in r
>                               assert "compress_size=" in r
>                       with zipfp.open(fname) as zipopen:
>                               r = repr(zipopen)
>                               assert f"name={fname!r}" in r
> >                             assert "mode='r'" in r
> E       assert "mode='r'" in "<zipfile.ZipExtFile name='file.name' 
> compress_type=deflate>"
> 
> tests/test_zipfile.py:460: AssertionError
> ____________________ TestBzip2TestsWithSourceFile.test_repr 
> ____________________
> 
> self = <tests.test_zipfile.TestBzip2TestsWithSourceFile object at 
> 0x7f89066ce5d0>
> tmp_pathplus = PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr2')
> testfn = 
> PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr2/@test_94_tmp')
> 
>     def test_repr(self, tmp_pathplus: PathPlus, testfn: PathPlus):
>       # Make a source file with some lines
>       with open(testfn, "wb") as fp:
>               fp.write(self.data)
>     
>       fname = "file.name"
>       for f in get_files(tmp_pathplus):
>               with ZipFile(f, 'w', self.compression) as zipfp:
>                       zipfp.write(testfn, fname)
>                       r = repr(zipfp)
>                       assert "mode='w'" in r
>     
>               with ZipFile(f, 'r') as zipfp:
>                       r = repr(zipfp)
>                       if isinstance(f, str):
>                               assert f"filename={f!r}" in r
>                       else:
>                               assert f"file={f!r}" in r
>                       assert "mode='r'" in r
>                       r = repr(zipfp.getinfo(fname))
>                       assert f"filename={fname!r}" in r
>                       assert "filemode=" in r
>                       assert "file_size=" in r
>                       if self.compression != zipfile.ZIP_STORED:
>                               assert "compress_type=" in r
>                               assert "compress_size=" in r
>                       with zipfp.open(fname) as zipopen:
>                               r = repr(zipopen)
>                               assert f"name={fname!r}" in r
> >                             assert "mode='r'" in r
> E       assert "mode='r'" in "<zipfile.ZipExtFile name='file.name' 
> compress_type=bzip2>"
> 
> tests/test_zipfile.py:460: AssertionError
> ____________________ TestLzmaTestsWithSourceFile.test_repr 
> _____________________
> 
> self = <tests.test_zipfile.TestLzmaTestsWithSourceFile object at 
> 0x7f89066ce450>
> tmp_pathplus = PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr3')
> testfn = 
> PosixPathPlus('/tmp/pytest-of-user42/pytest-0/test_repr3/@test_94_tmp')
> 
>     def test_repr(self, tmp_pathplus: PathPlus, testfn: PathPlus):
>       # Make a source file with some lines
>       with open(testfn, "wb") as fp:
>               fp.write(self.data)
>     
>       fname = "file.name"
>       for f in get_files(tmp_pathplus):
>               with ZipFile(f, 'w', self.compression) as zipfp:
>                       zipfp.write(testfn, fname)
>                       r = repr(zipfp)
>                       assert "mode='w'" in r
>     
>               with ZipFile(f, 'r') as zipfp:
>                       r = repr(zipfp)
>                       if isinstance(f, str):
>                               assert f"filename={f!r}" in r
>                       else:
>                               assert f"file={f!r}" in r
>                       assert "mode='r'" in r
>                       r = repr(zipfp.getinfo(fname))
>                       assert f"filename={fname!r}" in r
>                       assert "filemode=" in r
>                       assert "file_size=" in r
>                       if self.compression != zipfile.ZIP_STORED:
>                               assert "compress_type=" in r
>                               assert "compress_size=" in r
>                       with zipfp.open(fname) as zipopen:
>                               r = repr(zipopen)
>                               assert f"name={fname!r}" in r
> >                             assert "mode='r'" in r
> E       assert "mode='r'" in "<zipfile.ZipExtFile name='file.name' 
> compress_type=lzma>"
> 
> tests/test_zipfile.py:460: AssertionError
> ============================= slowest 25 durations 
> =============================
> 0.39s call     
> tests/test_zipfile.py::TestLzmaTestsWithRandomBinaryFiles::test_open
> 0.39s call     
> tests/test_zipfile.py::TestLzmaTestsWithRandomBinaryFiles::test_read
> 0.38s call     
> tests/test_zipfile.py::TestLzmaTestsWithRandomBinaryFiles::test_random_open
> 0.22s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_iterlines
> 0.21s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_read1_10
> 0.21s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_readlines
> 0.21s call     tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_basic
> 0.21s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_random_open
> 0.21s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_readline_read
> 0.21s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_readline
> 0.21s call     tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_read1
> 0.20s call     tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_open
> 0.20s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_compresslevel_basic
> 0.12s call     
> tests/test_zipfile.py::TestLzmaTestZip64InSmallFiles::test_basic
> 0.10s call     
> tests/test_zipfile.py::TestBzip2TestsWithRandomBinaryFiles::test_open
> 0.09s call     
> tests/test_zipfile.py::TestBzip2TestsWithRandomBinaryFiles::test_read
> 0.08s call     
> tests/test_zipfile.py::TestBzip2TestsWithRandomBinaryFiles::test_random_open
> 0.07s call     
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_compresslevel_basic
> 0.07s call     tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_basic
> 0.07s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_open_with_pathlike
> 0.06s call     
> tests/test_zipfile.py::TesteflateTestsWithRandomBinaryFiles::test_open
> 0.06s call     
> tests/test_zipfile.py::TesteflateTestsWithRandomBinaryFiles::test_read
> 0.06s call     
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_writing_errors
> 0.06s call     
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_read1_10
> 0.06s call     
> tests/test_zipfile.py::TesteflateTestsWithRandomBinaryFiles::test_random_open
> =========================== short test summary info 
> ============================
> FAILED 
> tests/test_zipfile.py::TestStoredTestsWithSourceFile::test_repr - 
> assert "mode='r'" in "<zipfile.ZipExtFile name='file.name'>"
> FAILED 
> tests/test_zipfile.py::TestDeflateTestsWithSourceFile::test_repr - 
> assert "mode='r'" in "<zipfile.ZipExtFile name='file.name' compress_type=de...
> FAILED 
> tests/test_zipfile.py::TestBzip2TestsWithSourceFile::test_repr - 
> assert "mode='r'" in "<zipfile.ZipExtFile name='file.name' compress_type=bz...
> FAILED 
> tests/test_zipfile.py::TestLzmaTestsWithSourceFile::test_repr - 
> assert "mode='r'" in "<zipfile.ZipExtFile name='file.name' compress_type=lz...
> ============ 4 failed, 200 passed, 5 
> skipped, 4 deselected in 6.15s ============
> make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2025/01/07/python-handy-archives_0.2.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250107;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250107&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to