@@ -3,11 +3,11 @@ name = "Parcels"
33preview = [" pixi-build" ]
44channels = [" conda-forge" ]
55platforms = [" win-64" , " linux-64" , " osx-64" , " osx-arm64" ]
6+ requires-pixi = " >=0.63.0"
67
78[package ]
89name = " parcels"
910version = " 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
1111
1212[package .build ]
1313backend = { name = " pixi-build-python" , version = " 0.4.*" }
@@ -35,6 +35,12 @@ py-triangle = ">=20250106,<20250107"
3535[dependencies ]
3636parcels = { path = " ." }
3737
38+ [feature .alpha-parcels .dependencies ]
39+ git = " *"
40+
41+ [feature .alpha-parcels .tasks ]
42+ get-parcels-alpha-version = { cmd = " python tools/get-parcels-alpha-version.py" }
43+
3844[feature .minimum .dependencies ]
3945python = " 3.11.*"
4046netcdf4 = " 1.6.*"
@@ -63,8 +69,8 @@ pytest-html = "*"
6369pytest-cov = " *"
6470
6571[feature .test .tasks ]
66- tests = " pytest"
67- tests-notebooks = " pytest --nbval-lax docs/user_guide/examples"
72+ tests = { cmd = " pytest" , description = " Run the test suite. " }
73+ tests-notebooks = { cmd = " pytest --nbval-lax docs/user_guide/examples" , description = " Run the user guide example notebooks as tests. " }
6874
6975
7076[feature .notebooks .dependencies ]
@@ -87,29 +93,29 @@ sphinx-design = "*"
8793sphinx-autoapi = " *"
8894
8995[feature .docs .tasks ]
90- docs = " sphinx-build docs docs/_build"
91- docs-watch = ' sphinx-autobuild docs docs/_build'
92- docs-linkcheck = " sphinx-build -b linkcheck docs/ docs/_build/linkcheck"
96+ docs = { cmd = " sphinx-build docs docs/_build" , description = " Build the documentation. " }
97+ docs-watch = { cmd = " sphinx-autobuild docs docs/_build" , description = " Build and auto-rebuild the documentation on changes. " }
98+ docs-linkcheck = { cmd = " sphinx-build -b linkcheck docs/ docs/_build/linkcheck" , description = " Verify all links in documentation don't 404. " }
9399
94100[feature .pre-commit .dependencies ]
95101pre_commit = " *"
96102
97103[feature .pre-commit .tasks ]
98- lint = " pre-commit run --all-files"
104+ lint = { cmd = " pre-commit run --all-files" , description = " Run all pre-commit linting hooks. " }
99105
100106[feature .numpydoc .dependencies ]
101107numpydoc = " *"
102108
103109[feature .numpydoc .tasks ]
104- numpydoc-lint = " python tools/numpydoc-public-api.py"
110+ numpydoc-lint = { cmd = " python tools/numpydoc-public-api.py" , description = " Lint public API docstrings with numpydoc. " }
105111
106112[feature .typing .dependencies ]
107113mypy = " *"
108114lxml = " *" # in CI
109115types-tqdm = " *"
110116
111117[feature .typing .tasks ]
112- typing = " mypy src/parcels --install-types"
118+ typing = { cmd = " mypy src/parcels --install-types" , description = " Run static type checking with mypy. " }
113119
114120
115121[environments ]
@@ -127,3 +133,4 @@ test-py313 = { features = ["test", "py313"] }
127133test-notebooks = { features = [" test" , " notebooks" ], solve-group = " main" }
128134docs = { features = [" docs" , " notebooks" ], solve-group = " docs" }
129135typing = { features = [" typing" ], solve-group = " main" }
136+ alpha-parcels = { features = [" alpha-parcels" ] }
0 commit comments