Skip to content

Commit 4330de3

Browse files
Update Pixi parcels installation method back to pypi (#2326)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 81a922e commit 4330de3

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

pixi.toml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
[workspace]
22
name = "Parcels"
3-
preview = ["pixi-build"]
43
channels = ["conda-forge"]
54
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
65

7-
[package]
8-
name = "parcels"
9-
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.
10-
license = "MIT" # can remove this once https://github.com/prefix-dev/pixi-build-backends/issues/397 is resolved
11-
12-
[package.build]
13-
backend = { name = "pixi-build-python", version = "==0.4.0" }
14-
15-
[package.host-dependencies]
16-
setuptools = "*"
17-
setuptools_scm = "*"
6+
# TODO: Re-enable pixi-build once https://github.com/prefix-dev/pixi-build-backends/issues/411 is fixed, and remove pypi install of Parcels
7+
# preview = ["pixi-build"]
8+
# [package]
9+
# name = "parcels"
10+
# 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.
11+
# license = "MIT" # can remove this once https://github.com/prefix-dev/pixi-build-backends/issues/397 is resolved
12+
#
13+
# [package.build]
14+
# backend = { name = "pixi-build-python", version = "==0.4.0" }
15+
#
16+
# [package.host-dependencies]
17+
# setuptools = "*"
18+
# setuptools_scm = "*"
1819

1920
[environments]
2021
test-latest = { features = ["test"], solve-group = "test" }
@@ -28,7 +29,7 @@ pre-commit = { features = ["pre-commit"], no-default-feature = true }
2829

2930
[dependencies] # keep section in sync with pyproject.toml dependencies
3031
python = ">=3.11,<3.13"
31-
parcels = { path = "." }
32+
# parcels = { path = "." }
3233
netcdf4 = ">=1.7.2"
3334
numpy = ">=2.1.0"
3435
tqdm = ">=4.50.0"
@@ -41,6 +42,9 @@ cf_xarray = ">=0.8.6"
4142
cftime = ">=1.6.3"
4243
pooch = ">=1.8.0"
4344

45+
[pypi-dependencies]
46+
parcels = { path = ".", editable = true }
47+
4448
[feature.minimum.dependencies]
4549
python = "==3.11"
4650
netcdf4 = "==1.7.2"

0 commit comments

Comments
 (0)