@@ -111,6 +111,11 @@ xarray = "*"
111111[tool .pixi .pypi-dependencies ]
112112pint-xarray = { path = " ." , editable = true }
113113
114+ [tool .pixi .feature .optional-deps .dependencies ]
115+ dask = " *"
116+ scipy = " *"
117+ bottleneck = " *"
118+
114119[tool .pixi .feature .tests .dependencies ]
115120pytest = " >=8"
116121pytest-cov = " *"
@@ -183,11 +188,11 @@ pooch = ">=1.8.2,<2"
183188netcdf4 = " >=1.7.2,<2"
184189
185190[tool .pixi .environments ]
186- tests = [" tests" ]
191+ tests = [" optional-deps " , " tests" ]
187192nightly = { features = [" tests" , " nightly" ], no-default-feature = true }
188193docs = [" docs" ]
189- tests-py311 = [" tests" , " tests-py311" ]
190- tests-py312 = [" tests" , " tests-py312" ]
191- tests-py313 = [" tests" , " tests-py313" ]
192- doctests = [" tests" , " tests-py313" ]
193- dev = [" tests" , " dev" ]
194+ tests-py311 = [" optional-deps " , " tests" , " tests-py311" ]
195+ tests-py312 = [" optional-deps " , " tests" , " tests-py312" ]
196+ tests-py313 = [" optional-deps " , " tests" , " tests-py313" ]
197+ doctests = [" optional-deps " , " tests" , " tests-py313" ]
198+ dev = [" optional-deps " , " tests" , " dev" ]
0 commit comments