Source: graypy
Version: 2.1.0-1
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/severb/graypy/issues/145

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

tests/integration/test_debugging_fields.py sssssss                       [  9%]
tests/integration/test_extra_fields.py sssssss                           [ 12%]
tests/integration/test_status_issue.py sssssssssssssssssssssssssssssssss [ 25%]
ssssss                                                                   [ 28%]
tests/unit/test_ExcludeFilter.py .......                                 [ 30%]
tests/unit/test_GELFRabbitHandler.py ..x.                                [ 32%]
tests/unit/test_chunking.py ...........F.                                [ 37%]
tests/unit/test_handler.py ...........................................ss [ 56%]
sssssssssss............................................................. [ 85%]
...........................ss.......                                     [100%]

=================================== FAILURES ===================================
______________________ test_chunk_overflow_truncate_fail _______________________

    def test_chunk_overflow_truncate_fail():
        message = BaseGELFHandler().makePickle(
            logging.LogRecord(
                "test_chunk_overflow_truncate_fail",
                logging.INFO,
                None,
                None,
                "1" * 1000,
                None,
                None,
            )
        )
>       with pytest.warns(GELFTruncationFailureWarning):
E       Failed: DID NOT WARN. No warnings of type (<class 
'graypy.handler.GELFTruncationFailureWarning'>,) were emitted.
E        Emitted warnings: [ GELFChunkOverflowWarning('truncating GELF chunk 
overflowing message: b\'x\\x9c\\xedT1n\\xc30\\x0c\\xfc\\x0b\\xe7 
\\xb0\\x1b\\xc3n\\xfd\\x87\\x16\\x1d\\xba\\x0b\\x8c,\\xd5\\x84i)\\x90\\xe8\\x14E\\x90\\xbf\\x87r\\x83
 
o(|\\x13y<\\x1d\\xa1\\x81w\\x81\\xb3K\\x99b\\x80\\x1e\\xea}\\x05;\\x18c\\x16m\\xf2q!\\x1e\\xb4\\xcfcLbf\\x973~\\xbb\\xa2\\xda\\xb0a\\xc3\\xbf\\x87\\x9e\\xbe\\x90\\x9e\\xbd\\xe0|\\x82\\xbe\\xee^\\xdaCU5m\\xb7o\\x9a\\xb7C\\xd7\\xee\\x80\\xdd\\xd91\\xf4Zy\\xb4\\xc4$\\xbf\\x9a\\x0e\\xa2\\x0f\\x8c\\x1d\\x970\\x99\\xa8\\xc9\\xe29\\xfe\\x18IK\\xb0(\\xcex$V[O\\xacA\\x12\\x16f5\\xa1\\xf0\\xa8\\x8dW\\x9d\\xacYt\\\'N4\\xe8\\xea\\xfaUK\\x19\\x93\\xc3\\xc1\\x04\\x9cK\\x08\\xbd#\\x85\\xaf\\x95\\x81"K\\xd1j>=\\x0f?\\xff\\xa82\\xd5\\x1f\\xd8\\xc9P\\xf0\\xf1\\xe1+\\x98\\xa7\\x8fU\\\\\\x88\\xeb\\r\\xc6\\x1f\\x1f\\x9a\'')].

tests/unit/test_chunking.py:153: Failed
=============================== warnings summary ===============================
tests/helper.py:66
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/tests/helper.py:66: 
PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture

tests/helper.py:74
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/tests/helper.py:74: 
PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture

tests/integration/test_extra_fields.py:50
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/tests/integration/test_extra_fields.py:50:
 PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture

tests/unit/test_handler.py:36
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/tests/unit/test_handler.py:36:
 PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
  Use @pytest.fixture instead; they are the same.
    @pytest.yield_fixture

.pybuild/cpython3_3.12_graypy/build/tests/unit/test_chunking.py::test_gelf_chunkers_overflow[GELFWarningChunker]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/graypy/handler.py:467: 
GELFChunkOverflowWarning: chunk overflowing GELF message: 
b'x\x9c\xed\x94M\x8e\xc20\x0c\x85\xef\xe2u\x85\xda\xd2)\xd0;\x80X\xb0\x8fB\x9aP\xabn\x82\x1a\x97\xd1h\xc4\xddq\nB\x9c\x01\xf5\xad\xec\xe7\x9fd\xe3\xef\x1fnv\x8c\x18<4P\xacr\xc8\xa0\x0b\x91%\x89\xe7\t\xa9\x95<vad5\xd8\x18\xf5\xc5\xa6\xaeE\x8b\x16}\xbd\xe4\xf4\x19\xe5\xecY\x0fWh\x8aMY\xaf\xf3\xbc\xaa7\xab\xaa\xfa)\xcb\xdd:\x03\xb27K\xd0\xd4\x198m\x90\x90\xff\x04\x0f,\x13\xeab\xc9)\xd3M\xbe\x17\xb8\xa8
 
\x88q\x14~e\xa3C\x12\x86\xf8\x89H\xc6\xd1\xbfc\xe5&ox\xc6\xd0\xcb\xb8b+\xaf\x16[\t\xb9\x1b\xadn\x95\xd7C\xe2\xcf^\xa3?\xcd\x0e\xa4\xb61\x18A\xd3g\xf1\xf8\xb4RU>oz\x85\xde\x85\xf7^\xd6\xb1?\xcc\xcd\xc9\xb8?\x00\xc9\x9e\x1dM'
    warnings.warn(

.pybuild/cpython3_3.12_graypy/build/tests/unit/test_chunking.py::test_gelf_chunkers_overflow[GELFTruncatingChunker]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/graypy/handler.py:570: 
GELFChunkOverflowWarning: truncating GELF chunk overflowing message: 
b'x\x9c\xed\x94\xcf\x0e\x820\x0c\xc6\xdf\xa5gb@\t\x18\xdeA\xe3\xc1\xfb2\xc7&\re3\xach\x8c\xf1\xdd\xed\xd0\x18\x9f\xc1\xf0\x9d\xda\xaf\x7f\xb6K\x7f\x0f\xb8\xda1b\xf0\xd0@\xb1\xca!\x83.D\x96$\x9e&\xa4V\xf2\xd8\x85\x91\xd5`c\xd4g\x9b\xba\x16-Z\xf4\xf7\x92\xd3g\x94\xb3g=\\\xa0)\xeau\xb5\xc9\xf3\xb2\xaaWeY\x15u\x99\x01\xd9\xab%h\xaa\x0c\x9c6H\xc8w\xa1\x03\xcb\x80:[r\xcat\x93\xef\x85-*\x08a\x1c\x85\x9b,tH\x82\x10?\x11\xc98\xfao\xac\xdc\xe4\r\xcf\x14\xfa\x18\x17l\xe5\xd1b+!w\xa3\xd5\xad\xf2zH\xf8\xd9i\xf4\xc7\xd9\x81\xd46\x06#d\xfa-\x1e\xdeV\xaa\xca\xdfM\xaf\xd0\xbb\xf0\xdd\xcb:\xf6\xfb\xb99\x19\xcf\x17\xca:\x1d\x1a'
    warnings.warn(

.pybuild/cpython3_3.12_graypy/build/tests/unit/test_chunking.py::test_chunk_overflow_truncate_fail
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/graypy/handler.py:570: 
GELFChunkOverflowWarning: truncating GELF chunk overflowing message: 
b'x\x9c\xedT1n\xc30\x0c\xfc\x0b\xe7 
\xb0\x1b\xc3n\xfd\x87\x16\x1d\xba\x0b\x8c,\xd5\x84i)\x90\xe8\x14E\x90\xbf\x87r\x83
 
o(|\x13y<\x1d\xa1\x81w\x81\xb3K\x99b\x80\x1e\xea}\x05;\x18c\x16m\xf2q!\x1e\xb4\xcfcLbf\x973~\xbb\xa2\xda\xb0a\xc3\xbf\x87\x9e\xbe\x90\x9e\xbd\xe0|\x82\xbe\xee^\xdaCU5m\xb7o\x9a\xb7C\xd7\xee\x80\xdd\xd91\xf4Zy\xb4\xc4$\xbf\x9a\x0e\xa2\x0f\x8c\x1d\x970\x99\xa8\xc9\xe29\xfe\x18IK\xb0(\xcex$V[O\xacA\x12\x16f5\xa1\xf0\xa8\x8dW\x9d\xacYt\'N4\xe8\xea\xfaUK\x19\x93\xc3\xc1\x04\x9cK\x08\xbd#\x85\xaf\x95\x81"K\xd1j>=\x0f?\xff\xa82\xd5\x1f\xd8\xc9P\xf0\xf1\xe1+\x98\xa7\x8fU\\\x88\xeb\r\xc6\x1f\x1f\x9a'
    warnings.warn(

.pybuild/cpython3_3.12_graypy/build/tests/unit/test_chunking.py::test_chunk_overflow_truncate_fail_large_inherited_field
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build/graypy/handler.py:570: 
GELFChunkOverflowWarning: truncating GELF chunk overflowing message: 
b'x\x9c\xed\xcd\xc1n\x1a1\x14\x05\xd0_A^\xa3\x08\x92\x14\x10\xff\xd0\xaa\x8b\xeeG\x13\xf0\x80\x85\x99AcC\x15U\xfd\xf7\x0e\xa9\x82\xfa\x01]\x1e\xc9\x8b\xe7{\xae\xde\xfb\x15nq,i\xe8\xc36,\x9f\x16a\x1e\x8eC\xa9\xd3\xa7\xbc]S\xdeO\xffr\x1c\xc6\xda\x9cc)\xed!N0\xc6\xb6\x0c}\xfb\x96\xe3\xec3\x9c\x87\x9a\xa6\xb9\xb6\xe7K\xd8.\xd7\xcf\xab\x97\xc5\xe2u\xb5~z\xfd\xf2\xb2\xd9\xac\x9f\xe7!\xc7[\xcca\xbb\x9a\x87\xae\xdd\xa5\x9c\xea\xfb\xb4\xa8\x1eS\x99M\xaf\x9dM+s~\x9f\xe5\xa1?\xcc>\x0b\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ)\xa5\x94RJ\xff\x97\x86yh\xf2p8\xc41lC\x8d\xa56\xbb\xe3\xb5?5\xc3-\x8e]\x1e~6u\xbc\xf6\xbb\xb6\xc6\xa6kS\x9e\xda]\xca1l\xfbk\xce\xf3\x90S\xff\x98\x9bn\xea\xd54\xf4\x8f\xe0\x92\xf6a\xbb\\n\xa6\xb1\x1e\xa7\xdb\xfb\xa6o\xcfS?|mS\xff\xe3#\xb9_\xbf\x8c\xc3.\x96\xf2/~\xff\x1b\xdd\xb5\xd4vwjR\xdf\r\x8f\xbd\xb5-\xa7o\x1f\xe5{\xf0\xfb\x0f\x12\x8a\xfb\x94'
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/unit/test_chunking.py::test_chunk_overflow_truncate_fail - Faile...
======= 1 failed, 160 passed, 84 skipped, 1 xfailed, 8 warnings in 0.45s =======
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_graypy/build; python3.12 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-14T07:54:27Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/722968/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to