forked from prefix-dev/pixi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: solve groups for conda (prefix-dev#783)
Co-authored-by: Ruben Arts <[email protected]>
- Loading branch information
1 parent
875159b
commit a9f1f61
Showing
15 changed files
with
2,857 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# GitHub syntax highlighting | ||
pixi.lock linguist-language=YAML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# pixi environments | ||
.pixi |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[project] | ||
name = "solve-groups" | ||
version = "0.1.0" | ||
description = "Add a short description here" | ||
authors = ["Bas Zalmstra <[email protected]>"] | ||
channels = ["conda-forge"] | ||
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"] | ||
|
||
[feature.max_py310.dependencies] | ||
python = "<=3.10" | ||
pydantic = "*" | ||
|
||
[feature.min_py38.dependencies] | ||
python = ">=3.8" | ||
py-rattler = "*" | ||
|
||
[environments] | ||
# The solve-group mixes the dependencies of all features in the group and solves them together. | ||
# Both environments should have at most python 3.10, even though `min-py38` environment only | ||
# specifies a lower bound. | ||
# | ||
# The environments do not contain any dependencies from the other environments. This means that | ||
# the `min-py38` environment does not contain `pydantic` and the `max-py310` environment does not | ||
# contain `py-rattler`. | ||
min-py38 = { features = ["min_py38"], solve-group = "group1" } | ||
max-py310 = { features = ["max_py310"], solve-group = "group1" } | ||
|
||
# The default environment does not specify a solve-group which means the python version does not | ||
# have an upperbound. | ||
default = ["min_py38"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.