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 trying to create a dependency graph for an open-source project with multiple submodules imported into the main file. Each of these modules, in turn, has several submodules. Since the init.py file is no longer mandatory for Python to recognize a module, I have not included it in any modules.
When I attempt to generate a dependency graph, none of the modules appear. Using the --include-missing flag starts displaying the modules in the graph, but any further imports within those modules do not show up. To verify if the issue was due to the missing init.py file, I added it to one module, and it worked perfectly, showing the module and subsequent imports without needing the --include-missing flag.
Since it is now common for packages not to include an init.py file, we should add support for this scenario. Please advise if I am missing something.
Thank you!
Python version - 3.10.15
pydeps version - 2.0.1
The text was updated successfully, but these errors were encountered:
Hi all,
I am trying to create a dependency graph for an open-source project with multiple submodules imported into the main file. Each of these modules, in turn, has several submodules. Since the init.py file is no longer mandatory for Python to recognize a module, I have not included it in any modules.
When I attempt to generate a dependency graph, none of the modules appear. Using the --include-missing flag starts displaying the modules in the graph, but any further imports within those modules do not show up. To verify if the issue was due to the missing init.py file, I added it to one module, and it worked perfectly, showing the module and subsequent imports without needing the --include-missing flag.
Since it is now common for packages not to include an init.py file, we should add support for this scenario. Please advise if I am missing something.
Thank you!
Python version - 3.10.15
pydeps version - 2.0.1
The text was updated successfully, but these errors were encountered: