#1140867 pylint: autopkgtest regression with pytest 9.1

#1140867#5
Date:
2026-06-27 21:23:14 UTC
From:
To:
Dear maintainer,

According to https://ci.debian.net data, your package pylint has an
autopkgtest regression with pytest.

The following architectures failed: amd64, arm64, i386, loong64,
ppc64el, riscv64, s390x.

Hopefully relevant excerpt from
https://ci.debian.net/packages/p/pylint/testing/amd64/72542056/
follows:

 80s ==================================== ERRORS ====================================
 80s _ ERROR collecting tests/checkers/unittest_unicode/unittest_invalid_encoding.py _
 80s E   pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
 80s E   Test: tests/checkers/unittest_unicode/unittest_invalid_encoding.py::TestInvalidEncoding::test___check_codec, argvalues type: generator
 80s E   Please convert to a list or tuple.
 80s E   See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
 80s ERROR tests/checkers/unittest_unicode/unittest_invalid_encoding.py::TestInvalidEncoding - pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
 80s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /tmp/autopkgtest-lxc.ig23_8lj/downtmp/autopkgtest_tmp/build; python3.14 -m pytest -vvvv -k ' not test_do_not_import_files_from_local_directory and not test_relative_beyond_top_level_two and not test_relative_beyond_top_level_three and not test_relative_beyond_top_level_four and not inconsistent_returns and not invalid_all_format_valid_5 and not invalid_all_format_valid_6 and not regression_4680 and not unreachable and not undefined_variable_typing and not unused_import_assigned_to and not use_yield_from and not used_before_assignment_else_return and not test_package and not test_preferred_module and not test_allow_reexport_package and not test_package_all and not wrong_import_order and not import_error and not syntax_error and not test_json_report_when_file_has_syntax_error and not test_stdin_syntax_error and not used_before_assignment ' {build_dir}/tests --deselect tests/test_self.py::TestRunTC::test_progress_reporting
 82s ==================================== ERRORS ====================================
 82s _ ERROR collecting tests/checkers/unittest_unicode/unittest_invalid_encoding.py _
 82s E   pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
 82s E   Test: tests/checkers/unittest_unicode/unittest_invalid_encoding.py::TestInvalidEncoding::test___check_codec, argvalues type: generator
 82s E   Please convert to a list or tuple.
 82s E   See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
 82s ERROR tests/checkers/unittest_unicode/unittest_invalid_encoding.py::TestInvalidEncoding - pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
 83s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /tmp/autopkgtest-lxc.ig23_8lj/downtmp/autopkgtest_tmp/build; python3.13 -m pytest -vvvv -k ' not test_do_not_import_files_from_local_directory and not test_relative_beyond_top_level_two and not test_relative_beyond_top_level_three and not test_relative_beyond_top_level_four and not inconsistent_returns and not invalid_all_format_valid_5 and not invalid_all_format_valid_6 and not regression_4680 and not unreachable and not undefined_variable_typing and not unused_import_assigned_to and not use_yield_from and not used_before_assignment_else_return and not test_package and not test_preferred_module and not test_allow_reexport_package and not test_package_all and not wrong_import_order and not import_error and not syntax_error and not test_json_report_when_file_has_syntax_error and not test_stdin_syntax_error and not used_before_assignment ' {build_dir}/tests --deselect tests/test_self.py::TestRunTC::test_progress_reporting
 83s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13
 83s pybuild-autopkgtest: error: /tmp/Bd4uQn0KEl/run pybuild-autopkgtest returned exit code 2
 83s pybuild-autopkgtest  FAIL non-zero exit status 25
 83s pybuild-autopkgtest  FAIL non-zero exit status 25