Closed github-actions[bot] closed 2 years ago
So what seems to have happened:
certifi
as a dependency in a fresh Python 3.6 conda environment.
certifi-2016.9.26
installed into the fresh test environmentcertifi
to certifi-2021.10.8
but runs into trouble uninstalling the old version that was installed by conda and not pip. This does seem like it's necessary because something in our dependencies requires certifi>=2017.4.17
So it's installing this old version of certifi
because for some reason, the conda resolver is installing this old version of setuptools for Python 3.6.
setuptools-49.6.0
setuptools-58.0.4
I'm actually even able to reproduce this on my laptop which is osx-64
vs. the build's linux-64
. The conda resolver does this for some reason, but the mamba resolver does not.
Well, this is a little mysterious, and I'm not sure what the best way to fix it is:
conda update setuptools
doesn't do anything. certifi
updates it without the setuptools
complaining. Newer versions of certifi don't have this uninstallation error, so pip can uninstall them okay. I tried using mamba
and mambaforge
but something about mamba installations breaks on Windows.
Seems to suggest that something weird is going on between the conda resolver and the current conda metadata. We could maybe hard-code something to update certifi but that seems annoying to have baked into our CI. I'd prefer waiting to see if maybe it will just fix itself in a day or two.
I've opened an issue on the conda-forge Python feedstock. https://github.com/conda-forge/python-feedstock/issues/515
Workflow failed: tests #202