Closed vonschultz closed 1 year ago
echo import someimportforillustrationpurposes > a.py echo import a > b.py echo import b > c.py
Using pydeps version 1.11.2, the following works perfectly, reporting that c only imports b:
c
b
pydeps --include-missing --show-deps c.py
The graph is someimportforillustrationpurposes → a → b → c, with no other dependency arrows.
someimportforillustrationpurposes
a
Using pydeps version 1.12.2, the following works reports that c.py imports both a and b:
c.py
The graph is someimportforillustrationpurposes → a → b → c.py with an extra arrow from a to c.py.
@vonschultz thanks for the bug-report. It should be fixed in v1.12.3 available on PyPI.
Thanks. Looks good.
Setup
Old behavior / Expected behavior
Using pydeps version 1.11.2, the following works perfectly, reporting that
c
only importsb
:The graph is
someimportforillustrationpurposes
→a
→b
→c
, with no other dependency arrows.New behavior / Unexpected behavior
Using pydeps version 1.12.2, the following works reports that
c.py
imports botha
andb
:The graph is
someimportforillustrationpurposes
→a
→b
→c.py
with an extra arrow froma
toc.py
.