Closed mkoeppe closed 4 years ago
Can you run conda list
on the env?
I don't know why it's picking ncurses from defaults. Can you add a condarc file with,
channel_priority: strict
and pass the location to the github action?
https://github.com/isuruf/sage-numerical-interactive-mip/commit/7acc4e1fb0a67c142e5d66cd732b153ac365ca45 should fix it. We require that conda-forge
is added as a channel and in the github action, python was installed which was from defaults
and then sage env file was installed, which meant ncurses
was not updated to the conda-forge package.
Thanks very much! This did the trick. Is there a way to do this just in the environment file, perhaps by pinning the versions of all packages?
Unfortunately no. You have to use a condarc file to add channel_priority
and pass it as in https://github.com/goanpeca/setup-miniconda#example-3-other-options
Is there a way to do this just in the environment file, perhaps by pinning the versions of all packages?
Ah, yes. If you pin all packages, then yes. You can even generate an environment file from a correct environment.
You can also do, https://github.com/isuruf/sage-numerical-interactive-mip/commit/48e6c58e439db54799f52a4ad2b4f973185bb18b to fix this particular problem.
Thanks very much!
Unfortunately no. You have to use a condarc file to add
channel_priority
and pass it as in https://github.com/goanpeca/setup-miniconda#example-3-other-options
With this I'm now getting
UnsatisfiableError: The following specifications were found to be incompatible with each other:
https://github.com/mkoeppe/sage-numerical-interactive-mip/runs/408666803 on the python3 macOS build
Do you have a conda list
from a previous build?
Thanks. Looks like only ipython
is coming from defaults
. Can you send a PR to the 5.x branch at ipython-feedstock to update it to python 3.7 ?
Thanks for investigating. I have opened the issue but I know too little about the conda build system to prepare a PR.
Issue: https://github.com/mkoeppe/sage-numerical-interactive-mip/runs/407950610?check_suite_focus=true
Environment (
conda list
):https://github.com/mkoeppe/sage-numerical-interactive-mip/blob/f7d6bdbf1f76e0b5123ca32a53ebd78f3011ac84/environment.yml