virtualenv-api
virtualenv-api copied to clipboard
Filter out comments from `pip freeze` output
I noticed that sometimes the pip freeze output can return comments, which can yield weird results when querying the installed_packages.
I'm not sure if there are other cases, but this definitely happens if you make an editable install with ve.install("-e blah/"). You get a comment like # Editable install with no version control (ansible-core and 2.11.5) in the pip freeze output.