From c4cd86a7623d54d106de225e77ed91e77df992d8 Mon Sep 17 00:00:00 2001 From: Vecko <36369090+VeckoTheGecko@users.noreply.github.com> Date: Fri, 10 Oct 2025 12:49:42 +0200 Subject: [PATCH 1/2] Update parcels installation method Revert from pixi-build-python to pip editable install due to failed builds on HPC https://github.com/prefix-dev/pixi-build-backends/issues/411 --- pixi.toml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/pixi.toml b/pixi.toml index e78ed4880c..dd992203f2 100644 --- a/pixi.toml +++ b/pixi.toml @@ -1,20 +1,21 @@ [workspace] name = "Parcels" -preview = ["pixi-build"] channels = ["conda-forge"] platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"] -[package] -name = "parcels" -version = "dynamic" # dynamic versioning needs better support in pixi https://github.com/prefix-dev/pixi/issues/2923#issuecomment-2598460666 . Putting `version = "dynamic"` here for now until pixi recommends something else. -license = "MIT" # can remove this once https://github.com/prefix-dev/pixi-build-backends/issues/397 is resolved - -[package.build] -backend = { name = "pixi-build-python", version = "==0.4.0" } - -[package.host-dependencies] -setuptools = "*" -setuptools_scm = "*" +# TODO: Re-enable pixi-build once https://github.com/prefix-dev/pixi-build-backends/issues/411 is fixed, and remove pypi install of Parcels +# preview = ["pixi-build"] +# [package] +# name = "parcels" +# version = "dynamic" # dynamic versioning needs better support in pixi https://github.com/prefix-dev/pixi/issues/2923#issuecomment-2598460666 . Putting `version = "dynamic"` here for now until pixi recommends something else. +# license = "MIT" # can remove this once https://github.com/prefix-dev/pixi-build-backends/issues/397 is resolved +# +# [package.build] +# backend = { name = "pixi-build-python", version = "==0.4.0" } +# +# [package.host-dependencies] +# setuptools = "*" +# setuptools_scm = "*" [environments] test-latest = { features = ["test"], solve-group = "test" } @@ -28,7 +29,7 @@ pre-commit = { features = ["pre-commit"], no-default-feature = true } [dependencies] # keep section in sync with pyproject.toml dependencies python = ">=3.11,<3.13" -parcels = { path = "." } +# parcels = { path = "." } netcdf4 = ">=1.7.2" numpy = ">=2.1.0" tqdm = ">=4.50.0" @@ -41,6 +42,9 @@ cf_xarray = ">=0.8.6" cftime = ">=1.6.3" pooch = ">=1.8.0" +[pypi-dependencies] +parcels = {path = ".", editable = true} + [feature.minimum.dependencies] python = "==3.11" netcdf4 = "==1.7.2" From 9a5943526a34921063282dc217d02caafe6320fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 10 Oct 2025 10:54:59 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pixi.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixi.toml b/pixi.toml index dd992203f2..1d3381d697 100644 --- a/pixi.toml +++ b/pixi.toml @@ -43,7 +43,7 @@ cftime = ">=1.6.3" pooch = ">=1.8.0" [pypi-dependencies] -parcels = {path = ".", editable = true} +parcels = { path = ".", editable = true } [feature.minimum.dependencies] python = "==3.11"