Support filtering "system" dependencies
See original GitHub issuepip_api.installed_distributions()
returns every visible distribution, which can potentially include distributions provided by the system/system package manager.
Issuing messages for these might not be desirable default behavior, for a few reasons:
- System-installed dependencies might be required by the system, and thus cannot be safely upgraded
- System-installed dependencies might be installed via a mechanism other than
pip
, so issued guidance might not always be applicable. - System-installed dependencies might be patched by distribution maintainers to remove known vulnerabilities, without updating the version number.
As such, it probably makes sense for the CLI to have option(s) that allow the user to enable (or disable) filtering of dependencies that look like they’re supplied by the system. This, in turn, requires us to come up with a reliable way of determining whether a given dependency is a “system” one.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Support filtering "system" dependencies #7 - pypa/pip-audit
System -installed dependencies might be installed via a mechanism other than pip , so issued guidance might not always be applicable. System- ...
Read more >Filtering issues with dependencies | Atlassian Support
When planning work across multiple streams, filtering issues with dependencies helps to quickly narrow down any potential blockers that need ...
Read more >What is a "Filter List" dependency? - Accompa
A "Filter List" field dependency causes the values in a picklist field to be dynamically filtered based on the value selected by the...
Read more >Filtering Files in Dependency Scanners
When you run the Static and Dynamic scanning wizards, you may find that they list as dependencies certain files that you do not...
Read more >Apache Maven Filtering – Project Dependencies
The following is a list of compile dependencies for this project. ... org.apache.maven.shared:maven-filtering:jar:3.3.0 [Information] ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Opened upstream tracking: https://github.com/di/pip-api/issues/101
Since this is going to involve manipulating virtual environments, it might be best to do #50 first.