Possible to work in conjunction with local external and unpackaged dependencies? #1064
Unanswered
matthewfeickert
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(Apologies as that title isn't the greatest, and I should make it clear that I'm rather certain that the answer to this question is "no, because that goes against the whole idea of how reproducible dependency management works" and in my mind that would be a great answer. 👍 I'm asking here to more have a formal reference to point to internally in the future, and not that I'm suggesting the dev team spend time on this.)
Some background
I work as part of the ATLAS experiment, where most of our experiment specific tooling exists in collections of C++ releases. Without getting into the specifics, most of these releases aren't distributed with normal package management tools, but instead are distributed via the read only CernVM File System. We also distribute them in Linux container images publicly like
gitlab-registry.cern.ch/atlas/athena/analysisbase:25.2.2
. These releases provide specific compiler versions and things like CPython.So the main point is that these are frameworks that are not going to be available on conda-forge.
Question
It is clear to me that trying to naively use
pixi
with these releases to extend the analysis release Python environments is going to fail as the analysis releases are built around having things tied together (and so are going to require that the Python in the release is the Python at runtime)So is there any feasible way hack
pixi
to define a "local" unpacked dependency, like the CPython provided, that would be used instead of the CPython versions on conda-forge?Way that I get around this sort of thing now without pixi:
I have to hack back the virtual environment activate scripts to have normal virtual environment behaviors (https://github.com/matthewfeickert/cvmfs-venv).
Beta Was this translation helpful? Give feedback.
All reactions