Skip to content

Commit fea992f

Browse files
KemingHegithub-actions[bot]
authored andcommitted
docs(src/assets/): update pixi official documentation
1 parent b398ebb commit fea992f

File tree

5 files changed

+35
-4
lines changed

5 files changed

+35
-4
lines changed

src/assets/pixi/_metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"source_repo": "prefix-dev/pixi",
33
"docs_path": "docs",
4-
"updated_at": "2025-10-21T22:06:37Z",
5-
"commit_sha": "3039a718dee2a025cb1c73bc1372397186a3d112"
4+
"updated_at": "2025-10-28T22:05:52Z",
5+
"commit_sha": "d1e724f8e37338c5b2d93277d39d0ef3fa5a7425"
66
}

src/assets/pixi/integration/ci/github_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We created [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) to
1010
```yaml
1111
- uses: prefix-dev/setup-pixi@v0.9.2
1212
with:
13-
pixi-version: v0.57.0
13+
pixi-version: v0.58.0
1414
cache: true
1515
auth-host: prefix.dev
1616
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}

src/assets/pixi/integration/editor/vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Then, create the following two files in the `.devcontainer` directory:
2828
```dockerfile title=".devcontainer/Dockerfile"
2929
FROM mcr.microsoft.com/devcontainers/base:jammy
3030

31-
ARG PIXI_VERSION=v0.57.0
31+
ARG PIXI_VERSION=v0.58.0
3232

3333
RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \
3434
&& chmod +x /usr/local/bin/pixi \

src/assets/pixi/reference/cli/pixi/workspace/export/conda-environment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ pixi workspace export conda-environment [OPTIONS] [OUTPUT_PATH]
2020
: The platform to render the environment file for. Defaults to the current platform
2121
- <a id="arg---environment" href="#arg---environment">`--environment (-e) <ENVIRONMENT>`</a>
2222
: The environment to render the environment file for. Defaults to the default environment
23+
- <a id="arg---name" href="#arg---name">`--name (-n) <NAME>`</a>
24+
: The name to use for the rendered conda environment. Defaults to the environment name
2325

2426
## Global Options
2527
- <a id="arg---manifest-path" href="#arg---manifest-path">`--manifest-path <MANIFEST_PATH>`</a>

src/assets/pixi/reference/pixi_manifest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,34 @@ channel-priority = "disabled"
212212
package = {version = "*", channel = "channel-name"}
213213
```
214214

215+
### `solve-strategy` (optional)
216+
217+
This is the setting for the strategy used in the solver step.
218+
219+
Options:
220+
221+
- `highest`: **Default**, Solve all packages to the highest compatible version.
222+
223+
- `lowest`: Solve all packages to the lowest compatible version.
224+
225+
- `lowest-direct`: Solve only direct dependency packages to the lowest compatible version. Transitive dependencies are still sorted using the `highest` strategy.
226+
227+
```toml
228+
solve-strategy = "lowest"
229+
```
230+
231+
!!! note
232+
When multiple features used in an environment set a specific solve strategy,
233+
the one from the left-most feature declared in the environment is used.
234+
```toml
235+
[feature.one]
236+
solve-strategy = "lowest"
237+
[feature.two]
238+
solve-strategy = "lowest-direct"
239+
[environments]
240+
combined = ["two", "one"] # <- The solve strategy from feature `two` is used
241+
```
242+
215243
### `requires-pixi` (optional)
216244

217245
The required version spec for `pixi` itself to resolve and build the workspace. If unset (**Default**),
@@ -874,6 +902,7 @@ The `feature` table allows you to define the following fields per feature.
874902
- `platforms`: Same as the [platforms](#platforms). Unless overridden, the `platforms` of the feature will be those defined at workspace level.
875903
- `channels`: Same as the [channels](#channels). Unless overridden, the `channels` of the feature will be those defined at workspace level.
876904
- `channel-priority`: Same as the [channel-priority](#channel-priority-optional).
905+
- `solve-strategy`: Same as the [solve-strategy](#solve-strategy-optional).
877906
- `target`: Same as the [target](#the-target-table).
878907
- `tasks`: Same as the [tasks](#the-tasks-table).
879908

0 commit comments

Comments
 (0)