• Bug#1102379: hyperkitty: FTBFS: FAIL: test_header (hyperkitty.tests.tes

    From Santiago Vila@21:1/5 to All on Tue Apr 8 15:00:02 2025
    Package: src:hyperkitty
    Version: 1.3.12-2
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --with python3,sphinxdoc --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    dh_autoreconf_clean -O--buildsystem=pybuild
    debian/rules override_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_clean -X.txt.orig
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules binary
    dh binary --with python3,sphinxdoc --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    debian/rules override_dh_auto_build

    [... snipped ...]

    Adding permission 'Permission object (109)'
    Adding permission 'Permission object (110)'
    Adding permission 'Permission object (111)'
    Adding permission 'Permission object (112)'
    Running post-migrate handlers for application socialaccount
    Adding content type 'socialaccount | socialaccount'
    Adding content type 'socialaccount | socialapp'
    Adding content type 'socialaccount | socialtoken'
    Adding permission 'Permission object (113)'
    Adding permission 'Permission object (114)'
    Adding permission 'Permission object (115)'
    Adding permission 'Permission object (116)'
    Adding permission 'Permission object (117)'
    Adding permission 'Permission object (118)'
    Adding permission 'Permission object (119)'
    Adding permission 'Permission object (120)'
    Adding permission 'Permission object (121)'
    Adding permission 'Permission object (122)'
    Adding permission 'Permission object (123)'
    Adding permission 'Permission object (124)'
    Running post-migrate handlers for application openid
    Adding content type 'openid | openidnonce'
    Adding content type 'openid | openidstore'
    Adding permission 'Permission object (125)'
    Adding permission 'Permission object (126)'
    Adding permission 'Permission object (127)'
    Adding permission 'Permission object (128)'
    Adding permission 'Permission object (129)'
    Adding permission 'Permission object (130)'
    Adding permission 'Permission object (131)'
    Adding permission 'Permission object (132)'
    System check identified no issues (0 silenced).
    test_attachments_are_moved (hyperkitty.tests.commands.test_attachments_to_file.CommandTestCase.test_attachments_are_moved) ... ok
    test_chunk_size_option (hyperkitty.tests.commands.test_attachments_to_file.CommandTestCase.test_chunk_size_option) ... ok
    test_help_output (hyperkitty.tests.commands.test_attachments_to_file.CommandTestCase.test_help_output) ... ok
    test_no_attachment_folder (hyperkitty.tests.commands.test_attachments_to_file.CommandTestCase.test_no_attachment_folder) ... ok
    test_verbosity_option (hyperkitty.tests.commands.test_attachments_to_file.CommandTestCase.test_verbosity_option) ... ok
    test_another_empty_message_id (hyperkitty.tests.commands.test_import.CommandTestCase.test_another_empty_message_id) ... 2 attachments moved.
    ok
    test_another_unconvertable_message (hyperkitty.tests.commands.test_import.CommandTestCase.test_another_unconvertable_message) ... skipped ''
    test_another_wierd_message_id (hyperkitty.tests.commands.test_import.CommandTestCase.test_another_wierd_message_id) ... ok
    test_another_wrong_encoding (hyperkitty.tests.commands.test_import.CommandTestCase.test_another_wrong_encoding) ... expected failure
    test_another_wrong_encoding_part_two (hyperkitty.tests.commands.test_import.CommandTestCase.test_another_wrong_encoding_part_two) ... ok
    test_bad_content_type (hyperkitty.tests.commands.test_import.CommandTestCase.test_bad_content_type) ... expected failure
    test_bad_content_type_part_two (hyperkitty.tests.commands.test_import.CommandTestCase.test_bad_content_type_part_two) ... ok
    test_bad_date_tz_and_no_resent_date (hyperkitty.tests.commands.test_import.CommandTestCase.test_bad_date_tz_and_no_resent_date) ... ok
    test_bad_subject_header (hyperkitty.tests.commands.test_import.CommandTestCase.test_bad_subject_header) ... ok
    test_cant_write_error (hyperkitty.tests.commands.test_import.CommandTestCase.test_cant_write_error) ... skipped ''
    test_empty_message_id (hyperkitty.tests.commands.test_import.CommandTestCase.test_empty_message_id) ... ok
    test_folding_with_cr (hyperkitty.tests.commands.test_import.CommandTestCase.test_folding_with_cr) ... ok
    test_from_with_special_char (hyperkitty.tests.commands.test_import.CommandTestCase.test_from_with_special_char) ... ok
    test_impacted_threads (hyperkitty.tests.commands.test_import.CommandTestCase.test_impacted_threads) ... ok
    test_impacted_threads_batch (hyperkitty.tests.commands.test_import.CommandTestCase.test_impacted_threads_batch) ... ok
    test_import_with_archiving_disabled (hyperkitty.tests.commands.test_import.CommandTestCase.test_import_with_archiving_disabled) ... ok
    test_lowercase_list_name (hyperkitty.tests.commands.test_import.CommandTestCase.test_lowercase_list_name) ... ok
    test_missing_message_id (hyperkitty.tests.commands.test_import.CommandTestCase.test_missing_message_id) ... ok
    test_no_date_and_no_resent_date (hyperkitty.tests.commands.test_import.CommandTestCase.test_no_date_and_no_resent_date) ... ok
    test_no_date_but_resent_date (hyperkitty.tests.commands.test_import.CommandTestCase.test_no_date_but_resent_date) ... ok
    test_since_auto (hyperkitty.tests.commands.test_import.CommandTestCase.test_since_auto) ... ok
    test_since_override (hyperkitty.tests.commands.test_import.CommandTestCase.test_since_override) ... ok
    test_unconvertable_message (hyperkitty.tests.commands.test_import.CommandTestCase.test_unconvertable_message) ... skipped ''
    test_ungetable_message (hyperkitty.tests.commands.test_import.CommandTestCase.test_ungetable_message) ... ok
    test_ungettable_date (hyperkitty.tests.commands.test_import.CommandTestCase.test_ungettable_date) ... ok
    test_unixfrom (hyperkitty.tests.commands.test_import.CommandTestCase.test_unixfrom) ... ok
    test_unknown_encoding (hyperkitty.tests.commands.test_import.CommandTestCase.test_unknown_encoding) ... ok
    test_weird_timezone (hyperkitty.tests.commands.test_import.CommandTestCase.test_weird_timezone) ... ok
    test_wierd_message_id (hyperkitty.tests.commands.test_import.CommandTestCase.test_wierd_message_id) ... ok
    test_wrong_encoding (hyperkitty.tests.commands.test_import.CommandTestCase.test_wrong_encoding)
    badly encoded message, only fails on PostgreSQL ... skipped ''
    test_simple (hyperkitty.tests.commands.test_mailman_sync.CommandTestCase.test_simple) ... ok
    test_add_in_classical_thread (hyperkitty.tests.lib.test_analysis.TestThreadOrderDepth.test_add_in_classical_thread) ... ok
    test_classical_thread (hyperkitty.tests.lib.test_analysis.TestThreadOrderDepth.test_classical_thread) ... ok
    test_reply_loops (hyperkitty.tests.lib.test_analysis.TestThreadOrderDepth.test_reply_loops)
    Loops in message replies ... ok
    test_reply_to_oneself (hyperkitty.tests.lib.test_analysis.TestThreadOrderDepth.test_reply_to_oneself) ... ok
    test_simple_thread (hyperkitty.tests.lib.test_analysis.TestThreadOrderDepth.test_simple_thread) ... ok
    test_archived_date (hyperkitty.tests.lib.test_incoming.TestAddToList.test_archived_date) ... ok
    test_archived_date_unparseable (hyperkitty.tests.lib.test_incoming.TestAddToList.test_archived_date_unparseable) ... ok
    test_attachment_insert_order (hyperkitty.tests.lib.test_incoming.TestAddToList.test_attachment_insert_order)
    Attachments must not be inserted in the DB before the email ... ok test_attachment_local_storage (hyperkitty.tests.lib.test_incoming.TestAddToList.test_attachment_local_storage) ... ok
    test_attachment_local_storage_bad_list_name (hyperkitty.tests.lib.test_incoming.TestAddToList.test_attachment_local_storage_bad_list_name) ... ok
    test_basic (hyperkitty.tests.lib.test_incoming.TestAddToList.test_basic) ... ok test_bytes_attachment (hyperkitty.tests.lib.test_incoming.TestAddToList.test_bytes_attachment)
    Some attachments have content as bytes. ... ok
    test_data_error (hyperkitty.tests.lib.test_incoming.TestAddToList.test_data_error) ... ok
    test_date_aware (hyperkitty.tests.lib.test_incoming.TestAddToList.test_date_aware) ... ok
    test_date_naive (hyperkitty.tests.lib.test_incoming.TestAddToList.test_date_naive) ... ok
    test_dont_update_sender_name (hyperkitty.tests.lib.test_incoming.TestAddToList.test_dont_update_sender_name) ... ok
    test_duplicate (hyperkitty.tests.lib.test_incoming.TestAddToList.test_duplicate) ... ok
    test_duplicate_nonascii (hyperkitty.tests.lib.test_incoming.TestAddToList.test_duplicate_nonascii) ... ok
    test_existing_thread (hyperkitty.tests.lib.test_incoming.TestAddToList.test_existing_thread) ... ok
    test_get_sender_name (hyperkitty.tests.lib.test_incoming.TestAddToList.test_get_sender_name) ... ok
    test_get_sender_name_if_empty (hyperkitty.tests.lib.test_incoming.TestAddToList.test_get_sender_name_if_empty) ... ok
    test_long_message_id (hyperkitty.tests.lib.test_incoming.TestAddToList.test_long_message_id) ... ok
    test_long_message_id_reply (hyperkitty.tests.lib.test_incoming.TestAddToList.test_long_message_id_reply) ... ok
    test_long_subject (hyperkitty.tests.lib.test_incoming.TestAddToList.test_long_subject) ... ok
    test_no_date (hyperkitty.tests.lib.test_incoming.TestAddToList.test_no_date) ... ok
    test_no_message_id (hyperkitty.tests.lib.test_incoming.TestAddToList.test_no_message_id) ... ok
    test_no_sender_address (hyperkitty.tests.lib.test_incoming.TestAddToList.test_no_sender_address) ... ok
    test_no_sender_name_or_address (hyperkitty.tests.lib.test_incoming.TestAddToList.test_no_sender_name_or_address) ... ok
    test_non_ascii_email_address (hyperkitty.tests.lib.test_incoming.TestAddToList.test_non_ascii_email_address)
    Non-ascii email addresses should raise a ValueError exception ... ok test_non_ascii_text_attachment_declared_as_ascii (hyperkitty.tests.lib.test_incoming.TestAddToList.test_non_ascii_text_attachment_declared_as_ascii) ... ok
    test_orphans (hyperkitty.tests.lib.test_incoming.TestAddToList.test_orphans) ... ok
    test_rebuild_recent_threads_cache (hyperkitty.tests.lib.test_incoming.TestAddToList.test_rebuild_recent_threads_cache) ... ok
    test_string_no_cset_attachment (hyperkitty.tests.lib.test_incoming.TestAddToList.test_string_no_cset_attachment)
    Some attachments have content as str with no specified encoding. ... ok test_thread_neighbors (hyperkitty.tests.lib.test_incoming.TestAddToList.test_thread_neighbors) ... ok
    test_top_participants (hyperkitty.tests.lib.test_incoming.TestAddToList.test_top_participants) ... ok
    test_subscribe_address_banned (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_address_banned)
    Test that address trying to subscribe is banned. ... ok test_subscribe_already_subscribed (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_already_subscribed) ... ok
    test_subscribe_already_subscribed_moderated (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_already_subscribed_moderated) ... ok
    test_subscribe_different_address (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_different_address) ... ok
    test_subscribe_moderate (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_moderate) ... ok
    test_subscribe_moderate_then_open (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_moderate_then_open) ... ok
    test_subscribe_moderate_undetected (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_moderate_undetected) ... ok
    test_subscribe_not_subscribed (hyperkitty.tests.lib.test_mailman.MailmanSubscribeTestCase.test_subscribe_not_subscribed) ... ok
    test_call_set_mailman_id (hyperkitty.tests.lib.test_mailman.MailmanSyncTestCase.test_call_set_mailman_id) ... ok
    test_call_update_from_mailman (hyperkitty.tests.lib.test_mailman.MailmanSyncTestCase.test_call_update_from_mailman) ... ok
    test_get_new_lists_from_mailman (hyperkitty.tests.lib.test_mailman.MailmanSyncTestCase.test_get_new_lists_from_mailman) ... ok
    test_import_list_from_mailman (hyperkitty.tests.lib.test_mailman.MailmanSyncTestCase.test_import_list_from_mailman) ... ok
    test_import_list_from_mailman_existing (hyperkitty.tests.lib.test_mailman.MailmanSyncTestCase.test_import_list_from_mailman_existing) ... ok
    test_basic_reply (hyperkitty.tests.lib.test_posting.PostingTestCase.test_basic_reply) ... ok
    test_get_sender_is_string (hyperkitty.tests.lib.test_posting.PostingTestCase.test_get_sender_is_string) ... ok
    test_posting_when_address_banned (hyperkitty.tests.lib.test_posting.PostingTestCase.test_posting_when_address_banned) ... ok
    test_reply_different_sender (hyperkitty.tests.lib.test_posting.PostingTestCase.test_reply_different_sender) ... ok
    test_sender_not_subscribed (hyperkitty.tests.lib.test_posting.PostingTestCase.test_sender_not_subscribed) ... ok
    test_sender_subscribed (hyperkitty.tests.lib.test_posting.PostingTestCase.test_sender_subscribed) ... ok
    test_sender_with_display_name (hyperkitty.tests.lib.test_posting.PostingTestCase.test_sender_with_display_name) ... ok
    test_smtp_error_raises_postingfailed (hyperkitty.tests.lib.test_posting.PostingTestCase.test_smtp_error_raises_postingfailed) ... ok
    test_unwrap_subject (hyperkitty.tests.lib.test_posting.PostingTestCase.test_unwrap_subject) ... ok
    test_unwrap_subject_2 (hyperkitty.tests.lib.test_posting.PostingTestCase.test_unwrap_subject_2) ... ok
    test_bad_header (hyperkitty.tests.lib.test_utils.TestUtils.test_bad_header) utils.header_to_unicode must handle badly encoded non-ascii headers ... ok test_datestring_no_timezone (hyperkitty.tests.lib.test_utils.TestUtils.test_datestring_no_timezone) ... ok
    test_datestring_wrong_offset (hyperkitty.tests.lib.test_utils.TestUtils.test_datestring_wrong_offset) ... ok
    test_empty_reference (hyperkitty.tests.lib.test_utils.TestUtils.test_empty_reference) ... ok
    test_from_with_at (hyperkitty.tests.lib.test_utils.TestUtils.test_from_with_at) ... ok
    test_from_with_bracketed_at (hyperkitty.tests.lib.test_utils.TestUtils.test_from_with_bracketed_at) ... ok
    test_get_folded_message_id (hyperkitty.tests.lib.test_utils.TestUtils.test_get_folded_message_id) ... ok
    test_get_message_id (hyperkitty.tests.lib.test_utils.TestUtils.test_get_message_id) ... ok
    test_get_message_id_hash (hyperkitty.tests.lib.test_utils.TestUtils.test_get_message_id_hash) ... ok
    test_in_reply_to (hyperkitty.tests.lib.test_utils.TestUtils.test_in_reply_to) ... ok
    test_in_reply_to_and_reference (hyperkitty.tests.lib.test_utils.TestUtils.test_in_reply_to_and_reference)
    The In-Reply-To header should win over References ... ok test_multiple_reference (hyperkitty.tests.lib.test_utils.TestUtils.test_multiple_reference) ... ok
    test_no_from (hyperkitty.tests.lib.test_utils.TestUtils.test_no_from) ... ok test_non_ascii_headers (hyperkitty.tests.lib.test_utils.TestUtils.test_non_ascii_headers)
    utils.header_to_unicode must handle non-ascii headers ... ok
    test_non_ascii_ref (hyperkitty.tests.lib.test_utils.TestUtils.test_non_ascii_ref) ... ok
    test_normal_from (hyperkitty.tests.lib.test_utils.TestUtils.test_normal_from) ... ok
    test_odd_from (hyperkitty.tests.lib.test_utils.TestUtils.test_odd_from) ... ok test_ref_parsing (hyperkitty.tests.lib.test_utils.TestUtils.test_ref_parsing) ... ok
    test_reference_no_brackets (hyperkitty.tests.lib.test_utils.TestUtils.test_reference_no_brackets) ... ok
    test_run_with_lock_alternate_file (hyperkitty.tests.lib.test_utils.TestUtils.test_run_with_lock_alternate_file) ... ok
    test_run_with_lock_bad_file (hyperkitty.tests.lib.test_utils.TestUtils.test_run_with_lock_bad_file) ... ok
    test_run_with_lock_defaults (hyperkitty.tests.lib.test_utils.TestUtils.test_run_with_lock_defaults) ... ok
    test_run_with_lock_extended (hyperkitty.tests.lib.test_utils.TestUtils.test_run_with_lock_extended) ... ok
    test_run_with_lock_extended_setting (hyperkitty.tests.lib.test_utils.TestUtils.test_run_with_lock_extended_setting) ... ok
    test_run_with_lock_wrong_time (hyperkitty.tests.lib.test_utils.TestUtils.test_run_with_lock_wrong_time) ... ok
    test_single_reference (hyperkitty.tests.lib.test_utils.TestUtils.test_single_reference) ... ok
    test_unknown_encoding (hyperkitty.tests.lib.test_utils.TestUtils.test_unknown_encoding)
    Unknown encodings should just replace unknown characters ... ok test_very_large_timezone (hyperkitty.tests.lib.test_utils.TestUtils.test_very_large_timezone)
    Timezone displacements must not be greater than 14 hours ... ok test_wrong_datestring (hyperkitty.tests.lib.test_utils.TestUtils.test_wrong_datestring) ... ok
    test_wrong_reply_to_format (hyperkitty.tests.lib.test_utils.TestUtils.test_wrong_reply_to_format) ... ok
    test_day (hyperkitty.tests.lib.test_view_helpers.GetDisplayDatesTestCase.test_day) ... ok
    test_month (hyperkitty.tests.lib.test_view_helpers.GetDisplayDatesTestCase.test_month) ... ok
    test_month_december (hyperkitty.tests.lib.test_view_helpers.GetDisplayDatesTestCase.test_month_december) ... ok
    test_middle_tree (hyperkitty.tests.models.test_email.EmailDeleteTestCase.test_middle_tree) ... ok
    test_attach_to_child (hyperkitty.tests.models.test_email.EmailSetParentTestCase.test_attach_to_child) ... ok
    test_attach_to_grandchild (hyperkitty.tests.models.test_email.EmailSetParentTestCase.test_attach_to_grandchild) ... ok
    test_attach_to_itself (hyperkitty.tests.models.test_email.EmailSetParentTestCase.test_attach_to_itself) ... ok
    test_simple (hyperkitty.tests.models.test_email.EmailSetParentTestCase.test_simple) ... ok
    test_subthread (hyperkitty.tests.models.test_email.EmailSetParentTestCase.test_subthread) ... ok
    test_switch (hyperkitty.tests.models.test_email.EmailSetParentTestCase.test_switch) ... ok
    test_as_message (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message) ... ok
    test_as_message_attachments (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_attachments) ... ok
    test_as_message_attachments_in_db_with_folder (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_attachments_in_db_with_folder) ... ok
    test_as_message_attachments_saved_to_folder (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_attachments_saved_to_folder) ... ok
    test_as_message_bogus_message_id (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_bogus_message_id) ... ok
    test_as_message_folded_subject (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_folded_subject) ... /usr/lib/python3/dist-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField Email.date received a naive
    datetime (2012-11-02 12:07:54) while time zone support is active.
    warnings.warn( /usr/lib/python3/dist-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField Email.archived_date received a naive datetime (2012-11-02 12:07:54) while time zone support is active.
    warnings.warn( /usr/lib/python3/dist-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField Thread.date_active received a naive datetime (2012-11-02 12:07:54) while time zone support is active.
    warnings.warn(
    ok
    test_as_message_specials_in_name (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_specials_in_name) ... ok
    test_as_message_timezone (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_timezone) ... ok
    test_as_message_unicode (hyperkitty.tests.models.test_email.EmailTestCase.test_as_message_unicode) ... ok
    test_duplicate (hyperkitty.tests.models.test_lastview.LastViewTestCase.test_duplicate) ... ok
    test_date (hyperkitty.tests.models.test_mailinglist.FirstDateTestCase.test_date) ... ok
    test_no_email (hyperkitty.tests.models.test_mailinglist.FirstDateTestCase.test_no_email) ... ok
    test_get_threads_between (hyperkitty.tests.models.test_mailinglist.MailingListTestCase.test_get_threads_between) ... ok
    test_get_threads_between_across_months (hyperkitty.tests.models.test_mailinglist.MailingListTestCase.test_get_threads_between_across_months) ... ok
    test_get_threads_between_across_two_months (hyperkitty.tests.models.test_mailinglist.MailingListTestCase.test_get_threads_between_across_two_months) ... ok
    test_update_from_mailman (hyperkitty.tests.models.test_mailinglist.MailingListTestCase.test_update_from_mailman) ... ok
    test_update_from_mailman_naive (hyperkitty.tests.models.test_mailinglist.MailingListTestCase.test_update_from_mailman_naive) ... ok
    test_update_from_mailman_owners (hyperkitty.tests.models.test_mailinglist.MailingListTestCase.test_update_from_mailman_owners) ... ok
    test_order (hyperkitty.tests.models.test_mailinglist.PopularThreadsTestCase.test_order) ... ok
    test_order (hyperkitty.tests.models.test_mailinglist.RecentThreadsTestCase.test_order) ... ok
    test_order (hyperkitty.tests.models.test_mailinglist.TopThreadsTestCase.test_order) ... ok
    test_votes_in_list (hyperkitty.tests.models.test_profile.ProfileTestCase.test_votes_in_list) ... ok
    test_set_mailman_id_invalid_address (hyperkitty.tests.models.test_sender.SenderTestCase.test_set_mailman_id_invalid_address) ... ok
    test_long_subject (hyperkitty.tests.models.test_thread.ThreadTestCase.test_long_subject) ... ok
    test_starting_message_1 (hyperkitty.tests.models.test_thread.ThreadTestCase.test_starting_message_1) ... ok
    test_starting_message_2 (hyperkitty.tests.models.test_thread.ThreadTestCase.test_starting_message_2) ... ok
    test_starting_message_3 (hyperkitty.tests.models.test_thread.ThreadTestCase.test_starting_message_3) ... ok
    test_subject (hyperkitty.tests.models.test_thread.ThreadTestCase.test_subject) ... ok
    test_thread_no_email (hyperkitty.tests.models.test_thread.ThreadTestCase.test_thread_no_email) ... ok
    test_likealot (hyperkitty.tests.models.test_vote.VoteTestCase.test_likealot) ... ok
    test_msg2 (hyperkitty.tests.models.test_vote.VoteTestCase.test_msg2) ... ok test_msg_1 (hyperkitty.tests.models.test_vote.VoteTestCase.test_msg_1) ... ok test_revote (hyperkitty.tests.models.test_vote.VoteTestCase.test_revote) ... ok test_revote_identical (hyperkitty.tests.models.test_vote.VoteTestCase.test_revote_identical) ... ok
    test_same_msgid_different_lists (hyperkitty.tests.models.test_vote.VoteTestCase.test_same_msgid_different_lists) ... ok
    test_vote_invalid (hyperkitty.tests.models.test_vote.VoteTestCase.test_vote_invalid) ... ok
    test_control_chars (hyperkitty.tests.test_feeds.TestMailingListFeed.test_control_chars) ... /<<PKGBUILDDIR>>/hyperkitty/tests/test_feeds.py:68: XMLParsedAsHTMLWarning: It looks like you're using an HTML parser to parse an XML document.

    Assuming this really is an XML document, what you're doing might work, but you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the Python package 'lxml' installed, and pass the keyword
    argument `features="xml"` into the BeautifulSoup constructor.

    If you want or need to use an HTML parser on this document, you can make this warning go away by filtering it. To do that, run this code before calling the BeautifulSoup constructor:

    from bs4 import XMLParsedAsHTMLWarning
    import warnings

    warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning)

    soup = BeautifulSoup(response.content, "lxml")
    ok
    test_feed (hyperkitty.tests.test_feeds.TestMailingListFeed.test_feed) ... /<<PKGBUILDDIR>>/hyperkitty/tests/test_feeds.py:53: XMLParsedAsHTMLWarning: It looks like you're using an HTML parser to parse an XML document.

    Assuming this really is an XML document, what you're doing might work, but you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the Python package 'lxml' installed, and pass the keyword
    argument `features="xml"` into the BeautifulSoup constructor.

    If you want or need to use an HTML parser on this document, you can make this warning go away by filtering it. To do that, run this code before calling the BeautifulSoup constructor:

    from bs4 import XMLParsedAsHTMLWarning
    import warnings

    warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning)

    soup = BeautifulSoup(response.content, "lxml")
    ok
    test_private_feed_authentication (hyperkitty.tests.test_feeds.TestMailingListFeed.test_private_feed_authentication)
    Test the authentication checks for a private mailinglist's feed ... ok test_update_index (hyperkitty.tests.test_search_index.SearchIndexTestCase.test_update_index) ... ok
    test_update_index_one_list (hyperkitty.tests.test_search_index.SearchIndexTestCase.test_update_index_one_list) ... ok
    test_update_index_with_remove (hyperkitty.tests.test_search_index.SearchIndexTestCase.test_update_index_with_remove) ... ok
    test_user_subscribed (hyperkitty.tests.test_signals.SignalsTestCase.test_user_subscribed) ... ok
    test_check_orphans (hyperkitty.tests.test_tasks.TaskTestCase.test_check_orphans) ... ok
    test_check_orphans_no_email (hyperkitty.tests.test_tasks.TaskTestCase.test_check_orphans_no_email) ... ok
    test_compute_thread_positions_no_thread (hyperkitty.tests.test_tasks.TaskTestCase.test_compute_thread_positions_no_thread) ... ok
    test_rebuild_cache_popular_threads_no_mailinglist (hyperkitty.tests.test_tasks.TaskTestCase.test_rebuild_cache_popular_threads_no_mailinglist) ... ok
    test_rebuild_mailinglist_cache_for_month_no_mailinglist (hyperkitty.tests.test_tasks.TaskTestCase.test_rebuild_mailinglist_cache_for_month_no_mailinglist) ... ok
    test_rebuild_mailinglist_cache_recent_no_mailinglist (hyperkitty.tests.test_tasks.TaskTestCase.test_rebuild_mailinglist_cache_recent_no_mailinglist) ... ok
    test_rebuild_thread_cache_new_email_no_thread (hyperkitty.tests.test_tasks.TaskTestCase.test_rebuild_thread_cache_new_email_no_thread) ... ok
    test_rebuild_thread_cache_votes_no_thread (hyperkitty.tests.test_tasks.TaskTestCase.test_rebuild_thread_cache_votes_no_thread) ... ok
    test_update_from_mailman_no_mailinglist (hyperkitty.tests.test_tasks.TaskTestCase.test_update_from_mailman_no_mailinglist) ... ok
    test_nolongterms_doublequotes (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_doublequotes) ... ok
    test_nolongterms_encoding (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_encoding) ... ok
    test_nolongterms_short (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_short) ... ok
    test_nolongterms_singlequotes (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_singlequotes) ... ok
    test_nolongterms_too_long (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_too_long) ... ok
    test_nolongterms_xmlescape (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_xmlescape) ... ok
    test_nolongterms_xmlescape_amperstand (hyperkitty.tests.test_templatetags.HaystackTestCase.test_nolongterms_xmlescape_amperstand) ... ok
    test_export_allowed (hyperkitty.tests.test_templatetags.SettingsValuesTest.test_export_allowed) ... ok
    test_settings_value_equals (hyperkitty.tests.test_templatetags.SettingsValuesTest.test_settings_value_equals) ... ok
    test_quote_1 (hyperkitty.tests.test_templatetags.SnipQuotedTestCase.test_quote_1) ... ok
    test_quote_2 (hyperkitty.tests.test_templatetags.SnipQuotedTestCase.test_quote_2) ... ok
    test_autolink_small_url (hyperkitty.tests.test_templatetags.TestDecorate.test_autolink_small_url) ... ok
    test_backslash (hyperkitty.tests.test_templatetags.TestDecorate.test_backslash) ... ok
    test_backslash_code (hyperkitty.tests.test_templatetags.TestDecorate.test_backslash_code) ... ok
    test_backslash_code_block (hyperkitty.tests.test_templatetags.TestDecorate.test_backslash_code_block) ... ok
    test_header (hyperkitty.tests.test_templatetags.TestDecorate.test_header) ... FAIL
    test_image_html (hyperkitty.tests.test_templatetags.TestDecorate.test_image_html) ... ok
    test_image_markdown (hyperkitty.tests.test_templatetags.TestDecorate.test_image_markdown) ... ok
    test_outlook_style_reply_blockquote (hyperkitty.tests.test_templatetags.TestDecorate.test_outlook_style_reply_blockquote) ... ok
    test_parse_autolink (hyperkitty.tests.test_templatetags.TestDecorate.test_parse_autolink) ... ok
    test_parse_heading_normal (hyperkitty.tests.test_templatetags.TestDecorate.test_parse_heading_normal) ... ok
    test_parse_quote (hyperkitty.tests.test_templatetags.TestDecorate.test_parse_quote) ... ok
    test_backslash (hyperkitty.tests.test_templatetags.TestDecoratePlain.test_backslash) ... ok
    test_backslash_code (hyperkitty.tests.test_templatetags.TestDecoratePlain.test_backslash_code) ... ok
    test_plaintext_patch (hyperkitty.tests.test_templatetags.TestDecoratePlain.test_plaintext_patch) ... ok
    test_plaintext_patch_gl_494 (hyperkitty.tests.test_templatetags.TestDecoratePlain.test_plaintext_patch_gl_494) ... ok
    test_disabled_gravatar (hyperkitty.tests.test_templatetags.TestGravatar.test_disabled_gravatar) ... ok
    test_gravatar (hyperkitty.tests.test_templatetags.TestGravatar.test_gravatar) Test that we call gravatar library. ... ok
    test_favorites (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_favorites) ... ok
    test_login_page (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_login_page) ... ok
    test_posts (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_posts) ... ok
    test_profile (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_profile) ... ok
    test_public_profile (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_public_profile) ... ok
    test_public_profile_anonymous (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_public_profile_anonymous) ... ok
    test_public_profile_as_oneself (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_public_profile_as_oneself) ... ok
    test_public_profile_as_superuser (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_public_profile_as_superuser) ... ok
    test_redirect_to_login (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_redirect_to_login) ... ok
    test_registration_redirect (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_registration_redirect) ... ok
    test_votes (hyperkitty.tests.views.test_accounts.AccountViewsTestCase.test_votes) ... ok
    test_overview_recent_threads (hyperkitty.tests.views.test_accounts.LastViewsTestCase.test_overview_recent_threads) ... ok
    test_overview_top_threads (hyperkitty.tests.views.test_accounts.LastViewsTestCase.test_overview_top_threads) ... ok
    test_profile (hyperkitty.tests.views.test_accounts.LastViewsTestCase.test_profile) ... ok
    test_thread (hyperkitty.tests.views.test_accounts.LastViewsTestCase.test_thread) ... ok
    test_thread_list (hyperkitty.tests.views.test_accounts.LastViewsTestCase.test_thread_list) ... ok
    test_get_subscriptions (hyperkitty.tests.views.test_accounts.SubscriptionsTestCase.test_get_subscriptions) ... ok
    test_list_not_archived (hyperkitty.tests.views.test_accounts.SubscriptionsTestCase.test_list_not_archived) ... ok
    test_basic (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_basic) ... ok
    test_basic_with_export_disabled (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_basic_with_export_disabled) ... ok
    test_between_dates (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_between_dates) ... ok
    test_bogus_dates (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_bogus_dates) ... ok
    test_mangle_from_in_serialized_message (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_mangle_from_in_serialized_message) ... ok
    test_message (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_message) ... ok
    test_thread (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_thread) ... ok
    test_with_sender_name (hyperkitty.tests.views.test_archives.ExportMboxTestCase.test_with_sender_name) ... ok
    test_email_escaped_sender (hyperkitty.tests.views.test_archives.ListArchivesTestCase.test_email_escaped_sender) ... ok
    test_latest_archives (hyperkitty.tests.views.test_archives.ListArchivesTestCase.test_latest_archives) ... ok

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos Henrique Lima Melara@21:1/5 to [email protected] on Mon Apr 14 04:50:01 2025
    Hi maintainers and Fiona,

    On Sun, 13 Apr 2025 15:08:17 +0200 Fiona Ebner <[email protected]> wrote:
    I've opened a merge request on Salsa that should address this: https://salsa.debian.org/mailman-team/hyperkitty/-/merge_requests/4

    Thanks for the patch! I've prepared a team upload (I think it's better
    than a nmu for team-maintained packages) and I'll upload to DELAYED/2
    queue. If you prefer I postpone or cancel the upload, please let me
    know. There is a debdiff attached and I can push to the repo if given permission (have already asked in salsa) - my changes are in my fork [1].

    Cheers,
    Charles

    [1] https://salsa.debian.org/charles/hyperkitty

    diff -Nru hyperkitty-1.3.12/debian/changelog hyperkitty-1.3.12/debian/changelog --- hyperkitty-1.3.12/debian/changelog 2025-03-10 10:18:33.000000000 -0300
    +++ hyperkitty-1.3.12/debian/changelog 2025-04-13 22:54:43.000000000 -0300
    @@ -1,3 +1,16 @@
    +hyperkitty (1.3.12-3) unstable; urgency=medium
    +
    + * Team upload.
    +
    + [ Fiona Ebner ]
    + * Add upstream patch to fix tests after python3-mistune changes.
    + (Closes: #1102379)
    +
    + [ Carlos Henrique Lima Melara ]
    + * d/p/0005-Changes-to-support-mistune-3.1.patch: improve patch metadata.
    +
    + -- Carlos Henrique Lima Melara <[email protected]> Sun, 13 Apr 2025 22:54:43 -0300
    +
    hyperkitty (1.3.12-2) unstable; urgency=medium

    * Add upstream patch to fix tests after Python 3.13 argparse changes
    diff -Nru hyperkitty-1.3.12/debian/patches/0005-Changes-to-support-mistune-3.1.patch hyperkitty-1.3.12/debian/patches/0005-Changes-to-support-mistune-3.1.patch
    --- hyperkitty-1.3.12/debian/patches/0005-Changes-to-support-mistune-3.1.patch 1969-12-31 21:00:00.000000000 -0300
    +++ hyperkitty-1.3.12/debian/patches/0005-Changes
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 16 06:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 16 Apr 2025 04:19:30 +0000
    with message-id <[email protected]>
    and subject line Bug#1102379: fixed in hyperkitty 1.3.12-3
    has caused the Debian Bug report #1102379,
    regarding hyperkitty: FTBFS: FAIL: test_header (hyperkitty.tests.test_templatetags.TestDecorate.test_header)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1102379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102379
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 8 Apr 2025 12:51:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-112.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    META_ATTENDEES_DBSPAM1,PDS_OTHER_BAD_TLD,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 2224; hammy, 150; neutral, 401; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <[email protected]>
    Received: from muffat.debian.org ([2607:f8f0:614: