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

external variants pulled in first #95

Open
beckermr opened this issue May 31, 2024 · 5 comments
Open

external variants pulled in first #95

beckermr opened this issue May 31, 2024 · 5 comments

Comments

@beckermr
Copy link
Member

Similar to openmpi, the mamba solver is pulling in the external variants first. We should deploy the same fix here, namely making sure the external packages have the same deps as the real ones to help the solver.

I have also made a virtual package https://github.com/regro/conda-forge-conda-plugins with the mpich version so that we can try that out.

@beckermr
Copy link
Member Author

cc @jaimergp @minrk

@beckermr
Copy link
Member Author

@minrk
Copy link
Member

minrk commented Dec 18, 2024

I've come back to this, and I think it may come down to feature minimization, because if there's even one feature in any dependency of the 'real' builds, 'external' will be preferred, no matter how old the build or version is.

weighing down 'external' with enough features may do the trick. For it to work, though, we would need to ensure that external builds have at least as many features as all dependencies combined (plus one?). We would also have to make sure we apply the features to all past external builds.

How would we go about requiring the plugin virtual package? I think it's a really cool idea.

@beckermr
Copy link
Member Author

The plugin exists and works. However, it only works with conda, and not mamba or rattler. So we'd have to solve that issue first. The problem is that the plugin is written in python and mamba + rattler do not have support for it. I made a proposal to fix this as a cep by moving towards executables as plugins but it needs to be voted on and then implemented.

@beckermr
Copy link
Member Author

The cep is here: conda/ceps#78

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

2 participants