Your message dated Sun, 15 Nov 2026 22:25:26 +0100
with message-id <[email protected]>
and subject line Version: 0.7.0-3
has caused the Debian Bug report #1149260,
regarding translitcodec: FTBFS against python 3.15rc2
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.)


-- 
1149260: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149260
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:translitcodec
Version: 0.7.0-2
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

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

From the log, there are numerous tests that fail:

======================================================================
ERROR: test_ascii_level_characters_remain (test_codec.CodecTests.test_ascii_level_characters_remain)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 43, in test_ascii_level_characters_remain
    assert codecs.encode("'", 'translit/long') == "'"
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/long

======================================================================
ERROR: test_translit_long (test_codec.CodecTests.test_translit_long)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 19, in test_translit_long assert codecs.encode(self.data, 'translit/long') == 'GBP :-( woof meaaw'
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/long

======================================================================
ERROR: test_translit_long_ascii (test_codec.CodecTests.test_translit_long_ascii)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 28, in test_translit_long_ascii assert self.data.encode('translit/long/ascii') == b'GBP :-( woof meaaw'
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/long/ascii

======================================================================
ERROR: test_translit_one (test_codec.CodecTests.test_translit_one)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 25, in test_translit_one assert codecs.encode(self.data, 'translit/one') == '\u00a3 \u2639 woof meaw'
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/one

======================================================================
ERROR: test_translit_one_ascii (test_codec.CodecTests.test_translit_one_ascii)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 35, in test_translit_one_ascii
    codecs.encode(self.data, 'translit/one/ascii')
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/one/ascii

======================================================================
ERROR: test_translit_short (test_codec.CodecTests.test_translit_short)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 22, in test_translit_short assert codecs.encode(self.data, 'translit/short') == 'GBP :-( woof meaw'
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/short

======================================================================
ERROR: test_translit_short_ascii (test_codec.CodecTests.test_translit_short_ascii)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 31, in test_translit_short_ascii assert self.data.encode('translit/short/ascii') == b'GBP :-( woof meaw'
           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
LookupError: unknown encoding: translit/short/ascii

======================================================================
ERROR: test_zero_width_space (test_codec.CodecTests.test_zero_width_space)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/translitcodec-0.7.0/.pybuild/cpython3_3.15_translitcodec/build/tests/test_codec.py", line 47, in test_zero_width_space
    char = codecs.encode('\u200b', 'translit/long')
LookupError: unknown encoding: translit/long

----------------------------------------------------------------------
Ran 19 tests in 0.003s

FAILED (errors=8)

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

--
Regards,
Marga

--- End Message ---
--- Begin Message --- Fixed by the upstream patch added in 0.7.0-3, the package builds fine with Python 3.15.

Closed by Maximiliano Curia

--
⠀⢀⣴⣾⠿⠿⣿⣶⣄⠀   Nico Della Torre (nicoz)
⢠⣿⠋⠀⣠⢄⠀⠙⣿⣇   Debian Maintainer · Ubuntu
⢾⡇⠀⣾⠀⠀⠀⢀⣿⡟   https://wiki.debian.org/nicoz
⠘⣇⠀⠘⢷⣶⣶⣾⠟⠁   IRC: nicoz @ OFTC, Libera.Chat
⠀⠈⠣⢄⠀⠀⠀⠀⠀⠀   GPG: 0456 E8BC 1DC0 B027 EF8D  66A6 9549 3787 F6F1 9F03

--- End Message ---

Reply via email to