conda env update
fails when notices are enabled and the base environment's python is being updated
#11847
Closed
2 tasks done
Labels
duplicate::primary
if an issue/PR has duplicates, this is the consolidated, primary issue/PR
in-progress
issue is actively being worked on
locked
[bot] locked due to inactivity
severity::2
critical; broken functionality with an unacceptably complex workaround
source::community
catch-all for issues filed by community members
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
This was first reported in this mamba issue:
mamba env update
failing at very end with certifi SSL issue mamba-org/mamba#1925The bug appears when updating
conda
's (ormamba
's) root/base environment's Python version. We have been able to successfully recreate this in linux Docker containers.How to recreate
Using this Dockerfile (or whatever other Dockerfile that has the latest
conda
installed)Build and run this docker image...
Once on the command line:
The following command will also trigger this error (do this instead of running
conda env update
)How to fix
We should look at how
CondaSession
and therequests
library handles loading TLS root certificates. There's a chance we may be able to load these ahead of time in memory to avoid these situations.Experimentation for a better solution is encouraged as well.
The text was updated successfully, but these errors were encountered: