Source: cpplint
Version: 2.0.2-2
Severity: serious
Tags: ftbfs
User: [email protected]
Usertags: python3.14

cpplint fails to build in unstable with Python 3.14 as a supported 
Python version.  Here's the relevant part of the build log:

I: pybuild base:317: cd 
/build/reproducible-path/cpplint-2.0.2/.pybuild/cpython3_3.14_cpplint/build; 
python3.14 -m pytest /build/reproducible-path/cpplint-2.0.2/*test.py
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /build/reproducible-path/cpplint-2.0.2
configfile: pyproject.toml
plugins: timeout-2.4.0, typeguard-4.4.4, cov-5.0.0
timeout: 481.0s
timeout method: signal
timeout func_only: False
collected 222 items

../../../cpplint_clitest.py .................                            [  7%]
../../../cpplint_unittest.py ........................................... [ 27%]
........................................................................ [ 59%]
........................................................................ [ 91%]
.................F                                                       [100%]

=================================== FAILURES ===================================
_______________________ TestQuiet.testQuietWithoutErrors _______________________

self = <cpplint_unittest.TestQuiet object at 0x7f7300b6b230>

    def testQuietWithoutErrors(self):
        # This will succeed. We filtered out all the known errors for that file.
        (return_code, output) = self._runCppLint(
            "--quiet", "--filter=" + "-legal/copyright," + "-build/header_guard"
        )
        assert return_code == 0, output
        # No cpplint errors are printed since there were no errors.
        assert "[legal/copyright]" not in output
        assert "[build/header_guard]" not in output
        # --quiet was specified and there were no errors:
        # skip the printing of 'Done processing' and 'Total errors..'
        assert "Done processing" not in output
        assert "Total errors found:" not in output
        # Output with no errors must be completely blank!
>       assert output == ""
E       assert '/build/repro...arget_file:\n' == ''
E
E         + /build/reproducible-path/cpplint-2.0.2/cpplint.py:7553: 
DeprecationWarning: codecs.open() is deprecated. Use open() instead.
E         +   with codecs.open(filename, "r", "utf8", "replace") as target_file:

../../../cpplint_unittest.py:7209: AssertionError

---------- coverage: platform linux, python 3.14.2-final-0 -----------
Name                                                Stmts   Miss  Cover
-----------------------------------------------------------------------
/build/reproducible-path/cpplint-2.0.2/cpplint.py    2375    180    92%
cpplint.py                                           2375    442    81%
-----------------------------------------------------------------------
TOTAL                                                4750    622    87%

=========================== short test summary info ============================
FAILED ../../../cpplint_unittest.py::TestQuiet::testQuietWithoutErrors - assert 
'/build/repro...arget_file:\n' == ''

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to