johnnydep
johnnydep copied to clipboard
It works very long
Hello!
I use the johnnydep
lib for build dependencies graph.
It took 1.5 hours to build dependencies of pysal
lib. I run it from cmd, the command is johnnydep.exe pysal
Is it reasonable to work for so long?
The johnnydep version is 1.20.2, the internet speed is quite high
Can not reproduce. For me this tree rendered in 2 and a half minutes:
That's not fast, and there is definitely room for improvement, but nothing like 1.5 hours! Since you're on Windows platform perhaps some of the dependencies in this tree did not have .whl available on PyPI and so they had to be compiled from sdist, that could explain such a long runtime.
I'm having the same problem on both ubuntu and mac. We use johnnydep as part of our opensource tool and all my workflows are timing out.
This guy now takes 1+hr per run on a clean vm: https://github.com/StartupOS/verinfast/blob/main/src/verinfast/dependencies/walkers/python.py
v2.0.0 will be significantly faster (coming soon)
Anything I can do to help? Happy to cut PRs/close issues if there's anything useful I can contribute.