Upgrade environment schema to support additional scenarios#11758
Upgrade environment schema to support additional scenarios#11758toniher wants to merge 2 commits into
Conversation
|
Hey @mashehu , any feedback or further idea? |
|
Sorry for the late response, currently on vacation. We already allow pip dependencies, see the only requirement is that you also pin pip itself to a specific version.Concerning the URLs: |
No problem for the delay The need is explained here: https://github.com/nf-core/website/pull/4142/changes (around line 146) |
Regarding the plain pip, I don't know if this is needed somehow... Maybe @pinin4fjords can help... |
|
Thanks for the PR @toniher, and sorry for the slow loop back on the ping. I went down a rabbit hole on the conda-forge has shifted since then. The GPU support now lives in the separately-packaged dependencies:
- "conda-forge::llama-cpp-python=0.3.16"
- "conda-forge::llama.cpp=6191=*cuda*"( The
So without the explicit |
|
So, thanks to what you explain @pinin4fjords , at least for the I was trying 0.3.23 version, but I think it is reasonable to wait for the upcoming release to appear in conda-forge. |
Mmm... I notice now at: https://anaconda.org/channels/conda-forge/packages/llama-cpp-python/overview that there are not many frequent releases :'( That's a bit concerning, but maybe the way is trying to help the packaging in conda-forge. I will research here: https://github.com/conda-forge/llama-cpp-python-feedstock |
Yep, I'm feeling my way around myself, if you find a better way let us know! |
|
I managed to upgrade |
The schema now accepts two additional scenarios for conda environment definitions:
Bare
pipdependency (5 lines added)pipas a standalone string dependencyFlexible pip package specifications (refactored pip packages validation)
package==version)package==version(maintains reproducibility)http://orhttps://links to package artifacts (e.g., wheel files)Motivation: GitHub issue #11652 — this expands the schema to handle more real-world dependency scenarios while preserving reproducibility where pinning is specified.
Message created by Claude Haiku 4.5