Skip to content

Add --ignore flag to pip check #11157

@wolfv

Description

@wolfv

What's the problem this feature will solve?

We currently use pip check quite a bit in conda-forge to make sure that the dependency specifications that the dependencies that we have are correct.

However, some packages pip sometimes specifies as dependencies can also be proper "system"-packages which do not register as pip/python packages. That makes it hard to run pip check because of these "false negatives". Some examples are cmake, ninja, and likely some others.

Describe the solution you'd like

If we could add a --ignore flag and a corresponding environment variable that could help us quite a bit.

Alternative Solutions

Another solution would be to make pip check check if e.g. the ninja binary is on the $PATH -- but that's brittle. Another solution would be to register system packages as pip installed packages but that's also not a proper solution.

Additional context

https://github.com/FFY00/meson-python/issues/60

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: checkChecking dependency graph for consistencystate: awaiting PRFeature discussed, PR is neededtype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions