You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running bump-pydancit I ended up in the following error:
An error happened on infisicalapi_client/__init__.py. Traceback (most recent call last): File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/bump_pydantic/main.py", line 187, in run_codemods output_tree = transformer.transform_module(input_tree) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/codemod/_command.py", line 71, in transform_module tree = super().transform_module(tree) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/codemod/_codemod.py", line 108, in transform_module return self.transform_module_impl(tree_with_metadata) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/codemod/_visitor.py", line 32, in transform_module_impl return tree.visit(self) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/_nodes/module.py", line 89, in visit result = super(Module, self).visit(visitor) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/_nodes/base.py", line 218, in visit should_visit_children = visitor.on_visit(self) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_visitors.py", line 498, in on_visit _visit_constructed_funcs(self._extra_visit_funcs, self._matchers, node, self) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_visitors.py", line 434, in _visit_constructed_funcs if matches(node, matcher, metadata_resolver=metadata_resolver): File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1596, in matches return extract(node, matcher, metadata_resolver=metadata_resolver) is not None File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1572, in extract return _matches(node, matcher, fetcher) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1487, in _matches return _node_matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1434, in _node_matches attribute_capture = _attribute_matches(actual, desired, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1273, in _attribute_matches return _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1141, in _sequence_matches result = _sequence_matches(nodes[1:], matchers, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1141, in _sequence_matches result = _sequence_matches(nodes[1:], matchers, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1141, in _sequence_matches result = _sequence_matches(nodes[1:], matchers, metadata_lookup) [Previous line repeated 938 more times] File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1153, in _sequence_matches _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1179, in _sequence_matches match_capture = _matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1487, in _matches return _node_matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1434, in _node_matches attribute_capture = _attribute_matches(actual, desired, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1273, in _attribute_matches return _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1153, in _sequence_matches _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1179, in _sequence_matches match_capture = _matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1474, in _matches node_capture = _node_matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1434, in _node_matches attribute_capture = _attribute_matches(actual, desired, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1238, in _attribute_matches if isinstance(node, collections.abc.Sequence): File "/usr/lib/python3.10/abc.py", line 119, in __instancecheck__ return _abc_instancecheck(cls, instance) File "/usr/lib/python3.10/abc.py", line 123, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) File "/usr/lib/python3.10/abc.py", line 123, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) RecursionError: maximum recursion depth exceeded
I noticed that when I inserted
`import sys
sys.setrecursionlimit(2000)
`
I did not get the error again. Although this "solved" the issue, it does not seem like a proper solution.
Please, could you provide me further info?
The text was updated successfully, but these errors were encountered:
While running bump-pydancit I ended up in the following error:
An error happened on infisicalapi_client/__init__.py. Traceback (most recent call last): File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/bump_pydantic/main.py", line 187, in run_codemods output_tree = transformer.transform_module(input_tree) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/codemod/_command.py", line 71, in transform_module tree = super().transform_module(tree) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/codemod/_codemod.py", line 108, in transform_module return self.transform_module_impl(tree_with_metadata) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/codemod/_visitor.py", line 32, in transform_module_impl return tree.visit(self) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/_nodes/module.py", line 89, in visit result = super(Module, self).visit(visitor) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/_nodes/base.py", line 218, in visit should_visit_children = visitor.on_visit(self) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_visitors.py", line 498, in on_visit _visit_constructed_funcs(self._extra_visit_funcs, self._matchers, node, self) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_visitors.py", line 434, in _visit_constructed_funcs if matches(node, matcher, metadata_resolver=metadata_resolver): File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1596, in matches return extract(node, matcher, metadata_resolver=metadata_resolver) is not None File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1572, in extract return _matches(node, matcher, fetcher) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1487, in _matches return _node_matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1434, in _node_matches attribute_capture = _attribute_matches(actual, desired, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1273, in _attribute_matches return _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1141, in _sequence_matches result = _sequence_matches(nodes[1:], matchers, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1141, in _sequence_matches result = _sequence_matches(nodes[1:], matchers, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1141, in _sequence_matches result = _sequence_matches(nodes[1:], matchers, metadata_lookup) [Previous line repeated 938 more times] File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1153, in _sequence_matches _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1179, in _sequence_matches match_capture = _matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1487, in _matches return _node_matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1434, in _node_matches attribute_capture = _attribute_matches(actual, desired, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1273, in _attribute_matches return _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1153, in _sequence_matches _sequence_matches( File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1179, in _sequence_matches match_capture = _matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1474, in _matches node_capture = _node_matches(node, matcher, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1434, in _node_matches attribute_capture = _attribute_matches(actual, desired, metadata_lookup) File "/home/leon/Documents/BG Data/projetos/infisical-python-client/.venv/lib/python3.10/site-packages/libcst/matchers/_matcher_base.py", line 1238, in _attribute_matches if isinstance(node, collections.abc.Sequence): File "/usr/lib/python3.10/abc.py", line 119, in __instancecheck__ return _abc_instancecheck(cls, instance) File "/usr/lib/python3.10/abc.py", line 123, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) File "/usr/lib/python3.10/abc.py", line 123, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) RecursionError: maximum recursion depth exceeded
I noticed that when I inserted
`import sys
sys.setrecursionlimit(2000)
`
I did not get the error again. Although this "solved" the issue, it does not seem like a proper solution.
Please, could you provide me further info?
The text was updated successfully, but these errors were encountered: