pantry/projects/conda.org
Jacob Heider 94970ed3d0
fix(conda) (#5073)
* fix(conda)

condas >=23.11 require a conda-solver package that's only available in conda (so pip fails to find it).

this uses miniconda to install conda into our venv. and it seems to work!

closes #3897
closes #5072

* haha. well, let's use the correct platform-specific installer.
2024-02-01 12:09:57 -05:00
..
context.py.diff +conda (miniconda) (#2683) 2023-07-28 13:01:17 -04:00
package.yml fix(conda) (#5073) 2024-02-01 12:09:57 -05:00
README.md +mamba deps (#2741) 2023-08-09 11:27:04 -04:00

fit & finish

  • pkgs are installed to ~/.conda/pkgs

  • conda init is called during pkging so that conda will work without forcing you to install its shell hooks.

    obv. you still need these shell hooks for condas environment system to work, see the #tips section.

tips

  • conda requires a shell hook to work, however this doesnt have to be permanent you can call the following in a terminal instead:

    source <(conda shell.$(basename $SHELL) hook)
    

    There is no provided way to unload these hooks

prospects

  • conda could be patched to use tea to install python and potentially other such kinds of dependencies