@@ -83,20 +83,14 @@ all = [
83
83
" virtualizarr[all_readers]" ,
84
84
" virtualizarr[all_writers]" ,
85
85
]
86
-
87
- test = [
88
- " codecov" ,
89
- " mypy" ,
90
- " pandas-stubs" ,
91
- " pooch" ,
92
- " pre-commit" ,
93
- " pytest-asyncio" ,
94
- " pytest-cov" ,
95
- " pytest-mypy" ,
96
- " pytest" ,
97
- " ruff" ,
98
- " s3fs" ,
99
- " virtualizarr[all]"
86
+ docs = [
87
+ " sphinx" ,
88
+ " myst_nb" ,
89
+ " pydata_sphinx_theme" ,
90
+ " sphinx_copybutton" ,
91
+ " sphinx_design" ,
92
+ " sphinx_togglebutton" ,
93
+ " sphinx-autodoc-typehints" ,
100
94
]
101
95
102
96
[project .urls ]
@@ -115,23 +109,30 @@ requires = [
115
109
channels = [" conda-forge" ]
116
110
platforms = [" win-64" , " linux-64" , " osx-64" , " osx-arm64" ]
117
111
118
- [tool .pixi .environments ]
119
- default = { solve-group = " default" }
120
- test = { features = [" test" , " remote" , " hdf" , " hdf5" , " netcdf3" , " fits" , " all" , " kerchunk" , " icechunk" ], solve-group = " default" }
121
- docs = { features = [" docs" ], solve-group = " default" }
112
+ [tool .pixi .pypi-dependencies ]
113
+ virtualizarr = { path = " ." , editable = true }
122
114
123
- [tool .pixi .feature .hdf5 .dependencies ]
124
- netcdf4 = " >=1.7.2,<2"
125
- hdf5 = " >=1.14.4,<2"
126
- h5netcdf = " >=1.5.0,<2"
115
+ [tool .pixi .feature .py311 .dependencies ]
116
+ python = " 3.11.*"
117
+
118
+ [tool .pixi .feature .py312 .dependencies ]
119
+ python = " 3.12.*"
127
120
128
- [tool .pixi .feature .hdf .dependencies ]
121
+ [tool .pixi .feature .hdf5-lib .dependencies ]
129
122
netcdf4 = " >=1.7.2,<2"
130
123
hdf5 = " >=1.14.4,<2"
131
124
h5netcdf = " >=1.5.0,<2"
132
125
133
- [tool .pixi .pypi-dependencies ]
134
- virtualizarr = { path = " ." , editable = true }
126
+ [tool .pixi .feature .test .dependencies ]
127
+ codecov = " >=2.1.13,<3"
128
+ mypy = " >=1.15.0,<2"
129
+ pandas-stubs = " >=2.2.3.241126,<3"
130
+ pooch = " >=1.8.2,<2"
131
+ pre-commit = " >=4.1.0,<5"
132
+ pytest-asyncio = " >=0.25.3,<0.26"
133
+ pytest-cov = " >=6.0.0,<7"
134
+ pytest-mypy = " >=0.10.3,<0.11"
135
+ ruff = " >=0.9.9,<0.10"
135
136
136
137
[tool .pixi .feature .test .tasks ]
137
138
test = { cmd = " pytest --run-network-tests" }
@@ -140,6 +141,12 @@ test-cov = { cmd = "pytest --run-network-tests --verbose --cov=virtualizarr --co
140
141
test-xml-cov = { cmd = " pytest --run-network-tests --verbose --cov=virtualizarr --cov-report=xml" }
141
142
test-html-cov = { cmd = " pytest --run-network-tests --verbose --cov=virtualizarr --cov-report=html" }
142
143
144
+ [tool .pixi .environments ]
145
+ test = [" remote" , " hdf" , " hdf5" , " netcdf3" , " fits" , " icechunk" , " kerchunk" , " test" , " hdf5-lib" ]
146
+ test-py311 = [" remote" , " hdf" , " hdf5" , " netcdf3" , " fits" , " icechunk" , " kerchunk" , " test" , " hdf5-lib" , " py311" ] # test against python 3.11
147
+ test-py312 = [" remote" , " hdf" , " hdf5" , " netcdf3" , " fits" , " icechunk" , " kerchunk" , " test" , " hdf5-lib" , " py312" ] # test against python 3.12
148
+ doc = [" docs" ]
149
+
143
150
[tool .pixi .feature .docs .tasks ]
144
151
docs = { cmd = " make html" , cwd = " docs" }
145
152
readthedocs = " rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html"
0 commit comments