#1149341 python-aioswitcher: FTBFS against python 3.15rc2 (exception message wording changed)

#1149341#5
Date:
2026-09-29 14:18:33 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that python-aioswitcher fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856685/

 From the log, the error seems to be:

   =================================== FAILURES
===================================
   ________ 
test_sign_packet_with_crc_key_for_a_random_string_throws_error ________

       def
test_sign_packet_with_crc_key_for_a_random_string_throws_error():
           """Test the sign_packet_with_crc_key tool with a random string
unqualified as a packet."""
           assert_that(sign_packet_with_crc_key).raises(
               ValueError
   >       ).when_called_with("just a regular
string").is_equal_to("Odd-length string")

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   E       AssertionError: Expected <Non-hexadecimal digit found> to be
equal to <Odd-length string>, but was not.

   tests/test_api_packet_crc_signing.py:35: AssertionError

Setting the severity to important for now. Once Python 3.15 is released
and later added to python3-defaults, this bug will become release
critical.