Source: pylint
Version: 3.3.1-2
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.13

Hi Maintainer

The autopkgtests of this package fail with Python 3.13 [1].  I've
copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/p/pylint/testing/amd64/


207s =================================== FAILURES
===================================
207s ___________________ test_functional[typing_broken_callable]
____________________
207s
207s self = <pylint.testutils.lint_module_test.LintModuleTest object
at 0x7f724bd2a890>
207s
207s def runTest(self) -> None:
207s > self._runTest()
207s E AssertionError: Wrong message(s) raised for "typing_broken_callable.py":
207s E
207s E Expected in testdata:
207s E 12: broken-collections-callable
207s E 13: broken-collections-callable
207s E 25: broken-collections-callable
207s E
207s E Unexpected in testdata:
207s E 8: import-error
207s E 9: import-error
207s E
207s E Actual pylint output for this file:
207s E OutputLine(symbol='import-error', lineno=8, column=0,
end_lineno=8, end_column=22, object='', msg="Unable to import
'collections.abc'", confidence='UNDEFINED')
207s E OutputLine(symbol='import-error', lineno=9, column=0,
end_lineno=9, end_column=36, object='', msg="Unable to import
'collections.abc'", confidence='UNDEFINED')
207s E OutputLine(symbol='broken-collections-callable', lineno=31,
column=21, end_lineno=31, end_column=45, object='func3',
msg="'collections.abc.Callable' inside Optional and Union is broken in
3.9.0 / 3.9.1 (use 'typing.Callable' instead)",
confidence='INFERENCE')
207s
207s /usr/lib/python3/dist-packages/pylint/testutils/lint_module_test.py:142:
AssertionError
207s ____________
test_functional[typing_broken_callable_future_import] _____________
207s
207s self = <pylint.testutils.lint_module_test.LintModuleTest object
at 0x7f724bd2a660>
207s
207s def runTest(self) -> None:
207s > self._runTest()
207s E AssertionError: Wrong message(s) raised for
"typing_broken_callable_future_import.py":
207s E
207s E Expected in testdata:
207s E 14: broken-collections-callable
207s E 15: broken-collections-callable
207s E
207s E Unexpected in testdata:
207s E 10: import-error
207s E 11: import-error
207s E
207s E Actual pylint output for this file:
207s E OutputLine(symbol='import-error', lineno=10, column=0,
end_lineno=10, end_column=22, object='', msg="Unable to import
'collections.abc'", confidence='UNDEFINED')
207s E OutputLine(symbol='import-error', lineno=11, column=0,
end_lineno=11, end_column=36, object='', msg="Unable to import
'collections.abc'", confidence='UNDEFINED')
207s
207s /usr/lib/python3/dist-packages/pylint/testutils/lint_module_test.py:142:
AssertionError

Reply via email to