From 0c3c542d3d5eefddae70d5b7f5511d820880fa21 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Mon, 4 May 2026 13:01:18 +0200 Subject: [PATCH] Add polars as core dependency --- .github/ci/recipe.yaml | 1 + pixi.toml | 3 ++- pyproject.toml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/ci/recipe.yaml b/.github/ci/recipe.yaml index 2e43a828c..36212e131 100644 --- a/.github/ci/recipe.yaml +++ b/.github/ci/recipe.yaml @@ -45,6 +45,7 @@ requirements: - pyogrio # needed for geopandas (uxarray -> geoviews -> geopandas -> pyogrio, but for some reason conda doesn't pick it up automatically) - holoviews >= 1.22.0 # https://github.com/prefix-dev/rattler-build/issues/2326 - pooch >=1.8.0 + - polars >=1.31.0 tests: - python: diff --git a/pixi.toml b/pixi.toml index 674823235..948fc51a0 100644 --- a/pixi.toml +++ b/pixi.toml @@ -34,6 +34,7 @@ xgcm = { git = "https://github.com/xgcm/xgcm", rev = "master" } # TODO: Switch t cf_xarray = ">=0.8.6" cftime = ">=1.6.3" pooch = ">=1.8.0" +polars = ">=1.31.0" [dependencies] parcels = { path = "." } @@ -62,7 +63,7 @@ xgcm = { version = "0.9.*", channel = "conda-forge" } cf_xarray = "0.10.*" cftime = "1.6.*" pooch = "1.8.*" -polars = "*" +polars = "1.31.*" [feature.py311.dependencies] python = "3.11.*" diff --git a/pyproject.toml b/pyproject.toml index f398cdf74..d00ac65f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ dependencies = [ "pooch >=1.8.0", "xgcm >=0.9.0", "cf_xarray >=0.8.6", + "polars >=1.31.0", ] [project.urls]