Remove transitive dependencies from "in" requirements files - #1683
Open
annamontare-nava wants to merge 6 commits into
Open
Remove transitive dependencies from "in" requirements files#1683annamontare-nava wants to merge 6 commits into
annamontare-nava wants to merge 6 commits into
Conversation
annamontare-nava
marked this pull request as ready for review
August 6, 2026 15:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA Ticket:
n/a
What Does This PR Do?
Removes transitive and completely unused Python dependencies from "in" requirements files.
Transitive dependencies are those that are not directly used by our project's code, but are required by a dependency of our project's code (or that dependency's dependency, etc.).
Why?
In particular, this removes the following dependencies from our project:
What Should Reviewers Watch For?
If you're reviewing this PR, please check for these things in particular:
Validation
Packages that were not actually used in our code directly were identified with deptry. For each package, I verified the import name (since it can be different than the package name)by skimming the package documentation, manually searched the repo using
rgfor any mentions of the import name or package name, and checkeduv pip showto see what required that package. I also noted if the intro pages of the package's documentation mentioned any other ways of including the package besides Python imports.Validation steps taken:
What Security Implications Does This PR Have?
Please indicate if this PR does any of the following:
security engineer's approval.
Any Migrations?
etc)