Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Unsupported pip interface should not be used, use interface provided by setuptools #2678

Closed
deliciouslytyped opened this issue Mar 11, 2019 · 1 comment

Comments

@deliciouslytyped
Copy link

deliciouslytyped commented Mar 11, 2019

I've run into an error from

for package in pip.get_installed_distributions()
caused by a pip internal api change.

The following issue describes why this is a bad idea and directly provides an alternative in setuptools:
pypa/pip#5243

(anecdotally; on NixOS, downgrading pip gives a version that's not in the binary caches, and results in needing to recompile almost every python dependency involved with Cuckoo, which is reasonable given how NixOS works, it just takes a while.)

@deliciouslytyped deliciouslytyped changed the title Unsupported pip interfaces should not be used, use interfaces provided by setuptools Unsupported pip interface should not be used, use interface provided by setuptools Mar 11, 2019
jbremer pushed a commit that referenced this issue Apr 23, 2019
@jbremer
Copy link
Member

jbremer commented Apr 23, 2019

In the latest (unreleased) version of Cuckoo this has been resolved. Thanks for reporting it and thanks to @luis-hebendanz for the fix.

@jbremer jbremer closed this as completed Apr 23, 2019
zaphodef pushed a commit to zaphodef/cuckoo that referenced this issue Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants