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

mulled: also consider non strict channel priority #19425

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bernt-matthias
Copy link
Contributor

for the creation of conda environments we try

  1. strict channel priority
  2. if this fails try without

see here.

For the creation of mulled containers we don't do this, yet. I stumbled over this a few times when creating containers for older tools, where a bioconda package was used that is now in conda-forge (and with strict priority only the newer conda-forge packages can be installed)

Also restructured slightly. Before the build command was appended to the involucro_args early. Therefore some inserts were needed in the middle of the list.

Fix verbose option which was ignored before.

How to test the changes?

(Select all options that apply)

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

for the creation of conda environments we try

1. strict channel priotity
2. if this fails try without

https://github.com/galaxyproject/galaxy/blob/5f484fca6255fbbc8a66016601c3fcab20271c81/lib/galaxy/tool_util/deps/conda_util.py#L282

For the creation of mulled containers we don't do this.
I stumbled over this a few times when creating containers
for older tools, where a bioconda package was used that
is now in conda-forge (and with strict priority only the
newer conda-forge packages can be installed)

Also restructured slightly. Before the `build` was appended
to the `involucro_args` early. Therefore some inserts
were needed in the middle of the list.

Fix verbose option which was ignored before.
Co-authored-by: Nicola Soranzo <[email protected]>
bernt-matthias added a commit to bernt-matthias/xcms that referenced this pull request Jan 21, 2025
container will need galaxyproject/galaxy#19425
this is because the used versions are from bioconda and are now masked
(due to strict channel priority) by newer conda-forge packages

```
[Jan 21 12:47:26] SERR LibMambaUnsatisfiableError: Encountered problems while solving:
[Jan 21 12:47:26] SERR - package perl-uri-1.71-pl526_3 is excluded by strict repo priority
[Jan 21 12:47:26] SERR - package perl-text-csv-1.33-pl526_1 is excluded by strict repo priority
[Jan 21 12:47:26] SERR - package perl-soap-lite-1.19-0 requires perl-io-socket-ssl, but none of the providers can be installed
[Jan 21 12:47:26] SERR - package perl-html-template-2.95-0 requires perl-scalar-list-utils, but none of the providers can be installed
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants