Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1979335 Details for
Bug 2226317
python-rope: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-25 19:46:33 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 19:46:33 UTC
Size:
32.00 KB
patch
obsolete
>ding_scope, self.expression) >rope/base/evaluate.py:39: in eval_str > return eval_str2(holding_scope, name)[1] >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:162: in _Attribute > if pyname.get_object() != rope.base.pyobjects.get_unknown(): >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff95ebc380> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >_______ PEP0484CommentNotImplementedAssignmentHintingTest.test_hint_attr _______ >self = <ropetest.type_hinting_test.PEP0484CommentNotImplementedAssignmentHintingTest testMethod=test_hint_attr> > def test_hint_attr(self): > code = ( > "class Sample(object):\n" > + self._make_class_hint("threading.Thread") > + " def a_method(self):\n" > " self.a_attr.is_a" > ) >> result = self._assist(code) >ropetest/type_hinting_test.py:103: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >ropetest/type_hinting_test.py:26: in _assist > return code_assist(self.project, code, offset, resource, **kwds) >rope/contrib/codeassist.py:53: in code_assist > return assist() >rope/contrib/codeassist.py:415: in __call__ > completions = list(self._code_completions().values()) >rope/contrib/codeassist.py:497: in _code_completions > result.update(self._dotted_completions(module_scope, inner_scope)) >rope/contrib/codeassist.py:422: in _dotted_completions > found_pyname = rope.base.evaluate.eval_str(holding_scope, self.expression) >rope/base/evaluate.py:39: in eval_str > return eval_str2(holding_scope, name)[1] >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:162: in _Attribute > if pyname.get_object() != rope.base.pyobjects.get_unknown(): >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff959ccef0> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >_ PEP0484CommentNotImplementedAssignmentHintingTest.test_hint_attr_for_post_defined_type _ >self = <ropetest.type_hinting_test.PEP0484CommentNotImplementedAssignmentHintingTest testMethod=test_hint_attr_for_post_defined_type> > def test_hint_attr_for_post_defined_type(self): > code = ( > "class Sample(object):\n" > + self._make_class_hint("Other") > + " def a_method(self):\n" > " self.a_attr.is_a" > ) > offset = len(code) > code += ( > "\n\n" "class Other(object):\n" " def is_alive(self):\n" " pass\n" > ) >> result = self._assist(code, offset) >ropetest/type_hinting_test.py:181: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >ropetest/type_hinting_test.py:26: in _assist > return code_assist(self.project, code, offset, resource, **kwds) >rope/contrib/codeassist.py:53: in code_assist > return assist() >rope/contrib/codeassist.py:415: in __call__ > completions = list(self._code_completions().values()) >rope/contrib/codeassist.py:497: in _code_completions > result.update(self._dotted_completions(module_scope, inner_scope)) >rope/contrib/codeassist.py:422: in _dotted_completions > found_pyname = rope.base.evaluate.eval_str(holding_scope, self.expression) >rope/base/evaluate.py:39: in eval_str > return eval_str2(holding_scope, name)[1] >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:162: in _Attribute > if pyname.get_object() != rope.base.pyobjects.get_unknown(): >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff96537d10> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >_ PEP0484CommentNotImplementedAssignmentHintingTest.test_hint_attr_for_pre_defined_type _ >self = <ropetest.type_hinting_test.PEP0484CommentNotImplementedAssignmentHintingTest testMethod=test_hint_attr_for_pre_defined_type> > def test_hint_attr_for_pre_defined_type(self): > code = ( > "class Other(object):\n" > " def is_alive(self):\n" > " pass\n" > "\n\n" > "class Sample(object):\n" > + self._make_class_hint("Other") > + " def a_method(self):\n" > " self.a_attr.is_a" > ) >> result = self._assist(code) >ropetest/type_hinting_test.py:167: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >ropetest/type_hinting_test.py:26: in _assist > return code_assist(self.project, code, offset, resource, **kwds) >rope/contrib/codeassist.py:53: in code_assist > return assist() >rope/contrib/codeassist.py:415: in __call__ > completions = list(self._code_completions().values()) >rope/contrib/codeassist.py:497: in _code_completions > result.update(self._dotted_completions(module_scope, inner_scope)) >rope/contrib/codeassist.py:422: in _dotted_completions > found_pyname = rope.base.evaluate.eval_str(holding_scope, self.expression) >rope/base/evaluate.py:39: in eval_str > return eval_str2(holding_scope, name)[1] >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:162: in _Attribute > if pyname.get_object() != rope.base.pyobjects.get_unknown(): >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff956da030> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >_ PEP0484CommentNotImplementedAssignmentHintingTest.test_hint_attr_redefined_by_constructor _ >self = <ropetest.type_hinting_test.PEP0484CommentNotImplementedAssignmentHintingTest testMethod=test_hint_attr_redefined_by_constructor> > def test_hint_attr_redefined_by_constructor(self): > code = ( > "class Sample(object):\n" > + self._make_class_hint("threading.Thread") > + " def __init__(self):\n" > " self.a_attr = None\n" > " def a_method(self):\n" > " self.a_attr.is_a" > ) >> result = self._assist(code) >ropetest/type_hinting_test.py:139: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >ropetest/type_hinting_test.py:26: in _assist > return code_assist(self.project, code, offset, resource, **kwds) >rope/contrib/codeassist.py:53: in code_assist > return assist() >rope/contrib/codeassist.py:415: in __call__ > completions = list(self._code_completions().values()) >rope/contrib/codeassist.py:497: in _code_completions > result.update(self._dotted_completions(module_scope, inner_scope)) >rope/contrib/codeassist.py:422: in _dotted_completions > found_pyname = rope.base.evaluate.eval_str(holding_scope, self.expression) >rope/base/evaluate.py:39: in eval_str > return eval_str2(holding_scope, name)[1] >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:162: in _Attribute > if pyname.get_object() != rope.base.pyobjects.get_unknown(): >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff9560a2a0> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >_ PEP0484CommentNotImplementedAssignmentHintingTest.test_hint_defined_by_constructor _ >self = <ropetest.type_hinting_test.PEP0484CommentNotImplementedAssignmentHintingTest testMethod=test_hint_defined_by_constructor> > def test_hint_defined_by_constructor(self): > code = ( > "class Sample(object):\n" > " def __init__(self, arg):\n" > + self._make_constructor_hint("threading.Thread") > + " def a_method(self):\n" > " self.a_attr.is_a" > ) >> result = self._assist(code) >ropetest/type_hinting_test.py:127: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >ropetest/type_hinting_test.py:26: in _assist > return code_assist(self.project, code, offset, resource, **kwds) >rope/contrib/codeassist.py:53: in code_assist > return assist() >rope/contrib/codeassist.py:415: in __call__ > completions = list(self._code_completions().values()) >rope/contrib/codeassist.py:497: in _code_completions > result.update(self._dotted_completions(module_scope, inner_scope)) >rope/contrib/codeassist.py:422: in _dotted_completions > found_pyname = rope.base.evaluate.eval_str(holding_scope, self.expression) >rope/base/evaluate.py:39: in eval_str > return eval_str2(holding_scope, name)[1] >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:162: in _Attribute > if pyname.get_object() != rope.base.pyobjects.get_unknown(): >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff96478950> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >_ ChangeSignatureTest.test_changing_signature_for_constructors_when_using_super _ >self = <ropetest.refactor.change_signature_test.ChangeSignatureTest testMethod=test_changing_signature_for_constructors_when_using_super> > def test_changing_signature_for_constructors_when_using_super(self): > self.mod.write( > dedent("""\ > class A(object): > def __init__(self, p): > pass > class B(A): > def __init__(self, p): > super(B, self).__init__(p) > """) > ) > signature = change_signature.ChangeSignature( > self.project, self.mod, self.mod.read().index("__init__") + 1 > ) >> signature.get_changes([change_signature.ArgumentRemover(1)]).do() >ropetest/refactor/change_signature_test.py:846: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >rope/refactor/change_signature.py:167: in get_changes > return self._change_calls( >rope/refactor/change_signature.py:78: in _change_calls > changed_file = change_calls.get_changed_module() >rope/refactor/change_signature.py:332: in get_changed_module > for occurrence in self.occurrence_finder.find_occurrences(self.resource): >rope/refactor/change_signature.py:376: in find_occurrences > all_occurrences.extend(finder.find_occurrences(resource, pymodule)) >rope/refactor/occurrences.py:80: in find_occurrences > result = filter(occurrence) >rope/refactor/occurrences.py:224: in __call__ > if same_pyname(self.pyname, occurrence.get_pyname()): >rope/base/utils/__init__.py:12: in _wrapper > setattr(self, name, func(self, *args, **kwds)) >rope/refactor/occurrences.py:147: in get_pyname > return self.tools.name_finder.get_pyname_at(self.offset) >rope/base/evaluate.py:83: in get_pyname_at > return self.get_primary_and_pyname_at(offset)[1] >rope/base/evaluate.py:119: in get_primary_and_pyname_at > return eval_str2(holding_scope, name) >rope/base/evaluate.py:48: in eval_str2 > return eval_node2(holding_scope, node) >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:42: in walk > walk(child, walker) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:158: in _Attribute > pyname = eval_node(self.scope, node.value) >rope/base/evaluate.py:29: in eval_node > return eval_node2(scope, node)[1] >rope/base/evaluate.py:34: in eval_node2 > ast.walk(node, evaluator) >rope/base/ast.py:40: in walk > return method(node) >rope/base/evaluate.py:194: in _Call > pyobject=_get_returned(pyfunction) >rope/base/evaluate.py:175: in _get_returned > return pyobject.get_returned_object(args) >rope/base/builtins.py:105: in get_returned_object > return self.function(_CallContext(self.argnames, args)) >rope/base/builtins.py:793: in _super_function > passed_class, passed_self = args.get_arguments(["type", "self"]) >rope/base/builtins.py:206: in get_arguments > return self.args.get_arguments(argnames) >rope/base/arguments.py:24: in get_arguments > result.append(pyname.get_object()) >rope/base/pynamesdef.py:44: in get_object > result = self.pyfunction.get_parameter(self.index) >rope/base/pyobjectsdef.py:76: in get_parameter > if index < len(self.parameter_pyobjects.get()): >rope/base/utils/__init__.py:32: in newfunc > return func(self, *args, **kwds) >rope/base/pynames.py:187: in get > self.set(self.get_inferred(*args, **kwds)) >rope/base/pyobjectsdef.py:47: in _infer_parameters > pyobjects = rope.base.oi.soi.infer_parameter_objects(self) >rope/base/utils/__init__.py:47: in newfunc > return func(*args, **kwds) >rope/base/oi/soi.py:47: in infer_parameter_objects > result = _parameter_objects(pyfunction) >rope/base/oi/soi.py:135: in _parameter_objects > type_ = hint_param(pyobject, name) >rope/base/oi/type_hinting/providers/inheritance.py:20: in __call__ > result = self._delegate(superfunc, param_name) >rope/base/oi/type_hinting/providers/composite.py:18: in __call__ > result = delegate(pyfunc, param_name) >rope/base/oi/type_hinting/providers/docstrings.py:45: in __call__ > type_strs = self._parse_docstring(pyfunc.get_doc(), param_name) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <rope.base.pyobjectsdef.PyFunction object at 0x3ff95658f50> > def get_doc(self): > if len(self.get_ast().body) > 0: > expr = self.get_ast().body[0] >> if isinstance(expr, ast.Expr) and isinstance(expr.value, ast.Str): >E AttributeError: module 'rope.base.ast' has no attribute 'Str' >rope/base/pyobjects.py:217: AttributeError >=============================== warnings summary =============================== >ropetest/testutils.py:116 > /builddir/build/BUILD/rope-0.22.0/ropetest/testutils.py:116: PytestUnknownMarkWarning: Unknown pytest.mark.time_limit - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > return pytest.mark.time_limit(timeout) >ropetest/type_hinting_test.py: 76 warnings >ropetest/refactor/change_signature_test.py: 40 warnings > /builddir/build/BUILD/rope-0.22.0/rope/base/project.py:222: DeprecationWarning: Delete once deprecated functions are gone > self._init_source_folders() >ropetest/type_hinting_test.py: 23 warnings >ropetest/refactor/change_signature_test.py: 1 warning > /builddir/build/BUILD/rope-0.22.0/rope/base/evaluate.py:207: DeprecationWarning: Attribute n is deprecated and will be removed in Python 3.14; use value instead > type_name = type(node.n).__name__ >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >FAILED ropetest/type_hinting_test.py::DocstringParamHintingTest::test_hierarchical_hint_param >FAILED ropetest/type_hinting_test.py::DocstringParamHintingTest::test_hint_param >FAILED ropetest/type_hinting_test.py::DocstringReturnHintingTest::test_hierarchical_hint_rtype >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hierarchical_hint_attr >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hierarchical_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_attr >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_attr_for_post_defined_type >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_attr_for_pre_defined_type >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_defined_by_constructor >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_invalid_syntax >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_nonexistent >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_or >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_dict_key >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_dict_value >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_iterable >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_iterator >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_list >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_nested_tuple_list >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_set >FAILED ropetest/type_hinting_test.py::DocstringNoneAssignmentHintingTest::test_hint_parametrized_tuple >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hierarchical_hint_attr >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hierarchical_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_attr >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_attr_for_post_defined_type >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_attr_for_pre_defined_type >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_defined_by_constructor >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_invalid_syntax >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_nonexistent >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_or >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_dict_key >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_dict_value >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_iterable >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_iterator >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_list >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_nested_tuple_list >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_set >FAILED ropetest/type_hinting_test.py::DocstringNotImplementedAssignmentHintingTest::test_hint_parametrized_tuple >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hierarchical_hint_attr >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hierarchical_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hint_attr >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hint_attr_for_post_defined_type >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hint_attr_for_pre_defined_type >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::PEP0484CommentNoneAssignmentHintingTest::test_hint_defined_by_constructor >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hierarchical_hint_attr >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hierarchical_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hint_attr >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hint_attr_for_post_defined_type >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hint_attr_for_pre_defined_type >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hint_attr_redefined_by_constructor >FAILED ropetest/type_hinting_test.py::PEP0484CommentNotImplementedAssignmentHintingTest::test_hint_defined_by_constructor >FAILED ropetest/refactor/change_signature_test.py::ChangeSignatureTest::test_changing_signature_for_constructors_when_using_super >========= 54 failed, 81 passed, 60 deselected, 141 warnings in 10.42s ========== >error: Bad exit status from /var/tmp/rpm-tmp.nEnFVK (%check) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.nEnFVK (%check) >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M c285f6f4ed7943c58f94ba208c823a52 -D /var/lib/mock/f39-build-44341772-5276626/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.v4hnbimk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-rope.spec\n', 1)] >Traceback (most recent call last): > File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M c285f6f4ed7943c58f94ba208c823a52 -D /var/lib/mock/f39-build-44341772-5276626/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.v4hnbimk:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-rope.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2226317
: 1979335 |
1979336
|
1979337