-
Notifications
You must be signed in to change notification settings - Fork 61
/
dependencies.yaml
313 lines (313 loc) · 7.82 KB
/
dependencies.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# Dependency list for https://github.com/rapidsai/dependency-file-generator
files:
all:
output: conda
matrix:
cuda: ["11.8", "12.5"]
arch: [x86_64]
includes:
- build
- cuda
- cuda_version
- checks
- docs
- py_version
- run
- test_python
test_python:
output: none
includes:
- cuda_version
- py_version
- test_python
checks:
output: none
includes:
- checks
- py_version
docs:
output: none
includes:
- cuda_version
- docs
- py_version
py_build_cucim:
output: pyproject
pyproject_dir: python/cucim
extras:
table: build-system
includes:
- rapids_build_setuptools
py_rapids_build_cucim:
output: pyproject
pyproject_dir: python/cucim
extras:
table: tool.rapids-build-backend
key: requires
includes:
- build
py_run:
output: pyproject
pyproject_dir: python/cucim
extras:
table: project
includes:
- run
py_optional_test:
output: pyproject
pyproject_dir: python/cucim
extras:
table: project.optional-dependencies
key: test
includes:
- test_python
py_develop:
output: pyproject
pyproject_dir: python/cucim
extras:
table: project.optional-dependencies
key: developer
includes:
- develop
py_docs:
output: pyproject
pyproject_dir: python/cucim
extras:
table: project.optional-dependencies
key: docs
includes:
- docs
channels:
- rapidsai
- rapidsai-nightly
- conda-forge
- nvidia
dependencies:
build:
common:
# Note:
# Currently omit pyproject output_type from cmake, ninja. The python
# build doesn't use these, but assumes that the C++ libcucim shared
# library had already previously been built and the .so file copied to
# python/cucim/src/cucim/clara/ before calling `pip install .`.
- output_types: [conda, requirements]
packages:
- cmake>=3.26.4,!=3.30.0
- ninja
- output_types: conda
packages:
- c-compiler
- cxx-compiler
- output_types: [requirements, pyproject]
packages:
- wheel
specific:
- output_types: conda
matrices:
- matrix:
arch: x86_64
packages:
- gcc_linux-64=11.*
- sysroot_linux-64==2.17
- yasm
- matrix:
arch: aarch64
packages:
- gcc_linux-aarch64=11.*
- sysroot_linux-aarch64==2.17
- output_types: conda
matrices:
- matrix:
arch: x86_64
cuda: "11.8"
packages:
- nvcc_linux-64=11.8
- matrix:
arch: aarch64
cuda: "11.8"
packages:
- nvcc_linux-aarch64=11.8
- matrix:
cuda: "12.*"
packages:
- cuda-nvcc
checks:
common:
- output_types: [conda, requirements]
packages:
- pre-commit
cuda_version:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.2"
packages:
- cuda-version=11.2
- matrix:
cuda: "11.4"
packages:
- cuda-version=11.4
- matrix:
cuda: "11.5"
packages:
- cuda-version=11.5
- matrix:
cuda: "11.8"
packages:
- cuda-version=11.8
- matrix:
cuda: "12.0"
packages:
- cuda-version=12.0
- matrix:
cuda: "12.2"
packages:
- cuda-version=12.2
- matrix:
cuda: "12.5"
packages:
- cuda-version=12.5
cuda:
specific:
- output_types: conda
matrices:
- matrix:
cuda: "11.*"
packages:
- cudatoolkit
- matrix:
cuda: "12.*"
packages:
- cuda-cudart-dev
- output_types: conda
matrices:
- matrix:
cuda: "11.8"
packages:
- libnvjpeg=11.6.0.55
- libnvjpeg-dev=11.6.0.55
- matrix:
cuda: "12.*"
packages:
- libnvjpeg-dev
- libnvjpeg-static
- output_types: conda
matrices:
- matrix:
arch: aarch64
packages:
- matrix:
arch: x86_64
cuda: "11.8"
packages:
- libcufile=1.4.0.31
- libcufile-dev=1.4.0.31
- matrix:
arch: x86_64
cuda: "12.*"
packages:
- libcufile-dev
develop:
common:
- output_types: [conda, requirements, pyproject]
packages:
- pre-commit
- black
- ruff
- isort
docs:
common:
- output_types: [conda, requirements, pyproject]
packages:
- ipython
- nbsphinx
- numpydoc>=1.5
- pydata-sphinx-theme
- recommonmark
# TODO: sphinx upper version limit can likely be removed after pydata 0.13
# is released. See https://github.com/pydata/pydata-sphinx-theme/issues/1094
- sphinx<6
py_version:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.10"
packages:
- python=3.10
- matrix:
py: "3.11"
packages:
- python=3.11
- matrix:
py: "3.12"
packages:
- python=3.12
- matrix:
packages:
- python>=3.10,<3.13
rapids_build_setuptools:
common:
- output_types: [conda, requirements, pyproject]
packages:
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- setuptools>=24.2.0
run:
common:
- output_types: [conda, requirements, pyproject]
packages:
- click
- lazy_loader>=0.1
- numpy>=1.23.4,<3.0a0
- scikit-image>=0.19.0,<0.25.0a0
- scipy>=1.6.0
- output_types: conda
packages:
- cupy>=12.0.0
# Not sure where these go, if anywhere:
# - openslide
# - xorg-libxcb
specific:
- output_types: [requirements, pyproject]
matrices:
- matrix: {cuda: "12.*"}
packages:
- cupy-cuda12x>=12.0.0
- matrix: {cuda: "11.*"}
packages:
- &cupy_cu11 cupy-cuda11x>=12.0.0
- matrix:
packages:
- *cupy_cu11
test_python:
common:
- output_types: [conda, requirements, pyproject]
packages:
- psutil>=5.8.0
- pytest>=6.2.4,<8.0.0a0
- pytest-cov>=2.12.1
- pytest-lazy-fixtures>=1.0.0
- pytest-xdist
- tifffile>=2022.7.28
- pooch>=1.6.0 # needed to download scikit-image sample data
- pywavelets>=1.0
- output_types: [conda]
packages:
- imagecodecs>=2021.6.8
- matplotlib-base
- openslide-python>=1.3.0
- pip
- pip:
- opencv-python-headless>=4.6
- output_types: [requirements, pyproject]
packages:
# skip packages on arm64 that don't provide a wheel
- imagecodecs>=2021.6.8; platform_machine=='x86_64'
- openslide-python>=1.3.0; platform_machine=='x86_64'
- matplotlib
- opencv-python-headless>=4.6
- output_types: [pyproject]
packages:
# Already added to requirements via docs. This is for tests.
- numpydoc>=1.5