-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathkatana_requirements.yaml
595 lines (590 loc) · 11.7 KB
/
katana_requirements.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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
# Katana package requirements
#
# For schema documentation see the scripts/requirements tool. Remember that YAML supports user defined aliases. They are
# used for shared version numbers.
#
# The schema for this file is scripts/katana_requirements/schema.json
labels:
conan:
description: Packages installed using conan in conan builds and in deb packaging.
conda:
description: Conda package dependencies.
conda/dev:
inherits:
- conda
description: Packages installed for conda builds that may not be needed in the run environment.
apt:
description: Packages installed with APT in non-conda builds.
pip:
description: Packages installed with pip to run Ubuntu deb packages.
pip/dev:
inherits:
- pip
description: Packages installed with pip to build Ubuntu deb packages.
packaging_systems:
conda:
channels:
- conda-forge
- katanagraph
- metagraph
- defaults
description: |
A Python-oriented, but universal, packaging system. Packages are installed in user-local directories. Python, C++
and tool packages are all available. Some packages are not built with all the features we need, or have bugs.
format: conda
conan:
channels:
- katana https://katanagraph.jfrog.io/artifactory/api/conan/katana-conan
description: |
The Conan C++ packaging system. Provides C++ library packages, but is not good for building packages for
distribution because the binaries it generates are generally not ABI compatible with binaries from any other
packaging system. Does not provide Python or tool packages.
format: conan
pip:
description: |
The Python pip packaging system. Provides Python packages only, and has very poor support for packages with native
extensions.
format: pip
pip-18.04:
inherits:
- pip
description: pip packages for Ubuntu 18.04 specifically.
format: pip
cmake:
description: |
CMake package version checking.
format: cmake
apt:
description: |
The native packaging system of Ubuntu. Provides a wide range of packages, but tends to be a bit out of date, so
external repositories are sometimes needed which can complicate compability. Due to limitations in how APT solves
dependencies, the requirements tool provides a hack: If you provide a pinned version override (e.g., pkg==1.0)
the package will be installed with `apt-get install` instead of `apt-get satisfy`. This works around failure to find
older versions of packages.
format: apt
apt-18.04:
inherits:
- apt
description: |
APT packages for Ubuntu 18.04.
format: apt
boa:
version: [0.6, 1]
labels:
- conda/dev
backward-cpp:
version: [ 1.4, 2 ]
labels:
- conan
- conda
version_overrides:
conan: 1.5
benchmark:
version: [ 1.5.3, 2 ]
labels:
- conan
- conda
black:
version: [ 19.10a0, 19.11 ]
labels:
- conda/dev
- pip/dev
boost:
version: [ 1.74.0, 2 ]
name_overrides:
conda: boost-cpp
pip: null
apt: libboost-all-dev
labels:
- conda
- conan
breathe:
version: [ 4.30, null ]
labels:
- conda/dev
cmake:
version: [ 3.22.3, 4 ]
labels:
- apt
- conda/dev
version_overrides:
# This is due to the fact that apt doesn't have a CMake 3.22.3 package available yet
apt: ">=3.22,<<4a0"
conan:
version: [ 1.40, null ]
labels:
- pip/dev
conda-build:
version: [ 3, null ]
labels:
- conda/dev
conda-verify:
version: [ 3, null ]
labels:
- conda/dev
coverage:
version: [ 5.5, null ]
labels:
- conda/dev
cudatoolkit:
name_overrides:
conda: cudatoolkit-dev
version: [ 11, 12 ]
cxx-compiler:
version: [ 1.1.3, 2 ]
labels:
- conda/dev
cython:
labels:
- conda/dev
- pip/dev
name_overrides:
pip: Cython
apt: cython3
version: [ 0.29.12, 3 ]
pybind11:
labels:
- conda/dev
- conan
name_overrides:
apt: pybind11-dev
version: [ 2.8.1, 3.0 ]
doxygen:
version: [ 1.8, null ]
labels:
- conda/dev
- apt
eigen:
version: [ 3.3.7, 4 ]
labels:
- conan
- conda
elfutils:
labels:
- conda/dev
- apt
version: [ 0.176, null ]
fmt:
# 8.1 fixes a bug/misfeature which implicitly converted enum class values into ints for formatting.
# We rely on this all over.
# TODO(amp, https://katanagraph.atlassian.net/browse/KAT-3182): Allow more recent fmt once we eliminate reliance on the above implicit conversion.
version: [ 6.2.1, 8.1 ]
labels:
- conan
- conda
isort:
version: [ 5.9.3, 5.10 ]
labels:
- conda/dev
jemalloc:
version: [ 5.2.1, null ]
labels:
- conan
- conda
jinja2:
# nbconvert does not express its own dependencies very well. In particular,
# it depends on jinja2<3.1
version: [ 2.11, 3.1 ]
labels:
- conda/dev
markupsafe:
version: [ 2.0, 2.1 ]
labels:
- conda/dev
jupyter:
version: [ 1, null ]
labels:
- conda
- pip
jupyter_core:
version: [ 4.7, null ]
labels:
- conda
jupyterlab:
version: [ 3.1, null ]
labels:
- conda
- pip
libarrow-python:
name_overrides:
conan: null
conda: null
pip: null
apt: libarrow-python-dev
version: &arrow_version [ 6, 7 ]
labels:
- apt
version_overrides: &arrow_version_overrides
apt: "=6.0.1-1"
libarrow:
name_overrides:
conan: arrow
conda: arrow-cpp
pip: null
apt: libarrow-dev
version: *arrow_version
labels:
- conda
- apt
version_overrides: *arrow_version_overrides
libcurl:
version: [ 7.66, null ]
labels:
- conda
- conan
version_overrides:
conan: 7.74.0
libxml2:
name_overrides:
apt: libxml2-dev
version: [ 2.9.10, 3 ]
labels:
- conda
- apt
llvm:
name_overrides:
apt: llvm-10
version: &llvm_version [ 8, null ]
labels:
- conda/dev
llvmdev:
name_overrides:
apt: llvm-10-dev
version: *llvm_version
labels:
- conda
- apt
version_overrides: &llvm_version_overrides
apt: ">=10.0-50~exp1"
make:
version: [ 4.2, null ]
labels:
- conda/dev
- apt
metagraph:
version: [ 0.2.6, null ]
labels:
- conda
nbsphinx:
version: [ 0.8, null ]
labels:
- conda/dev
ncurses:
name_overrides:
apt: libncurses-dev
version: [ 6.1, 7 ]
labels:
- conda
- apt
ninja:
version: [ 1.10, null ]
labels:
- conda
nlohmann_json:
version: [ 3.10.3, 4 ]
labels:
- conda
- conan
numba:
name_overrides:
apt-18.04: null
pip-18.04: null
version: [ 0.53.1, 0.54 ]
labels:
- conda
- pip
numpy:
name_overrides:
apt: python3-numpy
version: [ 1.17, 2 ]
labels:
- conda
- apt
version_overrides:
apt: ">=1:1.17,<<1:2"
openblas:
version: [ 0.3.12, null ]
labels:
- conda
openssl:
# Due to version ordering 1.1.1h is *before* 1.1.1 in some systems. So we use 1.1.0 as the lower bound and provide
# overrides below in cases where it might matter.
version: [ 1.1.0, null ]
labels:
- conda
- conan
version_overrides:
conan: "1.1.1h"
packaging:
version: [ 1.6, null ]
labels:
- conda
- pip/dev
pandas:
version: [ 1.1, 1.4 ]
labels:
- conda
- pip
pandoc:
version: [ 2a, null ]
labels:
- conda/dev
# TODO(amp): Reinstate this once we don't need to have any support for 18.04 in the setup scripts.
# - pip/dev
parquet-cpp:
name_overrides:
apt: libparquet-dev
version: [ 1.5, 2 ]
labels:
- conda
- apt
version_overrides:
apt: "=6.0.1-1"
pyarrow:
name_overrides:
apt: null
version: *arrow_version
labels:
- conda
- deb/pip-no-binary
pydata-sphinx-theme:
name_overrides:
pip: "git+https://github.com/pydata/pydata-sphinx-theme.git"
version: [ 0.8.0, null ]
version_overrides:
pip: "@v0.8.0"
labels:
- pip/dev
- conda/dev
pydocstyle:
version: [ 6.1.1, null ]
labels:
- conda/dev
pygithub:
name_overrides:
pip: PyGithub
version: [ 1.54, 2 ]
labels:
- conda/dev
- pip/dev
pylint:
version: [ 2.8.3, 2.9 ]
labels:
- conda/dev
pytest:
version: [ 6.2, null ]
labels:
- conda/dev
python:
name_overrides:
conan: null
apt: python3
# TODO(amp): Unpin this. Currently we only build for python 3.8 so pin to that to reduce confusion.
version: [ 3.8, 3.9 ]
labels:
- conda
- apt
sphinx-copybutton:
version: [ 0.4, null ]
labels:
- conda/dev
sphinx-tabs:
version: [ 2.1.0, null ]
labels:
- conda/dev
sphinx:
version: [ 3.5.1, null ]
labels:
- conda/dev
zlib:
name_overrides:
apt: zlib1g-dev
version: [ 1.2.11, 2 ]
labels:
- conda
- apt
version_overrides:
apt: ">=1:1.2.11,<<1:2"
git:
version: [ 2, 3 ]
labels:
- apt/dev
version_overrides:
apt: ">=1:2,<<1:3"
readline:
name_overrides:
apt: libreadline-dev
version: [ 8, null ]
labels:
- conda
- apt
libnuma:
name_overrides:
apt: libnuma-dev
conda: numactl-devel-cos6-x86_64
version: [2, null]
labels:
- apt
ccache:
version: [3, 4.3]
labels:
- apt/dev
- conda/apt
clangxx:
name_overrides:
apt: clang
version: &clang_version [10, null]
labels:
- apt/dev
- conda/dev
version_overrides: &clang_version_overrides
apt: ">=10.0-50~exp1"
clang-format:
name_overrides:
conda: clang-tools
version: *clang_version
labels:
- apt/dev
- conda/dev
version_overrides: *clang_version_overrides
clang-tidy:
name_overrides:
conda: clang-tools
version: *clang_version
labels:
- apt/dev
- conda/dev
version_overrides: *clang_version_overrides
clangd:
name_overrides:
conda: clang-tools
apt-18.04: clangd-10
version: *clang_version
labels:
- apt/dev
version_overrides: *clang_version_overrides
graphviz:
version: [2, null]
labels:
- apt/dev
pkg-config:
version: [0.29, null]
labels:
- apt/dev
- conda/dev
testresources:
version: [2, 3]
labels:
- pip
nbconvert:
version: [5.6, 6]
labels:
- pip/dev
- conda/dev
pip:
name_overrides:
conda: null
apt: python3-pip
version: [20, null]
labels:
- pip
- apt
setuptools:
version: [50, null]
labels:
- pip/dev
- conda/dev
scipy:
version: [1, 2]
sphinxcontrib-applehelp:
version: [1.0.2, null]
labels:
- pip/dev
- conda/dev
sphinxcontrib-devhelp:
version: [1.0.2, null]
labels:
- pip/dev
- conda/dev
sphinxcontrib-htmlhelp:
version: [1.0.3, null]
labels:
- pip/dev
- conda/dev
sphinxcontrib-jsmath:
version: [1.0.1, null]
labels:
- pip/dev
- conda/dev
sphinxcontrib-qthelp:
version: [1.0.3, null]
labels:
- pip/dev
- conda/dev
sphinxcontrib-serializinghtml:
version: [1.1.4, null]
labels:
- pip/dev
- conda/dev
pytest-asyncio:
version: [0.15, 1]
labels:
- pip/dev
- conda/dev
pytest-timeout:
version: [1.4.2, 2]
labels:
- pip/dev
- conda/dev
pyyaml:
version: [5.4.1, 6]
labels:
- pip
- conda
# CUDA-enabled build in conda fails without gcc, gxx, and the sysroot (error: not finding /lib64/libpthread.so.0)
gxx:
name_overrides:
conda: gxx_linux-64
apt: g++
version: [9.3, null]
labels:
- conda/dev
gcc:
name_overrides:
conda: gcc_linux-64
apt: gcc
version: [9.3, null]
labels:
- conda/dev
sysroot:
name_overrides:
conda: sysroot_linux-64
version: [2.17, 3]
labels:
- conda/dev
# The dependencies for pytest-notebook are incomplete, we include then manually here.
pytest-notebook:
version: [0.6.1, 1]
labels:
- pip/dev
- conda/dev
jupyter_client:
version: [6, 7]
labels:
- pip/dev
- conda/dev
attrs:
version: [19, 21]
labels:
- pip/dev
- conda/dev
pexpect:
version: [4.8, 5]
labels:
- pip/dev
- conda/dev
mistune:
version: [0.8, 2]
labels:
- pip/dev
- conda/dev