-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Defaults and conda-forge incompatibilities #434
Comments
Thanks @isuruf. Maybe we should be making the docs more explicit on this point as well. What do you think? |
If you use conda-build 3's pin_compatible functionality, a lot of this inter-channel incompatibility goes away, because the more intelligent constraints mean that you won't actually be able to install incompatible software. Not that this is an immediate option, but more of a reminder that channel priority is not the end-all solution here. The better solution is for packages to capture enough compatibility information that mixing channels with confidence is actually possible. |
Should we move this to the docs? Admittedly it would be great if this wasn't an issue, but it seems we are still a long ways off. Not to mention it remains unclear how we would actually test all combinations of packages between the two channels in any reasonable way. |
FWIW I install a fairly large environment from both channels with
There are other packaging issues (ClobberErrors) with |
Actually, it seems there are pretty big problems mixing R from In conda/conda#7459 (comment) @mbargull suggested |
Even when explicit about channels, I still have problems. In the following, on Mac OS X,
In contrast, the Travis build and test get
I (think I) can pass How do I ensure that the same, compatible, version of |
@guyer conda really does respect channel priority. Here you have features taking priority, though. Conda tries to minimize the number of features in an env. If you instead force a specific blas implementation (which is associated with a feature), you can get conda to avoid the MKL builds. Those are being chosen because they do not have a track_feature, whereas the openblas numpy stuff does. |
Without it, [run risk of getting incompatible mkl numpy](conda-forge/conda-forge.github.io#434 (comment))
This issue is created to remind that conda-forge and defaults have incompatibilities. To fix this, there are two ways.
conda-forge
channel must have higher priority thandefaults
channel. To check, runconda config --get channels
which gives you the channel priority order.conda config --add channels conda-forge
would makeconda-forge
the highest priority channel.When creating conda-forge packages, make sure the dependencies come from conda-forge. (There are few like
libgcc
thatconda-forge
is relying on defaults). If there's a dependency missing in conda-forge, add them as well because this missing dependency pulled in from defaults might be relying on the behaviour of another package in defaults which would conflict with conda-forge.The text was updated successfully, but these errors were encountered: