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

Remove openblas as anaconda recipe due to conflicts with conda-forge/armadillo. #107

Closed
wants to merge 1 commit into from

Conversation

dirmeier
Copy link

Having openblas on anaconda leads to conflicts when using openblas and armadillo as requirements on bioconda recipes. That is, one gets pulled from anaconda, while the other is pulled from conda-forge. Removing openblas from anaconda will resolve this.

@mingwandroid
Copy link

I'm sorry but there is no way we are going to remove packages because they are also on conda-forge.

@dirmeier
Copy link
Author

Alright, I understand. Is adding armadillo here an option, then? This would also work fine.

@ccordoba12
Copy link

ccordoba12 commented May 21, 2017

openblas is part of conda-forge too:

https://github.com/conda-forge/openblas-feedstock

so this could be a bug in conda? I mean, it seems conda is not pulling openblas from the right channel. What is your conda version?

@dirmeier
Copy link
Author

dirmeier commented May 22, 2017

It is not a bug in conda, I think, but with pulling from different channels. I.e. if I pull armadillo from conda-forge and openblas from defaults, I get linker errors. This happens for bioconda builds where the channel priority is: defaults > conda-forge. If I do it locally on my machine, where I can set the priorities myself (i.e. conda-forge > defaults), this is not an issue, because everything gets pulled from conda-forge.

The only solution, I think is, to install all dependencies/recipes on all channels or only on one channel.

Or am I wrong here?

@ccordoba12
Copy link

No, you're not wrong. You can't mix packages from defaults and conda-forge because they have different build specifications.

Please see this conda-forge/boost-feedstock#15 (comment) for an explanation.

In essence, you need to install conda-forge packages in a different conda environment from the root one.

@dirmeier
Copy link
Author

dirmeier commented May 25, 2017

Alright, so if I had all the right packages in the same channel should be working? For bioconda travis-builds this is an issue as I mentioned. Would it be ok for you if I created a pull-request that adds armadillo to anaconda?

@ccordoba12
Copy link

Would it be ok for you if I created a pull-request that adds armadillo to anaconda?

Sorry, we don't accept PRs to add new packages to Anaconda.

If bioconda is a different channel from conda-forge, and you have permissions to add packages to it, then you could move any conda-forge package to bioconda. That would solve your problem.

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

Successfully merging this pull request may close these issues.

3 participants