Source: sabctools
Version: 8.2.3-2
Severity: normal
Tags: ftbfs upstream patch
User: [email protected]
Usertags: python3.14
Forwarded: 
https://github.com/sabnzbd/sabctools/commit/b4099d8f574539d66822e1fc8a2e3468967cbe3b

Python 3.14 is upon us, and we would like to enable it as a supported version 
in Debian.

This package fails to build with Python 3.14 as an available version. Graham 
Inggs did a test rebuild in Ubuntu and found this build failure. These can be 
reproduced in Debian by installing python3-all from experimental (but you may 
need to rebuild some dependencies by hand, first).

This seems to have been fixed in upstream git:
https://github.com/sabnzbd/sabctools/commit/b4099d8f574539d66822e1fc8a2e3468967cbe3b
we should be able to cherry-pick that.

Build log:
https://launchpadlibrarian.net/820397630/buildlog_ubuntu-questing-amd64.sabctools_8.2.3-2build3_BUILDING.txt.gz

Error:
=================================== FAILURES ===================================
_______________________________ test_ref_counts ________________________________

    def test_ref_counts():
        """Note that sys.getrefcount itself adds another reference!"""
        # Test regular case
        data_plain = read_plain_yenc_file("test_regular.yenc")
        data_out, filename, filesize, begin, end, crc_correct = 
sabctools_yenc_wrapper(data_plain)
    
>       assert sys.getrefcount(data_plain) == 2
E       AssertionError: assert 1 == 2
E        +  where 1 = <built-in function getrefcount>(bytearray(b'200 Welcome 
to Usenet (fx10.fr7)\r\n381 PASS required\r\n281 Welcome to Frugal Usenet 
(Posting 
Allowed)\r\...\x8d\x16\x88\xd9J\xbbS\x90\x8eY7\x97k^k\x07|ZS\xbd\x99L\xc5\x11\r\n=yend
 size=384000 part=41 pcrc32=084e170f\r\n.\r\n'))
E        +    where <built-in function getrefcount> = sys.getrefcount

tests/test_decoder.py:83: AssertionError
=========================== short test summary info ============================
FAILED tests/test_decoder.py::test_ref_counts - AssertionError: assert 1 == 2
========================= 1 failed, 60 passed in 0.45s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sabctools/build; python3.14 -m pytest 
tests

Reply via email to