8000 Failing to parse information from `pip show` · Issue #157 · sourcegraph/scip-python · GitHub
[go: up one dir, main page]

Skip to content

Failing to parse information from pip show #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rowillia opened this issue Aug 30, 2024 · 0 comments
Open

Failing to parse information from pip show #157

rowillia opened this issue Aug 30, 2024 · 0 comments

Comments

@rowillia
Copy link

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0