Feature request: A native Rust replacement for Deptry #26730
christianledermann-arch
started this conversation in
Ideas
Replies: 1 comment
|
It's something we'd like to build. See #10015 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
There is currently no native Rust tool in the Astral ecosystem for detecting missing, unused, and transitive Python dependencies.
Deptry fills this gap today.
Proposed solution
Add a new tool to the Astral ecosystem that provides Deptry-equivalent functionality for static dependency analysis.
Rather than reimplementing the underlying analysis, the tool should compose the existing Astral crates responsible for parsing Python source, discovering imports, resolving modules, and semantic analysis where appropriate (including the
tycrates if they are a good fit).The goal would be to provide a fast, native Rust alternative to Deptry that shares infrastructure with the rest of the Astral ecosystem instead of maintaining a separate Python implementation.
Motivation
A native implementation would:
All reactions