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
I am experiencing a RecursionError when using python-inspector to analyze a project that includes sphinx-rtd-theme as a dependency. This error seems to occur during the dependency resolution process.
Steps to Reproduce
Create a requirements.txt file with the following content:
I expected python-inspector to analyze the project's dependencies without any issues.
Actual Behavior
The python-inspector command results in a RecursionError. The detailed error output is as follows:
dependencies = [pdt_dfs(mapping, graph, c) for c in children]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/inderpal.singh/.pyenv/versions/3.11.5/lib/python3.11/site-packages/python_inspector/resolution.py", line 739, in <listcomp>
dependencies = [pdt_dfs(mapping, graph, c) for c in children]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/inderpal.singh/.pyenv/versions/3.11.5/lib/python3.11/site-packages/python_inspector/resolution.py", line 736, in pdt_dfs
key=src, package_name=src, installed_version=str(mapping[src].version), dependencies=[]
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/inderpal.singh/.pyenv/versions/3.11.5/lib/python3.11/site-packages/packvers/version.py", line 301, in __str__
parts.append(".".join(str(x) for x in self.release))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
The text was updated successfully, but these errors were encountered:
However I realised that these contrib packages had mix-matched versions with the downstream Sphinx dependencies. Moving them on one incremental version seems to avoid the issue.
Description
I am experiencing a
RecursionError
when usingpython-inspector
to analyze a project that includessphinx-rtd-theme
as a dependency. This error seems to occur during the dependency resolution process.Steps to Reproduce
requirements.txt
file with the following content:python-inspector
with the following command:Expected Behavior
I expected
python-inspector
to analyze the project's dependencies without any issues.Actual Behavior
The
python-inspector
command results in aRecursionError
. The detailed error output is as follows:The text was updated successfully, but these errors were encountered: