Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda-build hangs forever on Mac OS -- scipy seems to be the culprit #1

Open
brian-rose opened this issue Mar 19, 2019 · 1 comment

Comments

@brian-rose
Copy link
Owner

I created this minimal example of what appears to be the same problem affecting the build of climlab, e.g. https://github.com/brian-rose/climlab/issues/88, conda/conda-build#3395

This package will build and test properly when you execute

conda build conda-recipe

from the root directory.

However if scipy is included in the run dependencies (remove the comment in meta.yaml), then conda-build will hang forever as described in the above issues.

@brian-rose
Copy link
Owner Author

As discussed in https://github.com/brian-rose/climlab/issues/88, the problem goes away with a particular conda configuration:

conda config --add channels conda-forge
conda config --add channels defaults
conda install pycryptosat conda-build
conda config --set sat_solver pycryptosat
conda config --set channel_priority strict

so that the .condarc file looks like

channels:
  - defaults
  - conda-forge
sat_solver: pycryptosat
channel_priority: strict

With this configuration the minimal package builds and tests successfully even when including scipy in the run dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant