Skip to content

Failing to parse information from pip show #157

Description

@rowillia

It appears that the pip show output parser assumes any line that doesn't contain a single : should be a file:

https://github.com/sourcegraph/scip-python/blame/3981912ea11f0ce0795706d3a54bae4c72555f02/packages/pyright-scip/src/virtualenv/PythonPackage.ts#L21-L34

This breaks, for example, on the Home Page line:

$ pip show cattrs
Name: cattrs
Version: 23.1.2
Summary: Composable complex class support for attrs and dataclasses.
Home-page: https://github.com/python-attrs/cattrs
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions