Open moi90 opened 1 year ago
Thanks for the report!
Do you install from lockfiles with conda-lock
or micromamba
?
Since you're currently working on the main
branch, due to the bug #411, in the event that you install from lockfiles with conda-lock
, then you should instead inject git+https://github.com/maresb/conda-lock@fix-411
as per #412.
this is being caused by urllib3 >=2. If you downgrade urllib3 to pre 2.0 things should work
Thanks, @mariusvniekerk, but we already knew this ;) (Commit 5a33053 pins urllib3 to <2.0.0)
The fix referenced above is merged into main
, and I expect to cut a new release within a few days.
Very cool, thanks!
Checklist
What happened?
I installed conda-lock using pipx. After the installation, the
conda-lock
command fails with the following stacktrace:I suspect a version problem with urllib3. Recently, 2.0 was released which also caused problems elsewere, e.g. https://github.com/python-poetry/poetry/issues/7936.
I see that this is already fixed in 5a33053, but it seams that this fix is not yet on PyPI.
I solved the problem doing the following:
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response