Your message dated Sat, 23 Dec 2023 09:21:10 +0000
with message-id <e1rgyby-001zyk...@fasolo.debian.org>
and subject line Bug#1058185: fixed in pytest-pylint 0.21.0-1
has caused the Debian Bug report #1058185,
regarding pytest-pylint: FTBFS: AttributeError: 'TreeRebuilder' object has no 
attribute 'visit_typealias'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1058185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058185
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-pylint
Version: 0.19.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_install
> I: pybuild base:310: /usr/bin/python3.12 setup.py install --root 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running install
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> running build
> running build_py
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12
> creating 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages
> creating 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-pylint/build/pytest_pylint/__init__.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-pylint/build/pytest_pylint/plugin.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-pylint/build/pytest_pylint/pylint_util.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pytest-pylint/build/pytest_pylint/util.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint/__init__.py
>  to __init__.cpython-312.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint/plugin.py
>  to plugin.cpython-312.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint/pylint_util.py
>  to pylint_util.cpython-312.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint/util.py
>  to util.cpython-312.pyc
> running install_egg_info
> running egg_info
> creating pytest_pylint.egg-info
> writing pytest_pylint.egg-info/PKG-INFO
> writing dependency_links to pytest_pylint.egg-info/dependency_links.txt
> writing entry points to pytest_pylint.egg-info/entry_points.txt
> writing requirements to pytest_pylint.egg-info/requires.txt
> writing top-level names to pytest_pylint.egg-info/top_level.txt
> writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
> reading manifest file 'pytest_pylint.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'pytest_pylint'
> warning: no previously-included files matching '__pycache__' found anywhere 
> in distribution
> warning: no previously-included files matching '*.py[cod]' found anywhere in 
> distribution
> adding license file 'LICENSE'
> writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
> Copying pytest_pylint.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.12/dist-packages/pytest_pylint-0.19.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> I: pybuild base:310: /usr/bin/python3 setup.py install --root 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running install
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> running build
> running build_py
> running install_lib
> creating /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11
> creating 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages
> creating 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-pylint/build/pytest_pylint/__init__.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-pylint/build/pytest_pylint/plugin.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-pylint/build/pytest_pylint/pylint_util.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-pylint/build/pytest_pylint/util.py
>  -> 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint/__init__.py
>  to __init__.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint/plugin.py
>  to plugin.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint/pylint_util.py
>  to pylint_util.cpython-311.pyc
> byte-compiling 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint/util.py
>  to util.cpython-311.pyc
> running install_egg_info
> running egg_info
> writing pytest_pylint.egg-info/PKG-INFO
> writing dependency_links to pytest_pylint.egg-info/dependency_links.txt
> writing entry points to pytest_pylint.egg-info/entry_points.txt
> writing requirements to pytest_pylint.egg-info/requires.txt
> writing top-level names to pytest_pylint.egg-info/top_level.txt
> reading manifest file 'pytest_pylint.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'pytest_pylint'
> warning: no previously-included files matching '__pycache__' found anywhere 
> in distribution
> warning: no previously-included files matching '*.py[cod]' found anywhere in 
> distribution
> adding license file 'LICENSE'
> writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
> Copying pytest_pylint.egg-info to 
> /<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.11/dist-packages/pytest_pylint-0.19.0.egg-info
> Skipping SOURCES.txt
> running install_scripts
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x 
> --ignore debian --ignore pytest_pylint/plugin.py -k 'not 
> test_pylintrc_file_beside_ini'" dh_auto_test
> I: pybuild base:310: python3.12 -m pytest -v -x --ignore debian --ignore 
> pytest_pylint/plugin.py -k 'not test_pylintrc_file_beside_ini'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 -- 
> /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: tox.ini
> plugins: pylint-0.19.0, flake8-1.1.1
> collecting ... collected 39 items / 1 deselected / 38 selected
> --------------------------------------------------------------------------------
> Linting files
> ..............Exception on node <ImportFrom l.5 at 0x7ff3df036ed0> in file 
> '/<<PKGBUILDDIR>>/pytest_pylint/pylint_util.py'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pylint/checkers/imports.py", line 858, 
> in _get_imported_module
>     return importnode.do_import_module(modname)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/nodes/_base_nodes.py", line 
> 146, in do_import_module
>     return mymodule.import_module(
>            ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 530, in import_module
>     return AstroidManager().ast_from_module_name(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 246, in 
> ast_from_module_name
>     return self.ast_from_file(found_spec.location, modname, fallback=False)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 138, in 
> ast_from_file
>     return AstroidBuilder(self).file_build(filepath, modname)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 145, in 
> file_build
>     return self._post_build(module, builder, encoding)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 173, in 
> _post_build
>     module = self._manager.visit_transforms(module)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 109, in 
> visit_transforms
>     return self._transform.visit(node)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 89, in 
> visit
>     return self._visit(module)
>            ^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 54, in 
> _visit
>     visited = self._visit_generic(value)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 61, in 
> _visit_generic
>     return [self._visit_generic(child) for child in node]
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 67, in 
> _visit_generic
>     return self._visit(node)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 57, in 
> _visit
>     return self._transform(node)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 38, in 
> _transform
>     if predicate is None or predicate(node):
>                             ^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/brain/brain_namedtuple_enum.py", line 
> 613, in _is_enum_subclass
>     for klass in cls.mro()
>                  ^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3066, in mro
>     return self._compute_mro(context=context)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3035, in _compute_mro
>     inferred_bases = list(self._inferred_bases(context=context))
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3018, in _inferred_bases
>     baseobj = next(
>               ^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3018, in <genexpr>
>     baseobj = next(
>                   ^
>   File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 184, 
> in infer
>     for i, result in enumerate(self._infer(context=context, **kwargs)):
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 143, in 
> raise_if_nothing_inferred
>     yield next(generator)
>           ^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 112, in 
> wrapped
>     for res in _func(node, context, **kwargs):
>   File "/usr/lib/python3/dist-packages/astroid/bases.py", line 177, in 
> _infer_stmts
>     for inf in stmt.infer(context=context):
>   File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 184, 
> in infer
>     for i, result in enumerate(self._infer(context=context, **kwargs)):
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 143, in 
> raise_if_nothing_inferred
>     yield next(generator)
>           ^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 112, in 
> wrapped
>     for res in _func(node, context, **kwargs):
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/inference.py", line 334, in 
> infer_import_from
>     module = self.do_import_module()
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/nodes/_base_nodes.py", line 
> 146, in do_import_module
>     return mymodule.import_module(
>            ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 530, in import_module
>     return AstroidManager().ast_from_module_name(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 246, in 
> ast_from_module_name
>     return self.ast_from_file(found_spec.location, modname, fallback=False)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 138, in 
> ast_from_file
>     return AstroidBuilder(self).file_build(filepath, modname)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 144, in 
> file_build
>     module, builder = self._data_build(data, modname, path)
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 204, in 
> _data_build
>     module = builder.visit_module(node, modname, node_file, package)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 254, in 
> visit_module
>     [self.visit(child, newnode) for child in node.body],
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 609, in 
> visit
>     visit_method = getattr(self, visit_name)
>                    ^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'TreeRebuilder' object has no attribute 'visit_typealias'
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 91, 
> in walk
>     callback(astroid)
>   File "/usr/lib/python3/dist-packages/pylint/checkers/imports.py", line 549, 
> in visit_importfrom
>     imported_module = self._get_imported_module(node, basename)
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pylint/checkers/imports.py", line 883, 
> in _get_imported_module
>     raise astroid.AstroidError from e
> astroid.exceptions.AstroidError
> Can't write the issue template for the crash in 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2023-12-11-22-09-31.txt
>  because of: '[Errno 2] No such file or directory: 
> '/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2023-12-11-22-09-31.txt''
> Here's the content anyway:
> First, please verify that the bug is not already filled:
> https://github.com/PyCQA/pylint/issues/
> 
> Then create a new crash issue:
> https://github.com/PyCQA/pylint/issues/new?assignees=&labels=crash%2Cneeds+triage&template=BUG-REPORT.yml
> 
> 
> Issue title:
> Crash ```` (if possible, be more specific about what made pylint crash)
> Content:
> When parsing the following file:
> 
> <!--
>  If sharing the code is not an option, please state so,
>  but providing only the stacktrace would still be helpful.
>  -->
> 
> ```python
> # -*- coding: utf-8 -*-
> """Pylint reporter classes."""
> import sys
> 
> from pylint.interfaces import IReporter
> from pylint.reporters import BaseReporter
> 
> 
> class ProgrammaticReporter(BaseReporter):
>     """Reporter that replaces output with storage in list of dictionaries"""
> 
>     __implements__ = IReporter
>     extension = "prog"
> 
>     def __init__(self, output=None):
>         BaseReporter.__init__(self, output)
>         self.current_module = None
>         self.data = []
> 
>     def add_message(self, msg_id, location, msg):
>         """Deprecated, but required"""
>         raise NotImplementedError
> 
>     def handle_message(self, msg):
>         """Get message and append to our data structure"""
>         self.data.append(msg)
> 
>     def _display(self, layout):
>         """launch layouts display"""
> 
>     def on_set_current_module(self, module, filepath):
>         """Hook called when a module starts to be analysed."""
>         print(".", end="")
>         sys.stdout.flush()
> 
>     def on_close(self, stats, previous_stats):
>         """Hook called when all modules finished analyzing."""
>         # print a new line when pylint is finished
>         print("")
> 
> ```
> 
> pylint crashed with a ``AstroidError`` and with the following stacktrace:
> ```
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pylint/checkers/imports.py", line 858, 
> in _get_imported_module
>     return importnode.do_import_module(modname)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/nodes/_base_nodes.py", line 
> 146, in do_import_module
>     return mymodule.import_module(
>            ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 530, in import_module
>     return AstroidManager().ast_from_module_name(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 246, in 
> ast_from_module_name
>     return self.ast_from_file(found_spec.location, modname, fallback=False)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 138, in 
> ast_from_file
>     return AstroidBuilder(self).file_build(filepath, modname)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 145, in 
> file_build
>     return self._post_build(module, builder, encoding)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 173, in 
> _post_build
>     module = self._manager.visit_transforms(module)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 109, in 
> visit_transforms
>     return self._transform.visit(node)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 89, in 
> visit
>     return self._visit(module)
>            ^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 54, in 
> _visit
>     visited = self._visit_generic(value)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 61, in 
> _visit_generic
>     return [self._visit_generic(child) for child in node]
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 67, in 
> _visit_generic
>     return self._visit(node)
>            ^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 57, in 
> _visit
>     return self._transform(node)
>            ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/transforms.py", line 38, in 
> _transform
>     if predicate is None or predicate(node):
>                             ^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/brain/brain_namedtuple_enum.py", line 
> 613, in _is_enum_subclass
>     for klass in cls.mro()
>                  ^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3066, in mro
>     return self._compute_mro(context=context)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3035, in _compute_mro
>     inferred_bases = list(self._inferred_bases(context=context))
>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3018, in _inferred_bases
>     baseobj = next(
>               ^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 3018, in <genexpr>
>     baseobj = next(
>                   ^
>   File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 184, 
> in infer
>     for i, result in enumerate(self._infer(context=context, **kwargs)):
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 143, in 
> raise_if_nothing_inferred
>     yield next(generator)
>           ^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 112, in 
> wrapped
>     for res in _func(node, context, **kwargs):
>   File "/usr/lib/python3/dist-packages/astroid/bases.py", line 177, in 
> _infer_stmts
>     for inf in stmt.infer(context=context):
>   File "/usr/lib/python3/dist-packages/astroid/nodes/node_ng.py", line 184, 
> in infer
>     for i, result in enumerate(self._infer(context=context, **kwargs)):
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 143, in 
> raise_if_nothing_inferred
>     yield next(generator)
>           ^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/decorators.py", line 112, in 
> wrapped
>     for res in _func(node, context, **kwargs):
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/inference.py", line 334, in 
> infer_import_from
>     module = self.do_import_module()
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/nodes/_base_nodes.py", line 
> 146, in do_import_module
>     return mymodule.import_module(
>            ^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/usr/lib/python3/dist-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", 
> line 530, in import_module
>     return AstroidManager().ast_from_module_name(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 246, in 
> ast_from_module_name
>     return self.ast_from_file(found_spec.location, modname, fallback=False)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/manager.py", line 138, in 
> ast_from_file
>     return AstroidBuilder(self).file_build(filepath, modname)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 144, in 
> file_build
>     module, builder = self._data_build(data, modname, path)
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/builder.py", line 204, in 
> _data_build
>     module = builder.visit_module(node, modname, node_file, package)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 254, in 
> visit_module
>     [self.visit(child, newnode) for child in node.body],
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/rebuilder.py", line 609, in 
> visit
>     visit_method = getattr(self, visit_name)
>                    ^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'TreeRebuilder' object has no attribute 'visit_typealias'
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 811, in 
> _lint_file
>     check_astroid_module(module)
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1085, 
> in check_astroid_module
>     retval = self._check_astroid_module(
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 1135, 
> in _check_astroid_module
>     walker.walk(node)
>   File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 94, 
> in walk
>     self.walk(child)
>   File "/usr/lib/python3/dist-packages/pylint/utils/ast_walker.py", line 91, 
> in walk
>     callback(astroid)
>   File "/usr/lib/python3/dist-packages/pylint/checkers/imports.py", line 549, 
> in visit_importfrom
>     imported_module = self._get_imported_module(node, basename)
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pylint/checkers/imports.py", line 883, 
> in _get_imported_module
>     raise astroid.AstroidError from e
> astroid.exceptions.AstroidError
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 775, in 
> _lint_files
>     self._lint_file(fileitem, module, check_astroid_module)
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 813, in 
> _lint_file
>     raise astroid.AstroidError from e
> astroid.exceptions.AstroidError
> ```
> .
> .
> --------------------------------------------------------------------------------
> 
> setup.py::PYLINT PASSED                                                  [  
> 2%]
> pytest_pylint/__init__.py::PYLINT PASSED                                 [  
> 5%]
> pytest_pylint/pylint_util.py::PYLINT FAILED                              [  
> 7%]
> 
> =================================== FAILURES 
> ===================================
> ____________________ [pylint] pytest_pylint/pylint_util.py 
> _____________________
> F:  1, 0: pytest_pylint/pylint_util.py: Fatal error while checking 
> 'pytest_pylint/pylint_util.py'. Please open an issue in our bug tracker so we 
> address this. There is a pre-filled template that you can use in 
> '/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.cache/pylint/pylint-crash-2023-12-11-22-09-31.txt'.
>  (astroid-error)
> =============================== warnings summary 
> ===============================
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
>   /<<PKGBUILDDIR>>/pytest_pylint/plugin.py:311: PytestRemovedIn8Warning: The 
> (fspath: py.path.local) argument to PylintFile is deprecated. Please use the 
> (path: pathlib.Path) argument instead.
>   See 
> https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path
>     _self = getattr(super(), "from_parent", cls)(parent, fspath=fspath)
> 
> pytest_pylint/pylint_util.py:16
>   /<<PKGBUILDDIR>>/pytest_pylint/pylint_util.py:16: DeprecationWarning: Using 
> the __implements__ inheritance pattern for BaseReporter is no longer 
> supported. Child classes should only inherit BaseReporter
>     BaseReporter.__init__(self, output)
> 
> ../../../usr/lib/python3/dist-packages/astroid/rebuilder.py:84: 757 warnings
>   /usr/lib/python3/dist-packages/astroid/rebuilder.py:84: DeprecationWarning: 
> ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant 
> instead
>     if isinstance(first_value, self._module.Str) or (
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED pytest_pylint/pylint_util.py::PYLINT
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!
> =========== 1 failed, 2 passed, 1 deselected, 764 warnings in 1.35s 
> ============
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: 
> python3.12 -m pytest -v -x --ignore debian --ignore pytest_pylint/plugin.py 
> -k 'not test_pylintrc_file_beside_ini'
> I: pybuild base:310: python3.11 -m pytest -v -x --ignore debian --ignore 
> pytest_pylint/plugin.py -k 'not test_pylintrc_file_beside_ini'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 -- 
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: tox.ini
> plugins: pylint-0.19.0, flake8-1.1.1
> collecting ... collected 39 items / 1 deselected / 38 selected
> --------------------------------------------------------------------------------
> Linting files
> ...........
> --------------------------------------------------------------------------------
> 
> setup.py::PYLINT SKIPPED (file(s) previously passed pylint checks)       [  
> 2%]
> pytest_pylint/__init__.py::PYLINT SKIPPED (file(s) previously passed...) [  
> 5%]
> pytest_pylint/pylint_util.py::PYLINT PASSED                              [  
> 7%]
> pytest_pylint/util.py::PYLINT PASSED                                     [ 
> 10%]
> pytest_pylint/tests/test_pytest_pylint.py::PYLINT PASSED                 [ 
> 13%]
> pytest_pylint/tests/test_pytest_pylint.py::test_basic PASSED             [ 
> 15%]
> pytest_pylint/tests/test_pytest_pylint.py::test_nodeid PASSED            [ 
> 18%]
> pytest_pylint/tests/test_pytest_pylint.py::test_nodeid_no_dupepath PASSED [ 
> 21%]
> pytest_pylint/tests/test_pytest_pylint.py::test_subdirectories PASSED    [ 
> 23%]
> pytest_pylint/tests/test_pytest_pylint.py::test_disable PASSED           [ 
> 26%]
> pytest_pylint/tests/test_pytest_pylint.py::test_error_control PASSED     [ 
> 28%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file PASSED     [ 
> 31%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file_toml PASSED [ 
> 34%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_file_pyproject_toml 
> PASSED [ 36%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[main-ini] 
> PASSED [ 39%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[main-toml] 
> PASSED [ 42%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[main-simple_toml]
>  PASSED [ 44%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[master-ini] 
> PASSED [ 47%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[master-toml] 
> PASSED [ 50%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_ignore[master-simple_toml]
>  PASSED [ 52%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_msg_template[ini] 
> PASSED [ 55%]
> pytest_pylint/tests/test_pytest_pylint.py::test_pylintrc_msg_template[toml] 
> PASSED [ 57%]
> pytest_pylint/tests/test_pytest_pylint.py::test_multiple_jobs PASSED     [ 
> 60%]
> pytest_pylint/tests/test_pytest_pylint.py::test_no_multiple_jobs PASSED  [ 
> 63%]
> pytest_pylint/tests/test_pytest_pylint.py::test_skip_checked_files PASSED [ 
> 65%]
> pytest_pylint/tests/test_pytest_pylint.py::test_invalidate_cache_when_config_changes
>  PASSED [ 68%]
> pytest_pylint/tests/test_pytest_pylint.py::test_output_file PASSED       [ 
> 71%]
> pytest_pylint/tests/test_pytest_pylint.py::test_output_file_makes_dirs PASSED 
> [ 73%]
> pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore[ignore] 
> PASSED [ 76%]
> pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore[ignore-patterns]
>  PASSED [ 78%]
> pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[main-ignore]
>  PASSED [ 81%]
> pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[main-ignore-patterns]
>  PASSED [ 84%]
> pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[master-ignore]
>  PASSED [ 86%]
> pytest_pylint/tests/test_pytest_pylint.py::test_cmd_line_ignore_pri[master-ignore-patterns]
>  PASSED [ 89%]
> pytest_pylint/tests/test_util.py::PYLINT PASSED                          [ 
> 92%]
> pytest_pylint/tests/test_util.py::test_get_rel_path PASSED               [ 
> 94%]
> pytest_pylint/tests/test_util.py::test_should_include_path PASSED        [ 
> 97%]
> pytest_pylint/tests/test_util.py::test_pylint_ignore_patterns PASSED     
> [100%]
> 
> =============================== warnings summary 
> ===============================
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
> pytest_pylint/plugin.py:311
>   /<<PKGBUILDDIR>>/pytest_pylint/plugin.py:311: PytestRemovedIn8Warning: The 
> (fspath: py.path.local) argument to PylintFile is deprecated. Please use the 
> (path: pathlib.Path) argument instead.
>   See 
> https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path
>     _self = getattr(super(), "from_parent", cls)(parent, fspath=fspath)
> 
> pytest_pylint/pylint_util.py:16
>   /<<PKGBUILDDIR>>/pytest_pylint/pylint_util.py:16: DeprecationWarning: Using 
> the __implements__ inheritance pattern for BaseReporter is no longer 
> supported. Child classes should only inherit BaseReporter
>     BaseReporter.__init__(self, output)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========== 36 passed, 2 skipped, 1 deselected, 7 warnings in 4.04s 
> ============
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/pytest-pylint_0.19.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: pytest-pylint
Source-Version: 0.21.0-1
Done: Bo YU <tsu.y...@gmail.com>

We believe that the bug you reported is fixed in the latest version of
pytest-pylint, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bo YU <tsu.y...@gmail.com> (supplier of updated pytest-pylint package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 23 Dec 2023 09:02:09 +0000
Source: pytest-pylint
Built-For-Profiles: noudeb
Architecture: source
Version: 0.21.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Bo YU <tsu.y...@gmail.com>
Closes: 1058185
Changes:
 pytest-pylint (0.21.0-1) unstable; urgency=medium
 .
   [ Bo YU ]
   * Team upload.
   * New upstream version 0.21.0. (Closes: #1058185)
   * rebase debian/patches
 .
   [ Jeroen Ploemen ]
   * Control: bump versioning of build-deps on pytest, pylint to match
     upstream requirement.
   * Control: drop unused build-dep on python3-six.
   * Rules: drop override to install upstream git changelog.
Checksums-Sha1:
 4a3f0619ddcbca7814440f7644ffb11c3d5e2c62 2297 pytest-pylint_0.21.0-1.dsc
 336c9819c0ac57688b99dcd89c25fba3cc11818a 13502 pytest-pylint_0.21.0.orig.tar.gz
 c6fe2b502c09b2e59a53481163df2eef95da366b 4368 
pytest-pylint_0.21.0-1.debian.tar.xz
 ac5caed8cd8a7833d35c3727fdb8df0ed59b1ad5 15153 
pytest-pylint_0.21.0-1_source.buildinfo
Checksums-Sha256:
 5cac8741702b7b5e12dc93c5469d7cfa1aca08edf16385f49572b09e2e963cc2 2297 
pytest-pylint_0.21.0-1.dsc
 8a62f3fc631ea63df33e1e0089beb06fca8a876f6daf30cd8e121f71bc173f19 13502 
pytest-pylint_0.21.0.orig.tar.gz
 ad17f043fc8eb40a37c5d9b5781b4b04f89eeb349ae19441895626b2615d2946 4368 
pytest-pylint_0.21.0-1.debian.tar.xz
 8d7fc7c137a71089656af55768d328c828f66c4f6ac7ffd3225363b16b84bf7c 15153 
pytest-pylint_0.21.0-1_source.buildinfo
Files:
 8a7e10934662e73443748bcd724c17be 2297 python optional 
pytest-pylint_0.21.0-1.dsc
 a70abdee7776de947d661c9cfd86ae43 13502 python optional 
pytest-pylint_0.21.0.orig.tar.gz
 6103fbd9141ec98a86ae814dc1347586 4368 python optional 
pytest-pylint_0.21.0-1.debian.tar.xz
 6e2d15671d08b1c102260449bb14ad62 15153 python optional 
pytest-pylint_0.21.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmWGojwACgkQQoMEoXSN
zHpMWg/+Lf8t+affRak5FSmfWMaFy4ztaZsS8F1VkilqQKtlzeG+qFYdyA05uiMl
HEYwhIhGgDM8FvSY6dZT5yXO3Fl/LH/GHATRhvh08rQam35EvpfDyM7J3MEFBLBp
QKVWNOEgf3Xx6bYHPZPNuTyAyCJaW9Z+L5kYwgVviWdqrmt/Mjh3LhzNMG0UpHvM
WeQBP5dTxv1zY9PTS9+xH5mqlzhyrI1/EeB2icr+ZTf0wynhZ4r0ujEOac5FKgQM
uC6A/cX4am9dqtBXPyHU9RzVwJv3TlY/fjizbq2bh3lIAxca/84mxpX4uMFJAFjF
G722ARPZgIdAmnzrj/qzw+H0XUHMDHLUlLhLkbzMDio8ophCCOlqlYfvvIgJSXVS
tofoKG8eO1vFN7VIEPzbi5v0521KMgstvmevLYWH+1tfEEZRVXc5lOujP5dA/Egl
hvM06uyvaoxAaWalDtXqGGQ0MYZ6BFveYfrq3EKo1LgAOsYSsAr4C8HwxBJOtLAz
A/ueCL4PzfessOybT0sgCFKBEOAbTa9KbB9VTkds2HcdO9Jb1KQQlNC+jiYrCGoh
4+LOlEwD4p71wqIGo2fIiQhDvpPdlqYw5/YyMb582Z9k1KQJjRf/6UNeUAJexT9F
bs1ePq4X0+rgSNBnD7QrII3Q/EYx/KWLOuIy8yfrPrLEGLD/Spg=
=JnG3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to