--- Begin Message ---
Package: src:pylint
Version: 4.0.4-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202603/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pylint, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build"
module
I: pybuild base:384: python3.14 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
[... snipped ...]
test_baseline_lots_of_files_j1_empty_checker 60,148.5430 (312.05)
62,164.7050 (201.25) 60,410.2403 (300.62) 462.5421 (61.19)
60,296.7230 (303.33) 144.9475 (37.85) 1;1 16.5535 (0.00)
17 1
test_baseline_lots_of_files_j1 60,241.8330 (312.54)
60,458.8630 (195.73) 60,325.7184 (300.20) 55.6321 (7.36)
60,306.4830 (303.38) 61.0257 (15.93) 5;1 16.5767 (0.00)
17 1
test_baseline_benchmark_j1_all_checks_lots_of_files 63,793.7560 (330.97)
64,066.3560 (207.41) 63,943.0301 (318.20) 75.9108 (10.04)
63,947.2010 (321.70) 98.2700 (25.66) 5;0 15.6389 (0.00)
16 1
test_baseline_lots_of_files_j2 74,396.2130 (385.97)
77,699.7150 (251.54) 76,106.9023 (378.73) 1,315.0699 (173.96)
75,991.6495 (382.29) 2,468.1620 (644.43) 7;0 13.1394 (0.00)
14 1
test_baseline_lots_of_files_j2_empty_checker 75,465.3040 (391.52)
78,366.0360 (253.70) 76,168.6106 (379.04) 790.0700 (104.51)
75,828.9940 (381.47) 887.6110 (231.75) 1;1 13.1288 (0.00)
13 1
test_baseline_benchmark_j1_single_working_checker 500,769.7080 (>1000.0)
500,799.3780 (>1000.0) 500,787.0002 (>1000.0) 12.7177 (1.68)
500,791.8180 (>1000.0) 21.3082 (5.56) 1;0 1.9969 (0.00)
5 1
test_baseline_benchmark_j2_single_working_checker 514,882.9480 (>1000.0)
516,346.0800 (>1000.0) 515,594.3948 (>1000.0) 697.9358 (92.32)
515,595.2990 (>1000.0) 1,358.7463 (354.76) 2;0 1.9395 (0.00)
5 1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from
1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
=========================== short test summary info ============================
FAILED tests/test_functional.py::test_functional[deprecated_decorators] -
AssertionError: Wrong output for "deprecated_decorators.txt":
- Missing lines:
OutputLine(symbol='deprecated-decorator', lineno=7, column=4, end_lineno=7,
end_column=28, object='MyClass.my_method', msg='Using deprecated decorator
abc.abstractclassmethod()', confidence='UNDEFINED')
- Unexpected lines:
OutputLine(symbol='deprecated-decorator', lineno=7, column=4, end_lineno=7,
end_column=28, object='MyClass', msg='Using deprecated decorator
abc.abstractclassmethod()', confidence='UNDEFINED')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[deprecated_decorators]"'
Here's the update text in case you can't:
deprecated-decorator:7:4:7:28:MyClass:Using deprecated decorator
abc.abstractclassmethod():UNDEFINED
FAILED tests/test_functional.py::test_functional[method_cache_max_size_none] -
AssertionError: Wrong output for "method_cache_max_size_none.txt":
- Missing lines:
OutputLine(symbol='method-cache-max-size-none', lineno=26, column=5,
end_lineno=26, end_column=20, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=30, column=5,
end_lineno=30, end_column=30, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=34, column=5,
end_lineno=34, end_column=38, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=38, column=5,
end_lineno=38, end_column=24, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=43, column=5,
end_lineno=43, end_column=24, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=44, column=5,
end_lineno=44, end_column=24, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=49, column=5,
end_lineno=49, end_column=30, object='MyClassWithMethods.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=79, column=5,
end_lineno=79, end_column=40, object='MyClassWithMethodsAndMaxSize.my_func',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
- Unexpected lines:
OutputLine(symbol='method-cache-max-size-none', lineno=26, column=5,
end_lineno=26, end_column=20, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=30, column=5,
end_lineno=30, end_column=30, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=34, column=5,
end_lineno=34, end_column=38, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=38, column=5,
end_lineno=38, end_column=24, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=43, column=5,
end_lineno=43, end_column=24, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=44, column=5,
end_lineno=44, end_column=24, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=49, column=5,
end_lineno=49, end_column=30, object='MyClassWithMethods',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
OutputLine(symbol='method-cache-max-size-none', lineno=79, column=5,
end_lineno=79, end_column=40, object='MyClassWithMethodsAndMaxSize',
msg="'lru_cache(maxsize=None)' or 'cache' will keep all method args alive
indefinitely, including 'self'", confidence='INFERENCE')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[method_cache_max_size_none]"'
Here's the update text in case you can't:
method-cache-max-size-none:26:5:26:20:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:30:5:30:30:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:34:5:34:38:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:38:5:38:24:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:43:5:43:24:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:44:5:44:24:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:49:5:49:30:MyClassWithMethods:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
method-cache-max-size-none:79:5:79:40:MyClassWithMethodsAndMaxSize:'lru_cache(maxsize=None)'
or 'cache' will keep all method args alive indefinitely, including
'self':INFERENCE
FAILED tests/test_functional.py::test_functional[non_ascii_name_decorator] -
AssertionError: Wrong output for "non_ascii_name_decorator.txt":
- Missing lines:
OutputLine(symbol='non-ascii-name', lineno=16, column=4, end_lineno=16,
end_column=13, object='a_function', msg='Argument name "fåling" contains a
non-ASCII character, consider renaming it.', confidence='HIGH')
- Unexpected lines:
OutputLine(symbol='non-ascii-name', lineno=16, column=4, end_lineno=16,
end_column=13, object='', msg='Argument name "fåling" contains a non-ASCII
character, consider renaming it.', confidence='HIGH')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[non_ascii_name_decorator]"'
Here's the update text in case you can't:
non-ascii-name:16:4:16:13::"Argument name ""fåling"" contains a non-ASCII
character, consider renaming it.":HIGH
FAILED
tests/test_functional.py::test_functional[overridden_final_method_regression] -
AssertionError: Wrong output for "overridden_final_method_regression.txt":
- Missing lines:
OutputLine(symbol='undefined-variable', lineno=4, column=1, end_lineno=4,
end_column=18, object='crash_test', msg="Undefined variable
'unknown_decorator'", confidence='UNDEFINED')
- Unexpected lines:
OutputLine(symbol='undefined-variable', lineno=4, column=1, end_lineno=4,
end_column=18, object='', msg="Undefined variable 'unknown_decorator'",
confidence='UNDEFINED')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[overridden_final_method_regression]"'
Here's the update text in case you can't:
undefined-variable:4:1:4:18::Undefined variable 'unknown_decorator':UNDEFINED
FAILED tests/test_functional.py::test_functional[regression_10334] -
AssertionError: Wrong output for "regression_10334.txt":
- Missing lines:
OutputLine(symbol='not-callable', lineno=4, column=1, end_lineno=4,
end_column=4, object='A', msg='s is not callable', confidence='UNDEFINED')
- Unexpected lines:
OutputLine(symbol='not-callable', lineno=4, column=1, end_lineno=4,
end_column=4, object='', msg='s is not callable', confidence='UNDEFINED')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[regression_10334]"'
Here's the update text in case you can't:
not-callable:4:1:4:4::s is not callable:UNDEFINED
FAILED tests/test_functional.py::test_functional[singledispatch_method] -
AssertionError: Wrong output for "singledispatch_method.txt":
- Missing lines:
OutputLine(symbol='singledispatch-method', lineno=9, column=5, end_lineno=9,
end_column=19, object='Board1.convert_position', msg='singledispatch decorator
should not be used with methods, use singledispatchmethod instead.',
confidence='HIGH')
OutputLine(symbol='singledispatch-method', lineno=13, column=5, end_lineno=13,
end_column=30, object='Board1._', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=18, column=5, end_lineno=18,
end_column=30, object='Board1._', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=24, column=5, end_lineno=24,
end_column=19, object='Board2.convert_position', msg='singledispatch decorator
should not be used with methods, use singledispatchmethod instead.',
confidence='HIGH')
OutputLine(symbol='singledispatch-method', lineno=29, column=5, end_lineno=29,
end_column=30, object='Board2._', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=35, column=5, end_lineno=35,
end_column=30, object='Board2._', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=43, column=5, end_lineno=43,
end_column=19, object='Board3.convert_position', msg='singledispatch decorator
should not be used with methods, use singledispatchmethod instead.',
confidence='HIGH')
OutputLine(symbol='singledispatch-method', lineno=48, column=5, end_lineno=48,
end_column=30, object='Board3._', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=54, column=5, end_lineno=54,
end_column=30, object='Board3._', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
- Unexpected lines:
OutputLine(symbol='singledispatch-method', lineno=9, column=5, end_lineno=9,
end_column=19, object='Board1', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='HIGH')
OutputLine(symbol='singledispatch-method', lineno=13, column=5, end_lineno=13,
end_column=30, object='Board1', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=18, column=5, end_lineno=18,
end_column=30, object='Board1', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=24, column=5, end_lineno=24,
end_column=19, object='Board2', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='HIGH')
OutputLine(symbol='singledispatch-method', lineno=29, column=5, end_lineno=29,
end_column=30, object='Board2', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=35, column=5, end_lineno=35,
end_column=30, object='Board2', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=43, column=5, end_lineno=43,
end_column=19, object='Board3', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='HIGH')
OutputLine(symbol='singledispatch-method', lineno=48, column=5, end_lineno=48,
end_column=30, object='Board3', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
OutputLine(symbol='singledispatch-method', lineno=54, column=5, end_lineno=54,
end_column=30, object='Board3', msg='singledispatch decorator should not be
used with methods, use singledispatchmethod instead.', confidence='INFERENCE')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[singledispatch_method]"'
Here's the update text in case you can't:
singledispatch-method:9:5:9:19:Board1:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:HIGH
singledispatch-method:13:5:13:30:Board1:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:INFERENCE
singledispatch-method:18:5:18:30:Board1:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:INFERENCE
singledispatch-method:24:5:24:19:Board2:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:HIGH
singledispatch-method:29:5:29:30:Board2:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:INFERENCE
singledispatch-method:35:5:35:30:Board2:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:INFERENCE
singledispatch-method:43:5:43:19:Board3:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:HIGH
singledispatch-method:48:5:48:30:Board3:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:INFERENCE
singledispatch-method:54:5:54:30:Board3:singledispatch decorator should not be
used with methods, use singledispatchmethod instead.:INFERENCE
FAILED tests/test_functional.py::test_functional[singledispatchmethod_function]
- AssertionError: Wrong output for "singledispatchmethod_function.txt":
- Missing lines:
OutputLine(symbol='singledispatchmethod-function', lineno=9, column=1,
end_lineno=9, end_column=21, object='convert_position2',
msg='singledispatchmethod decorator should not be used with functions, use
singledispatch instead.', confidence='HIGH')
OutputLine(symbol='singledispatchmethod-function', lineno=13, column=1,
end_lineno=13, end_column=27, object='_', msg='singledispatchmethod decorator
should not be used with functions, use singledispatch instead.',
confidence='INFERENCE')
OutputLine(symbol='singledispatchmethod-function', lineno=18, column=1,
end_lineno=18, end_column=27, object='_', msg='singledispatchmethod decorator
should not be used with functions, use singledispatch instead.',
confidence='INFERENCE')
- Unexpected lines:
OutputLine(symbol='singledispatchmethod-function', lineno=9, column=1,
end_lineno=9, end_column=21, object='', msg='singledispatchmethod decorator
should not be used with functions, use singledispatch instead.',
confidence='HIGH')
OutputLine(symbol='singledispatchmethod-function', lineno=13, column=1,
end_lineno=13, end_column=27, object='', msg='singledispatchmethod decorator
should not be used with functions, use singledispatch instead.',
confidence='INFERENCE')
OutputLine(symbol='singledispatchmethod-function', lineno=18, column=1,
end_lineno=18, end_column=27, object='', msg='singledispatchmethod decorator
should not be used with functions, use singledispatch instead.',
confidence='INFERENCE')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[singledispatchmethod_function]"'
Here's the update text in case you can't:
singledispatchmethod-function:9:1:9:21::singledispatchmethod decorator should
not be used with functions, use singledispatch instead.:HIGH
singledispatchmethod-function:13:1:13:27::singledispatchmethod decorator should
not be used with functions, use singledispatch instead.:INFERENCE
singledispatchmethod-function:18:1:18:27::singledispatchmethod decorator should
not be used with functions, use singledispatch instead.:INFERENCE
FAILED tests/test_functional.py::test_functional[undefined_variable] -
AssertionError: Wrong output for "undefined_variable.txt":
- Missing lines:
OutputLine(symbol='undefined-variable', lineno=339, column=11, end_lineno=339,
end_column=12, object='decorated3', msg="Undefined variable 'x'",
confidence='UNDEFINED')
OutputLine(symbol='undefined-variable', lineno=344, column=19, end_lineno=344,
end_column=20, object='decorated4', msg="Undefined variable 'y'",
confidence='UNDEFINED')
- Unexpected lines:
OutputLine(symbol='undefined-variable', lineno=339, column=11, end_lineno=339,
end_column=12, object='', msg="Undefined variable 'x'", confidence='UNDEFINED')
OutputLine(symbol='undefined-variable', lineno=344, column=19, end_lineno=344,
end_column=20, object='', msg="Undefined variable 'y'", confidence='UNDEFINED')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[undefined_variable]"'
Here's the update text in case you can't:
undefined-variable:12:19:12:26::Undefined variable 'unknown':UNDEFINED
undefined-variable:18:10:18:21:in_method:Undefined variable
'nomoreknown':UNDEFINED
undefined-variable:21:19:21:31::Undefined variable '__revision__':UNDEFINED
undefined-variable:23:8:23:20::Undefined variable '__revision__':UNDEFINED
undefined-variable:27:29:27:37:bad_default:Undefined variable
'unknown2':UNDEFINED
undefined-variable:30:10:30:14:bad_default:Undefined variable 'xxxx':UNDEFINED
undefined-variable:31:4:31:10:bad_default:Undefined variable 'augvar':UNDEFINED
undefined-variable:32:8:32:14:bad_default:Undefined variable 'vardel':UNDEFINED
undefined-variable:34:19:34:31:<lambda>:Undefined variable
'doesnotexist':UNDEFINED
undefined-variable:35:23:35:24:<lambda>:Undefined variable 'z':UNDEFINED
used-before-assignment:38:4:38:9::Using variable 'POUET' before
assignment:CONTROL_FLOW
used-before-assignment:43:4:43:10::Using variable 'POUETT' before
assignment:CONTROL_FLOW
used-before-assignment:48:4:48:11::Using variable 'POUETTT' before
assignment:CONTROL_FLOW
used-before-assignment:56:4:56:9::Using variable 'PLOUF' before
assignment:CONTROL_FLOW
used-before-assignment:65:11:65:14:if_branch_test:Using variable 'xxx' before
assignment:HIGH
used-before-assignment:91:23:91:32:test_arguments:Using variable 'TestClass'
before assignment:HIGH
used-before-assignment:95:16:95:24:TestClass:Using variable 'Ancestor' before
assignment:HIGH
used-before-assignment:98:26:98:35:TestClass.MissingAncestor:Using variable
'Ancestor1' before assignment:HIGH
used-before-assignment:105:36:105:41:TestClass.test1.UsingBeforeDefinition:Using
variable 'Empty' before assignment:HIGH
undefined-variable:119:10:119:14:Self:Undefined variable 'Self':UNDEFINED
undefined-variable:135:7:135:10::Undefined variable 'BAT':UNDEFINED
undefined-variable:136:4:136:7::Undefined variable 'BAT':UNDEFINED
used-before-assignment:146:31:146:38:KeywordArgument.test1:Using variable
'enabled' before assignment:HIGH
undefined-variable:149:32:149:40:KeywordArgument.test2:Undefined variable
'disabled':UNDEFINED
undefined-variable:154:22:154:25:KeywordArgument.<lambda>:Undefined variable
'arg':UNDEFINED
undefined-variable:166:4:166:13::Undefined variable 'unicode_2':UNDEFINED
undefined-variable:171:4:171:13::Undefined variable 'unicode_3':UNDEFINED
undefined-variable:226:25:226:37:LambdaClass4.<lambda>:Undefined variable
'LambdaClass4':UNDEFINED
undefined-variable:234:25:234:37:LambdaClass5.<lambda>:Undefined variable
'LambdaClass5':UNDEFINED
used-before-assignment:255:26:255:34:func_should_fail:Using variable 'datetime'
before assignment:INFERENCE
undefined-variable:291:18:291:24:not_using_loop_variable_accordingly:Undefined
variable 'iteree':UNDEFINED
undefined-variable:308:27:308:28:undefined_annotation:Undefined variable
'x':UNDEFINED
used-before-assignment:309:7:309:8:undefined_annotation:Using variable 'x'
before assignment:HIGH
undefined-variable:339:11:339:12::Undefined variable 'x':UNDEFINED
undefined-variable:344:19:344:20::Undefined variable 'y':UNDEFINED
undefined-variable:365:10:365:20:global_var_mixed_assignment:Undefined variable
'GLOBAL_VAR':HIGH
undefined-variable:377:19:377:44:RepeatedReturnAnnotations.x:Undefined variable
'RepeatedReturnAnnotations':UNDEFINED
undefined-variable:379:19:379:44:RepeatedReturnAnnotations.y:Undefined variable
'RepeatedReturnAnnotations':UNDEFINED
undefined-variable:381:19:381:44:RepeatedReturnAnnotations.z:Undefined variable
'RepeatedReturnAnnotations':UNDEFINED
undefined-variable:385:27:385:37:A.say_hello:Undefined variable
'__module__':UNDEFINED
FAILED tests/test_functional.py::test_functional[unsupported_version_for_final]
- AssertionError: Wrong output for "unsupported_version_for_final.txt":
- Missing lines:
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=10,
column=1, end_lineno=10, end_column=6, object='MyClass1', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=12,
column=5, end_lineno=12, end_column=10, object='MyClass1.my_method',
msg='typing.final is not supported by all versions included in the py-version
setting', confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=13,
column=5, end_lineno=13, end_column=10, object='MyClass1.my_method',
msg='typing.final is not supported by all versions included in the py-version
setting', confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=18,
column=1, end_lineno=18, end_column=8, object='MyClass2', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=20,
column=5, end_lineno=20, end_column=12, object='MyClass2.my_method',
msg='typing.final is not supported by all versions included in the py-version
setting', confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=25,
column=1, end_lineno=25, end_column=13, object='MyClass3', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=27,
column=5, end_lineno=27, end_column=17, object='MyClass3.my_method',
msg='typing.final is not supported by all versions included in the py-version
setting', confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=32,
column=1, end_lineno=32, end_column=15, object='MyClass4', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=34,
column=5, end_lineno=34, end_column=19, object='MyClass4.my_method',
msg='typing.final is not supported by all versions included in the py-version
setting', confidence='HIGH')
- Unexpected lines:
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=10,
column=1, end_lineno=10, end_column=6, object='', msg='typing.final is not
supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=12,
column=5, end_lineno=12, end_column=10, object='MyClass1', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=13,
column=5, end_lineno=13, end_column=10, object='MyClass1', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=18,
column=1, end_lineno=18, end_column=8, object='', msg='typing.final is not
supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=20,
column=5, end_lineno=20, end_column=12, object='MyClass2', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=25,
column=1, end_lineno=25, end_column=13, object='', msg='typing.final is not
supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=27,
column=5, end_lineno=27, end_column=17, object='MyClass3', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=32,
column=1, end_lineno=32, end_column=15, object='', msg='typing.final is not
supported by all versions included in the py-version setting',
confidence='HIGH')
OutputLine(symbol='using-final-decorator-in-unsupported-version', lineno=34,
column=5, end_lineno=34, end_column=19, object='MyClass4', msg='typing.final is
not supported by all versions included in the py-version setting',
confidence='HIGH')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[unsupported_version_for_final]"'
Here's the update text in case you can't:
using-final-decorator-in-unsupported-version:10:1:10:6::typing.final is not
supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:12:5:12:10:MyClass1:typing.final
is not supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:13:5:13:10:MyClass1:typing.final
is not supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:18:1:18:8::typing.final is not
supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:20:5:20:12:MyClass2:typing.final
is not supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:25:1:25:13::typing.final is not
supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:27:5:27:17:MyClass3:typing.final
is not supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:32:1:32:15::typing.final is not
supported by all versions included in the py-version setting:HIGH
using-final-decorator-in-unsupported-version:34:5:34:19:MyClass4:typing.final
is not supported by all versions included in the py-version setting:HIGH
FAILED
tests/test_functional.py::test_functional[unsupported_version_for_posonly_args]
- AssertionError: Wrong output for "unsupported_version_for_posonly_args.txt":
- Missing lines:
OutputLine(symbol='using-positional-only-args-in-unsupported-version',
lineno=2, column=0, end_lineno=None, end_column=None, object='add',
msg='Positional-only arguments are not supported by all versions included in
the py-version setting', confidence='HIGH')
- Unexpected lines:
OutputLine(symbol='using-positional-only-args-in-unsupported-version',
lineno=2, column=0, end_lineno=2, end_column=None, object='add',
msg='Positional-only arguments are not supported by all versions included in
the py-version setting', confidence='HIGH')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[unsupported_version_for_posonly_args]"'
Here's the update text in case you can't:
using-positional-only-args-in-unsupported-version:2:0:2:None:add:Positional-only
arguments are not supported by all versions included in the py-version
setting:HIGH
FAILED tests/test_functional.py::test_functional[unused_argument] -
AssertionError: Wrong output for "unused_argument.txt":
- Missing lines:
OutputLine(symbol='unused-argument', lineno=73, column=0, end_lineno=None,
end_column=None, object='AAAA.selected', msg="Unused argument 'args'",
confidence='INFERENCE')
OutputLine(symbol='unused-argument', lineno=73, column=0, end_lineno=None,
end_column=None, object='AAAA.selected', msg="Unused argument 'kwargs'",
confidence='INFERENCE')
- Unexpected lines:
OutputLine(symbol='unused-argument', lineno=73, column=0, end_lineno=73,
end_column=None, object='AAAA.selected', msg="Unused argument 'args'",
confidence='INFERENCE')
OutputLine(symbol='unused-argument', lineno=73, column=0, end_lineno=73,
end_column=None, object='AAAA.selected', msg="Unused argument 'kwargs'",
confidence='INFERENCE')
You can update the expected output automatically with:
'python tests/test_functional.py --update-functional-output -k
"test_functional[unused_argument]"'
Here's the update text in case you can't:
unused-argument:3:16:3:21:test_unused:Unused argument 'first':HIGH
unused-argument:3:23:3:29:test_unused:Unused argument 'second':HIGH
unused-argument:32:29:32:32:Sub.newmethod:Unused argument 'aay':INFERENCE
unused-argument:59:13:59:16:function:Unused argument 'arg':HIGH
unused-argument:66:21:66:24:AAAA.method:Unused argument 'arg':INFERENCE
unused-argument:73:0:73:None:AAAA.selected:Unused argument 'args':INFERENCE
unused-argument:73:0:73:None:AAAA.selected:Unused argument 'kwargs':INFERENCE
unused-argument:92:23:92:26:BBBB.__init__:Unused argument 'arg':INFERENCE
unused-argument:103:34:103:39:Ancestor.set_thing:Unused argument
'other':INFERENCE
unused-argument:129:21:129:25:TestClassWithOnlyNew.__new__:Unused argument
'argA':INFERENCE
unused-argument:129:27:129:31:TestClassWithOnlyNew.__new__:Unused argument
'argB':INFERENCE
= 11 failed, 1934 passed, 249 skipped, 70 deselected, 5 xfailed in 115.19s
(0:01:55) =
E: pybuild pybuild:483: test: plugin pyproject failed with:
[too-long-redacted] _assignment ' {build_dir}/tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14
3.13" returned exit code 13
make: *** [debian/rules:49: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---