Skip to content

pip check should be able to detect broken packages (missing files) #8579

@ssbarnea

Description

@ssbarnea

I recently discovered that "pip check" is not able to detect broken installations where some files from the distributed package are missing.

This can happen quite easily with packages that do share same namespaces or that changed namespaces. A practical example is related to ansible and ansible-base.

Pip should check if all files from the dist are present and report an error, this may be slow so we may want to make this an optional feature, still very useful for validating the state of the packages present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: checkChecking dependency graph for consistencytype: enhancementImprovements to functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions