Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error AttributeError: 'ClassDef' object has no attribute 'value' in astroid>=2.12 #1848

Closed
fmigneault opened this issue Oct 24, 2022 · 1 comment

Comments

@fmigneault
Copy link
Contributor

Steps to reproduce

When building docs on ReadTheDocs with sphinx-autoapi and astroid>=2.12, the following error is displayed.
Reverting to astroid<=2.11 does not produce the same error.

Looking at https://github.com/PyCQA/astroid/blob/main/ChangeLog, 2.12.x miggles with caching and the namedtuple which looks to be the starting problem of the traceback. It also seems strongly related to #1489 and maybe #1490 as well.

The project being built in this case is https://github.com/Ouranosinc/Magpie for reference, but I'm not sure exactly which part leads to the raised error. Original issue posted in readthedocs/sphinx-autoapi#349.

Current behavior

[... clipped ...]
[AutoAPI] Reading files... [ 53%] /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/checkouts/522/magpie/api/__init__.py
[AutoAPI] Reading files... [ 54%] /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/checkouts/522/magpie/api/notifications.py
[AutoAPI] Reading files... [ 56%] /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/checkouts/522/magpie/api/exception.py
[AutoAPI] Reading files... [ 57%] /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/checkouts/522/magpie/api/login/wso2.py

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference_tip.py", line 38, in _inference_tip_cached
    result = _cache[func, node]
KeyError: (<function infer_named_tuple at 0x7f0db6ce8d40>, <Call l.635 at 0x7f0dad853290>)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/brain/brain_namedtuple_enum.py", line 88, in infer_func_form
    attributes: list[str] = names.value.replace(",", " ").split()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 134, in __getattr__
    return getattr(self._proxied, name)
AttributeError: 'ClassDef' object has no attribute 'value'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/sphinx/events.py", line 111, in emit
    results.append(listener.handler(self.app, *args))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/autoapi/extension.py", line 165, in run_autoapi
    patterns=file_patterns, dirs=normalised_dirs, ignore=ignore_patterns
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/autoapi/mappers/python/mapper.py", line 305, in load
    data = self.read_file(path=path, dir_root=dir_root)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/autoapi/mappers/python/mapper.py", line 322, in read_file
    parsed_data = Parser().parse_file(path)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/autoapi/mappers/python/parser.py", line 43, in parse_file
    lambda directory: os.path.isfile(os.path.join(directory, "__init__.py")),
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/autoapi/mappers/python/parser.py", line 37, in _parse_file
    node = astroid.builder.AstroidBuilder().file_build(file_path, module_name)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 135, in file_build
    return self._post_build(module, builder, encoding)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 157, in _post_build
    self.delayed_assattr(delayed)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 227, in delayed_assattr
    for inferred in node.expr.infer():
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 169, in infer
    yield from self._infer(context=context, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 1063, in infer_assign
    stmts = list(self.assigned_stmts(context=context))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/protocols.py", line 367, in _arguments_infer_argname
    is_metaclass = isinstance(cls, nodes.ClassDef) and cls.type == "metaclass"
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 1867, in _class_type
    if _is_metaclass(klass):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 1836, in _is_metaclass
    for baseobj in base.infer():
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 169, in infer
    yield from self._infer(context=context, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 319, in infer_import_from
    module = self.do_import_module()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/_base_nodes.py", line 149, in do_import_module
    modname, level=level, relative_only=level and level >= 1
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 521, in import_module
    return AstroidManager().ast_from_module_name(absmodname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 208, in ast_from_module_name
    return self.ast_from_file(found_spec.location, modname, fallback=False)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 117, in ast_from_file
    return AstroidBuilder(self).file_build(filepath, modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 135, in file_build
    return self._post_build(module, builder, encoding)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 157, in _post_build
    self.delayed_assattr(delayed)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 227, in delayed_assattr
    for inferred in node.expr.infer():
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 169, in infer
    yield from self._infer(context=context, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 1063, in infer_assign
    stmts = list(self.assigned_stmts(context=context))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/protocols.py", line 367, in _arguments_infer_argname
    is_metaclass = isinstance(cls, nodes.ClassDef) and cls.type == "metaclass"
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 1867, in _class_type
    if _is_metaclass(klass):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 1836, in _is_metaclass
    for baseobj in base.infer():
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 169, in infer
    yield from self._infer(context=context, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 343, in infer_attribute
    for owner in self.expr.infer(context):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 326, in infer_import_from
    stmts = module.getattr(name, ignore_locals=module is self.root())
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 408, in getattr
    result = [self.import_module(name, relative_only=True)]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 521, in import_module
    return AstroidManager().ast_from_module_name(absmodname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 208, in ast_from_module_name
    return self.ast_from_file(found_spec.location, modname, fallback=False)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 117, in ast_from_file
    return AstroidBuilder(self).file_build(filepath, modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 135, in file_build
    return self._post_build(module, builder, encoding)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 157, in _post_build
    self.delayed_assattr(delayed)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 227, in delayed_assattr
    for inferred in node.expr.infer():
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 169, in infer
    yield from self._infer(context=context, **kwargs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 255, in infer_call
    for callee in self.func.infer(context):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 343, in infer_attribute
    for owner in self.expr.infer(context):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference.py", line 352, in infer_attribute
    yield from owner.igetattr(self.attrname, context)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 432, in igetattr
    return bases._infer_stmts(self.getattr(name, context), context, frame=self)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 408, in getattr
    result = [self.import_module(name, relative_only=True)]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 521, in import_module
    return AstroidManager().ast_from_module_name(absmodname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 208, in ast_from_module_name
    return self.ast_from_file(found_spec.location, modname, fallback=False)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 117, in ast_from_file
    return AstroidBuilder(self).file_build(filepath, modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 135, in file_build
    return self._post_build(module, builder, encoding)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/builder.py", line 161, in _post_build
    module = self._manager.visit_transforms(module)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/manager.py", line 94, in visit_transforms
    return self._transform.visit(node)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 89, in visit
    return self._visit(module)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 54, in _visit
    visited = self._visit_generic(value)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 61, in _visit_generic
    return [self._visit_generic(child) for child in node]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 61, in <listcomp>
    return [self._visit_generic(child) for child in node]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 67, in _visit_generic
    return self._visit(node)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 57, in _visit
    return self._transform(node)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/transforms.py", line 38, in _transform
    if predicate is None or predicate(node):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/brain/brain_namedtuple_enum.py", line 564, in _is_enum_subclass
    for klass in cls.mro()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 3057, in mro
    return self._compute_mro(context=context)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 3026, in _compute_mro
    inferred_bases = list(self._inferred_bases(context=context))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 3011, in _inferred_bases
    for b in stmt.infer(context=context.clone())
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/scoped_nodes/scoped_nodes.py", line 3010, in <genexpr>
    b
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 182, in infer
    for i, result in enumerate(self._infer(context=context, **kwargs)):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 139, in raise_if_nothing_inferred
    yield next(generator)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/decorators.py", line 108, in wrapped
    for res in _func(node, context, **kwargs):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/bases.py", line 165, in _infer_stmts
    for inf in stmt.infer(context=context):  # type: ignore[union-attr]
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/nodes/node_ng.py", line 159, in infer
    results = list(self._explicit_inference(self, context, **kwargs))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/inference_tip.py", line 45, in _inference_tip_cached
    result = _cache[func, node] = list(func(*args, **kwargs))
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/brain/brain_namedtuple_enum.py", line 191, in infer_named_tuple
    node, tuple_base_name, context=context
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/brain/brain_namedtuple_enum.py", line 93, in infer_func_form
    fields = _get_namedtuple_fields(node)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/astroid/brain/brain_namedtuple_enum.py", line 541, in _get_namedtuple_fields
    for elt in next(node.args[1].infer()).elts:
IndexError: list index out of range

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/sphinx/cmd/build.py", line 279, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/sphinx/application.py", line 278, in __init__
    self._init_builder()
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/sphinx/application.py", line 337, in _init_builder
    self.events.emit('builder-inited')
  File "/home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages/sphinx/events.py", line 120, in emit
    (listener.handler, name), exc, modname=modname) from exc
sphinx.errors.ExtensionError: Handler <function run_autoapi at 0x7f0db6c9ff80> for event 'builder-inited' threw an exception (exception: list index out of range)

Extension error (autoapi.extension):
Handler <function run_autoapi at 0x7f0db6c9ff80> for event 'builder-inited' threw an exception (exception: list index out of range)

Full pip install log for version references as needed:

Ignoring aenum: markers 'python_version < "3.6"' don't match your environment
Collecting authomatic[OpenID]@ https://github.com/fmigneault/authomatic/archive/httplib-port.zip
  Downloading https://github.com/fmigneault/authomatic/archive/httplib-port.zip (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 15.8 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting beaker@ https://github.com/crim-ca/beaker/archive/0ac88bcd8cca063a571fc385ffbe9bcc8acaa690.zip
  Downloading https://github.com/crim-ca/beaker/archive/0ac88bcd8cca063a571fc385ffbe9bcc8acaa690.zip (125 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.9/125.9 kB 123.9 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Ignoring cornice: markers 'python_version < "3"' don't match your environment
Ignoring futures: markers 'python_version < "3"' don't match your environment
Ignoring gunicorn: markers 'python_version < "3.5"' don't match your environment
Ignoring jsonschema: markers 'python_version < "3.6"' don't match your environment
Ignoring python2-secrets: markers 'python_version <= "3.5"' don't match your environment
Ignoring sqlalchemy_utils: markers 'python_version < "3"' don't match your environment
Ignoring threddsclient: markers 'python_version < "3"' don't match your environment
Ignoring typing: markers 'python_version < "3"' don't match your environment
Collecting alembic<1.5,>=1.3.0
  Downloading alembic-1.4.3-py2.py3-none-any.whl (159 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.9/159.9 kB 6.6 MB/s eta 0:00:00
Collecting bcrypt>=3.1.6
  Downloading bcrypt-4.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (594 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.0/594.0 kB 28.9 MB/s eta 0:00:00
Collecting colander
  Downloading colander-1.8.3-py2.py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.6/83.6 kB 207.0 MB/s eta 0:00:00
Collecting cornice
  Downloading cornice-6.0.1-py2.py3-none-any.whl (32 kB)
Collecting cornice_swagger>=0.7.0
  Downloading cornice_swagger-1.0.1-py3-none-any.whl (32 kB)
Collecting dicttoxml
  Downloading dicttoxml-1.7.4.tar.gz (18 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting gunicorn>=20
  Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 202.2 MB/s eta 0:00:00
Collecting humanize
  Downloading humanize-4.3.0-py3-none-any.whl (106 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.4/106.4 kB 215.6 MB/s eta 0:00:00
Requirement already satisfied: jsonschema>=4 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from -r requirements.txt (line 26)) (4.15.0)
Collecting lxml>=3.7
  Downloading lxml-4.9.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 134.6 MB/s eta 0:00:00
Collecting mako
  Downloading Mako-1.2.2-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 201.5 MB/s eta 0:00:00
Collecting paste
  Downloading Paste-3.5.2-py2.py3-none-any.whl (593 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 593.1/593.1 kB 247.4 MB/s eta 0:00:00
Collecting pastedeploy
  Downloading PasteDeploy-2.1.1-py2.py3-none-any.whl (17 kB)
Collecting pluggy
  Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting psycopg2-binary>=2.7.1
  Downloading psycopg2_binary-2.9.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 153.8 MB/s eta 0:00:00
Collecting pyramid<2,>=1.10.2
  Downloading pyramid-1.10.8-py2.py3-none-any.whl (327 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 327.1/327.1 kB 237.5 MB/s eta 0:00:00
Collecting pyramid_beaker==0.8
  Downloading pyramid_beaker-0.8.tar.gz (21 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pyramid_chameleon>=0.3
  Downloading pyramid_chameleon-0.3.tar.gz (28 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pyramid_mako>=1.0.2
  Downloading pyramid_mako-1.1.0-py2.py3-none-any.whl (14 kB)
Collecting pyramid_retry==2.1.1
  Downloading pyramid_retry-2.1.1-py2.py3-none-any.whl (6.6 kB)
Collecting pyramid_tm>=2.2.1
  Downloading pyramid_tm-2.5-py2.py3-none-any.whl (6.5 kB)
Collecting python-dotenv
  Downloading python_dotenv-0.20.0-py3-none-any.whl (17 kB)
Requirement already satisfied: pyyaml>=5.1 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from -r requirements.txt (line 41)) (6.0)
Requirement already satisfied: requests in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from -r requirements.txt (line 42)) (2.28.1)
Collecting requests_file
  Downloading requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)
Collecting simplejson
  Downloading simplejson-3.17.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (130 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.3/130.3 kB 221.7 MB/s eta 0:00:00
Requirement already satisfied: six>=1.12.0 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from -r requirements.txt (line 45)) (1.16.0)
Collecting sqlalchemy==1.3.22
  Downloading SQLAlchemy-1.3.22-cp37-cp37m-manylinux2010_x86_64.whl (1.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 256.5 MB/s eta 0:00:00
Collecting sqlalchemy_utils==0.37.9
  Downloading SQLAlchemy_Utils-0.37.9-py3-none-any.whl (100 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.1/100.1 kB 202.6 MB/s eta 0:00:00
Collecting threddsclient>=0.4.1
  Downloading threddsclient-0.4.2.tar.gz (16 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting transaction
  Downloading transaction-3.0.1-py2.py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 kB 170.3 MB/s eta 0:00:00
Requirement already satisfied: typing_extensions in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from -r requirements.txt (line 60)) (4.3.0)
Requirement already satisfied: wheel in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from -r requirements.txt (line 61)) (0.37.1)
Collecting webob
  Downloading WebOb-1.8.7-py2.py3-none-any.whl (114 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.0/115.0 kB 217.4 MB/s eta 0:00:00
Collecting ziggurat_foundations==0.8.4
  Downloading ziggurat_foundations-0.8.4-py2.py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 kB 192.1 MB/s eta 0:00:00
Collecting zope.interface<5,>=4.7.2
  Downloading zope.interface-4.7.2-cp37-cp37m-manylinux2010_x86_64.whl (169 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 169.3/169.3 kB 215.8 MB/s eta 0:00:00
Collecting zope.sqlalchemy==1.6
  Downloading zope.sqlalchemy-1.6-py2.py3-none-any.whl (22 kB)
Collecting passlib>=1.6.1
  Downloading passlib-1.7.4-py2.py3-none-any.whl (525 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 525.6/525.6 kB 246.8 MB/s eta 0:00:00
Collecting paginate-sqlalchemy
  Downloading paginate_sqlalchemy-0.3.1-py3-none-any.whl (3.8 kB)
Collecting zope.deprecation>=3.5.0
  Downloading zope.deprecation-4.4.0-py2.py3-none-any.whl (10 kB)
Collecting paginate
  Downloading paginate-0.5.6.tar.gz (12 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from zope.sqlalchemy==1.6->-r requirements.txt (line 65)) (58.2.0)
Collecting python-editor>=0.3
  Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Requirement already satisfied: python-dateutil in /home/docs/.pyenv/versions/3.7.9/lib/python3.7/site-packages (from alembic<1.5,>=1.3.0->-r requirements.txt (line 2)) (2.8.1)
Collecting python3-openid
  Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 222.3 MB/s eta 0:00:00
Collecting iso8601
  Downloading iso8601-1.0.2-py3-none-any.whl (9.7 kB)
Collecting translationstring
  Downloading translationstring-1.4-py2.py3-none-any.whl (15 kB)
Collecting venusian
  Downloading venusian-3.0.0-py3-none-any.whl (13 kB)
Requirement already satisfied: importlib-metadata in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from humanize->-r requirements.txt (line 24)) (4.12.0)
Requirement already satisfied: attrs>=17.4.0 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from jsonschema>=4->-r requirements.txt (line 26)) (22.1.0)
Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from jsonschema>=4->-r requirements.txt (line 26)) (1.3.10)
Requirement already satisfied: importlib-resources>=1.4.0 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from jsonschema>=4->-r requirements.txt (line 26)) (5.9.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from jsonschema>=4->-r requirements.txt (line 26)) (0.18.1)
Requirement already satisfied: MarkupSafe>=0.9.2 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from mako->-r requirements.txt (line 28)) (2.1.1)
Collecting hupper>=1.5
  Downloading hupper-1.10.3-py2.py3-none-any.whl (26 kB)
Collecting plaster
  Downloading plaster-1.0-py2.py3-none-any.whl (14 kB)
Collecting plaster-pastedeploy
  Downloading plaster_pastedeploy-0.7-py2.py3-none-any.whl (7.8 kB)
Collecting Chameleon
  Downloading Chameleon-3.10.1.tar.gz (92 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.9/92.9 kB 207.5 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: charset-normalizer<3,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from requests->-r requirements.txt (line 42)) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from requests->-r requirements.txt (line 42)) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from requests->-r requirements.txt (line 42)) (2022.6.15)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from requests->-r requirements.txt (line 42)) (1.26.12)
Collecting beautifulsoup4
  Downloading beautifulsoup4-4.11.1-py3-none-any.whl (128 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 kB 168.9 MB/s eta 0:00:00
Requirement already satisfied: zipp>=0.5 in /home/docs/checkouts/readthedocs.org/user_builds/pavics-magpie/envs/522/lib/python3.7/site-packages (from importlib-metadata->humanize->-r requirements.txt (line 24)) (3.8.1)
Collecting soupsieve>1.2
  Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB)
Collecting defusedxml
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Building wheels for collected packages: pyramid_beaker, beaker, dicttoxml, pyramid_chameleon, threddsclient, authomatic, Chameleon, paginate
  Building wheel for pyramid_beaker (setup.py): started
  Building wheel for pyramid_beaker (setup.py): finished with status 'done'
  Created wheel for pyramid_beaker: filename=pyramid_beaker-0.8-py3-none-any.whl size=7705 sha256=6c9c8e6d048b5fa6552d808536aeba3b14230b94e393165f138406a2244749ef
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/a6/fb/71/9e48605e7968873de6b0e297e9e3780c882c0670cb0ad47355
  Building wheel for beaker (setup.py): started
  Building wheel for beaker (setup.py): finished with status 'done'
  Created wheel for beaker: filename=Beaker-1.11.0-py3-none-any.whl size=52404 sha256=4c86e0116940642a46fa34b41a82f13da5d964f37ef4001c3b68c02bd7c6994b
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/d8/d1/71/fa7d184a5393e7bde85cfebc48592377665921b22ed3f5f3f0
  Building wheel for dicttoxml (setup.py): started
  Building wheel for dicttoxml (setup.py): finished with status 'done'
  Created wheel for dicttoxml: filename=dicttoxml-1.7.4-py3-none-any.whl size=17464 sha256=6777d5c91bd6a298bb9db4ff4a51a1491c863cd4069fb59ba0cc2a1d79240b4a
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/18/44/5a/c7b93703f611ae3b50820efbaf265413e6b183a56cbec6f661
  Building wheel for pyramid_chameleon (setup.py): started
  Building wheel for pyramid_chameleon (setup.py): finished with status 'done'
  Created wheel for pyramid_chameleon: filename=pyramid_chameleon-0.3-py3-none-any.whl size=14413 sha256=07f6e09bc5973a05a9c63395833ccabdda7656be736ba66a01ef310c4512baa3
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/08/f8/1e/852ce97b073ddfefcf2b4500f3c68305b441c9fa5f3ff9214d
  Building wheel for threddsclient (setup.py): started
  Building wheel for threddsclient (setup.py): finished with status 'done'
  Created wheel for threddsclient: filename=threddsclient-0.4.2-py3-none-any.whl size=12573 sha256=17fc47609ded5d262f4620f8e2ab1658f793c0866e715eb59de703b01b71642e
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/b7/b1/9e/5ed4396c157d37db1960943132fc93bd2abfadf4c07e72d182
  Building wheel for authomatic (pyproject.toml): started
  Building wheel for authomatic (pyproject.toml): finished with status 'done'
  Created wheel for authomatic: filename=Authomatic-1.0.1.dev0-py2.py3-none-any.whl size=109843 sha256=c33834e2929a914cbf0d8032479d0dda434844738c1360163b3af594082c9f4b
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/f0/6f/73/1aab3336beb595f02b0c913ffc8118ba571116446b0f00f962
  Building wheel for Chameleon (setup.py): started
  Building wheel for Chameleon (setup.py): finished with status 'done'
  Created wheel for Chameleon: filename=Chameleon-3.10.1-py2.py3-none-any.whl size=72177 sha256=bf9f40dc8cad7ba6707a6e9003c25874b080830065623af9ad704fb6a764c8bf
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/01/73/4a/d9fc60e7002aa2e59c7e065e5a93cc6eadb1a3d149628f19ec
  Building wheel for paginate (setup.py): started
  Building wheel for paginate (setup.py): finished with status 'done'
  Created wheel for paginate: filename=paginate-0.5.6-py3-none-any.whl size=12892 sha256=41ab83d15e54c0eb9670a16e0ec5719bce696105d1bd435f3e16ebd339d194d1
  Stored in directory: /tmp/pip-ephem-wheel-cache-jye01aqa/wheels/ad/c8/30/1d935b41c35a10d7573f8e935f88ae0fb3bdeaba3f7f5f66bb
Successfully built pyramid_beaker beaker dicttoxml pyramid_chameleon threddsclient authomatic Chameleon paginate
Installing collected packages: translationstring, python-editor, passlib, paginate, dicttoxml, beaker, authomatic, zope.interface, zope.deprecation, webob, venusian, sqlalchemy, soupsieve, simplejson, python-dotenv, psycopg2-binary, plaster, pastedeploy, paste, lxml, iso8601, hupper, gunicorn, defusedxml, Chameleon, bcrypt, transaction, sqlalchemy_utils, requests_file, python3-openid, pluggy, plaster-pastedeploy, paginate-sqlalchemy, mako, humanize, colander, beautifulsoup4, zope.sqlalchemy, threddsclient, pyramid, alembic, ziggurat_foundations, pyramid_tm, pyramid_retry, pyramid_mako, pyramid_chameleon, pyramid_beaker, cornice, cornice_swagger
Successfully installed Chameleon-3.10.1 alembic-1.4.3 authomatic-1.0.1.dev0 bcrypt-4.0.0 beaker-1.11.0 beautifulsoup4-4.11.1 colander-1.8.3 cornice-6.0.1 cornice_swagger-1.0.1 defusedxml-0.7.1 dicttoxml-1.7.4 gunicorn-20.1.0 humanize-4.3.0 hupper-1.10.3 iso8601-1.0.2 lxml-4.9.1 mako-1.2.2 paginate-0.5.6 paginate-sqlalchemy-0.3.1 passlib-1.7.4 paste-3.5.2 pastedeploy-2.1.1 plaster-1.0 plaster-pastedeploy-0.7 pluggy-1.0.0 psycopg2-binary-2.9.3 pyramid-1.10.8 pyramid_beaker-0.8 pyramid_chameleon-0.3 pyramid_mako-1.1.0 pyramid_retry-2.1.1 pyramid_tm-2.5 python-dotenv-0.20.0 python-editor-1.0.4 python3-openid-3.2.0 requests_file-1.5.1 simplejson-3.17.6 soupsieve-2.3.2.post1 sqlalchemy-1.3.22 sqlalchemy_utils-0.37.9 threddsclient-0.4.2 transaction-3.0.1 translationstring-1.4 venusian-3.0.0 webob-1.8.7 ziggurat_foundations-0.8.4 zope.deprecation-4.4.0 zope.interface-4.7.2 zope.sqlalchemy-1.6

Expected behavior

No error.

python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" output

Any 2.12.x version.

@jacobtylerwalls
Copy link
Member

Thanks for the report. The traceback is identical to pylint-dev/pylint#7429, fixed in astroid 2.12.9. This bug report doesn't specify which 2.12.x version was used. Please reopen if you can reproduce against the latest stable. Thanks!

@jacobtylerwalls jacobtylerwalls closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants