How to get a create an environment that doesn't install with the default environment? #1149
-
While Issue #1067 and PR #1092 are addressing this with the addition of
with [project]
name = "columnar-analysis-benchmarks"
version = "0.1.0"
description = "Add a short description here"
authors = ["Matthew Feickert <[email protected]>"]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tasks]
[dependencies]
python = "3.11.*"
coffea = "==2024.4.0"
[feature.ab-stable.dependencies]
python = "3.11.*"
coffea = "==2023.12.0"
[environments]
ab-stable = {features = ["ab-stable"], solve-group = "ab-stable"} as this fails on
I want to have multiple environments with different versions to be able to debug a script across multiple environments with different installed versions, e.g.:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think the answer as of [project]
name = "columnar-analysis-benchmarks"
version = "0.1.0"
description = "Add a short description here"
authors = ["Matthew Feickert <[email protected]>"]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tasks]
[dependencies]
python = "3.11.*"
[feature.ab-stable.dependencies]
coffea = "==2023.12.0"
[feature.ab-dev.dependencies]
coffea = "==2024.4.0"
[environments]
ab-stable = ["ab-stable"]
ab-dev = ["ab-dev"] |
Beta Was this translation helpful? Give feedback.
I think the answer as of
pixi
v0.18.0
is "you don't" and you instead construct multiple environments that work with a very minimal "default" environment like the following: