conda list misses pip-installed wheels

Created on 17 Jun 2016  路  3Comments  路  Source: conda/conda

As of conda 4.1, conda list no longer captures python packages that were pip-installed and were installed from wheels.

https://www.python.org/dev/peps/pep-0427/#id14

CC @ilanschnell

type-bug

Most helpful comment

Voila https://github.com/conda/conda/pull/2870
There is almost no risk to merging this, and it would be awesome to see this in the conda 4.1.4 release!

All 3 comments

This is actually a real issue now because the large majority of packages on PyPI are distributed as sdists, and now on install, pip force-compiles sdists to wheels, then installs those wheels.

How about we use something like this:

import pkgutil
packages = [p[1] for p in pkgutil.iter_modules()]

The problem is that from whatever pkgutil.iter_modules() returns, it is hard to tell whether or nor the installed package is a conda package or not. The point of the new conda.egginfo module, part from not having to call out to pip, is that conda knows which .egg-info files are "untracked" (not part of any conda package). I think the best solution is to extend conda.egginfo to handle these new meta-data files also.

Voila https://github.com/conda/conda/pull/2870
There is almost no risk to merging this, and it would be awesome to see this in the conda 4.1.4 release!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

readmanchiu picture readmanchiu  路  3Comments

mathoha picture mathoha  路  3Comments

Gabrielvon picture Gabrielvon  路  3Comments

jooh picture jooh  路  3Comments

ark00 picture ark00  路  3Comments