raimon49 / pip-licenses

Dump the license list of packages installed with pip.
MIT License
307 stars 43 forks source link

get_installed_distributions no longer available #118

Closed r-bird closed 2 years ago

r-bird commented 2 years ago

The internal function get_installed_distributions has been removed from pip in this commit.

It was used in piplicenses.py#L42 so this will break now.

Either import the function here or pin down pip < 21.3.

r-bird commented 2 years ago

Seems to be fixed with https://github.com/raimon49/pip-licenses/issues/113#issuecomment-940863377