Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mcr.microsoft.com/devcontainers/base:jammy

ARG PIXI_VERSION=v0.59.0
ARG PIXI_VERSION=v0.63.2

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" \
&& chmod +x /usr/local/bin/pixi \
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:

env:
FORCE_COLOR: 3
PIXI_VERSION: "v0.63.2"

jobs:
detect-ci-trigger:
Expand Down Expand Up @@ -48,8 +47,6 @@ jobs:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@9a2866f8258b87a3c616d5ad7d51c6cd853df78b
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:

env:
FORCE_COLOR: 3
PIXI_VERSION: "v0.63.2"

jobs:
detect-ci-trigger:
Expand Down Expand Up @@ -43,14 +42,11 @@ jobs:

outputs:
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}

steps:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@9a2866f8258b87a3c616d5ad7d51c6cd853df78b
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/hypothesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:

env:
FORCE_COLOR: 3
PIXI_VERSION: "v0.63.2"

jobs:
detect-ci-trigger:
Expand Down Expand Up @@ -55,8 +54,6 @@ jobs:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@9a2866f8258b87a3c616d5ad7d51c6cd853df78b
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ concurrency:

env:
FORCE_COLOR: 3
PIXI_VERSION: "v0.63.2"

jobs:
detect-ci-trigger:
Expand Down Expand Up @@ -62,8 +61,6 @@ jobs:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@9a2866f8258b87a3c616d5ad7d51c6cd853df78b
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
Expand Down
7 changes: 2 additions & 5 deletions doc/contribute/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,8 @@ Xarray uses `Pixi <https://pixi.sh/latest/>`_ to manage development environments
Before starting any development, you'll need to create an isolated xarray
development environment:

- `Install Pixi <https://pixi.sh/latest/installation/>`_ - preferably the same version as the one listed in our ``ci.yaml`` `file <https://github.com/pydata/xarray/blob/main/.github/workflows/ci.yaml>`_

- Some features in Pixi are in active development, and xarray depends on these features.
Using the same version results in the best dev experience.
- Instructions for installing specific versions of Pixi can be seen on the Pixi installation page.
- `Install Pixi <https://pixi.sh/latest/installation/>`_
- Xarray uses some Pixi features that are in active development. You might be prompted to upgrade your Pixi version to contribute to Xarray (this is controlled by the ``requires-pixi`` field in ``pixi.toml``)
- Make sure that you have :ref:`cloned the repository <contributing.dev_workflow>`
- ``cd`` to the *xarray* source directory

Expand Down
1 change: 1 addition & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
preview = ["pixi-build"]
channels = ["conda-forge", "nodefaults"]
platforms = ["win-64", "linux-64", "osx-arm64", "osx-64"]
requires-pixi = ">=0.63.2"

[package]
name = "xarray"
Expand Down
Loading