News for hackers. Stuff that matters.
Re:Show HN: deptry 0.14.0 – detect unused Python dependencie... by eatox on Saturday March 16, 2024 @11:21AM (#39726697)
On the contrary, it does see those imports, and indicates that those dependencies are used, but are not direct dependencies in your dependency tree, and instead installed because other dependencies rely on them: https://fpgmaas.github.io/deptry/rules-violations/#transitiv...
Re:Show HN: deptry 0.14.0 – detect unused Python dependencie... by globular-toast on Saturday March 16, 2024 @01:58PM (#39727999)
That's really useful. I find it really common for people to import transitive dependencies in python. A common one is putting something like matplotlib in deps then directly importing numpy. Seems to happen all the time.
Re:Show HN: deptry 0.14.0 – detect unused Python dependencie... by infocollector on Saturday March 16, 2024 @03:34PM (#39728786)
Thank you for catching this! Indeed its not a bug.