Skip to content

Commit 37cbace

Browse files
Update pixi.toml to install Parcels from source (#2305)
1 parent 3ccdb87 commit 37cbace

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/cache-pixi-lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: prefix-dev/[email protected]
3030
if: ${{ !steps.restore.outputs.cache-hit }}
3131
with:
32-
pixi-version: v0.49.0
32+
pixi-version: v0.56.0
3333
run-install: false
3434
- name: Run pixi lock
3535
if: ${{ !steps.restore.outputs.cache-hit }}

pixi.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
77
[package]
88
name = "parcels"
99
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
1011

1112
[package.build]
12-
backend = { name = "pixi-build-python", version = "==0.3.2" }
13+
backend = { name = "pixi-build-python", version = "==0.4.0" }
1314

1415
[package.host-dependencies]
1516
setuptools = "*"
@@ -26,6 +27,7 @@ pre-commit = { features = ["pre-commit"], no-default-feature = true }
2627

2728
[dependencies] # keep section in sync with pyproject.toml dependencies
2829
python = ">=3.11,<3.13"
30+
parcels = { path = "." }
2931
netcdf4 = ">=1.1.9"
3032
numpy = ">=1.9.1"
3133
tqdm = "*"
@@ -40,9 +42,6 @@ cftime = ">=1.3.1"
4042
scipy = ">=0.16.0" #? Not sure if we rely on scipy internally anymore...
4143
pooch = "*"
4244

43-
[pypi-dependencies]
44-
parcels = { path = ".", editable = true }
45-
4645
[feature.py311.dependencies]
4746
python = "3.11.*"
4847

0 commit comments

Comments
 (0)