Skip to content
Merged
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
21 changes: 0 additions & 21 deletions .github/ci/min-core-deps.yml

This file was deleted.

201 changes: 0 additions & 201 deletions .github/ci/min_deps_check.py

This file was deleted.

25 changes: 25 additions & 0 deletions .github/ci/policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
channels:
- conda-forge
platforms:
- noarch
- linux-64
policy:
# all packages in months
packages:
python: 30
numpy: 18
default: 12
# overrides for the policy
overrides: {}
# these packages are completely ignored
exclude:
- pytest
- hypothesis
- pytest-html
- pytest-cov
- nbval
- uxarray # undergoes active development
- xgcm # undergoes active development

# these packages don't fail the CI, but will be printed in the report
ignored_violations: []
29 changes: 9 additions & 20 deletions .github/workflows/additional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,21 @@ jobs:
min-version-policy:
name: Minimum Version Policy
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}

env:
COLUMNS: 120
steps:
- uses: actions/checkout@v5
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v2
with:
environment-name: min-deps
create-args: >-
python=3.12
pyyaml
conda
python-dateutil

- name: Core deps minimum versions policy
run: |
python .github/ci/min_deps_check.py .github/ci/min-core-deps.yml
- uses: astral-sh/setup-uv@v7
- run: |
uv run --with 'minimum-dependency-versions @ git+https://github.com/xarray-contrib/[email protected]' \
python -m minimum_versions validate \
--policy=.github/ci/policy.yaml \
--manifest-path=./pixi.toml \
pixi:test-minimum

linkcheck:
name: pixi run docs-linkcheck
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v5
Expand Down
26 changes: 13 additions & 13 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ setuptools_scm = "*"

[package.run-dependencies] # keep section in sync with pyproject.toml dependencies
python = ">=3.11"
netcdf4 = ">=1.7.2"
netcdf4 = ">=1.6.0"
numpy = ">=2.1.0"
tqdm = ">=4.50.0"
xarray = ">=2024.5.0"
Expand All @@ -35,18 +35,18 @@ pooch = ">=1.8.0"
parcels = { path = "." }

[feature.minimum.dependencies]
python = "==3.11"
netcdf4 = "==1.7.2"
numpy = "==2.1.0"
tqdm = "==4.50.0"
xarray = "==2024.5.0"
uxarray = "==2025.3.0"
dask = "==2024.5.1"
zarr = "==2.15.0"
xgcm = "==0.9.0"
cf_xarray = "==0.8.6"
cftime = "==1.6.3"
pooch = "==1.8.0"
python = "3.11.*"
netcdf4 = "1.6.*"
numpy = "2.1.*"
tqdm = "4.50.*"
xarray = "2024.5.*"
uxarray = "2025.3.*"
dask = "2024.5.*"
zarr = "2.15.*"
xgcm = "0.9.*"
cf_xarray = "0.8.*"
cftime = "1.6.*"
pooch = "1.8.*"

[feature.py311.dependencies]
python = "3.11.*"
Expand Down
Loading