Invalid version reported by conda list / conda env export when replacing pip package with conda #11452
Labels
backlog
issue has been triaged but has not been earmarked for any upcoming release
severity::3
major; broken functionality with a workaround
source::community
catch-all for issues filed by community members
stale::recovered
[bot] recovered after being marked as stale
tag::pip
related to conda-pip issues
type::bug
describes erroneous operation, use severity::* to classify the type
What happened?
I created a conda env with some pip packages. I then updated that env to replace the pip package with a more recent conda one. The package seems to be updated but
conda list
andconda env export
still show the old pip package being installed.Here is to reproduce the issue:
1. Create environment
2. Update environment
requests 2.27.1 was properly installed but
conda list
andconda env export
still reports the version 2.26.0 being installed with pip. I guess it's because/opt/conda/envs/foo/lib/python3.9/site-packages/requests-2.26.0.dist-info
wasn't deleted.Conda Details
conda info
conda config
conda list
The text was updated successfully, but these errors were encountered: