-
-
Notifications
You must be signed in to change notification settings - Fork 490
/
hints.toml
84 lines (82 loc) · 4.17 KB
/
hints.toml
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
[hints]
# mapping from output-name-to-warn-on to hint-to-display
matplotlib = """\
Recipes should usually depend on `matplotlib-base` as opposed to \
`matplotlib` so that runtime environments do not require large \
packages like `qt`."""
build = """\
Recipes should depend on `python-build` as opposed to \
`build`. The `conda-forge` name for `https://github.com/pypa/build` is \
`python-build` in order to eliminate ambiguity. The `build` feedstock is \
archived and unmaintained."""
jpeg = """\
Recipes should usually depend on `libjpeg-turbo` as opposed to \
`jpeg` for improved performance. For more information please see \
https://github.com/conda-forge/conda-forge.github.io/issues/673."""
libboost = """\
You should not need to depend on `libboost` directly. If your package is \
linking to boost libraries, use `libboost-devel` in the host environment \
(which will create the correct dependence at runtime through a run-export), \
or use `libboost-headers` if you only need the boost headers."""
libboost-python = """\
You should not need to depend on `libboost-python` directly. If your package \
is linking to libboost_python3x.so, use `libboost-python-devel` in the host \
environment (which will create the correct dependence at runtime through a \
run-export), or use `libboost-headers` if you only need the boost headers."""
pytorch-cpu = """\
Please depend on `pytorch` directly, in order to avoid forcing \
CUDA users to downgrade to the CPU version for no reason."""
pytorch-gpu = """\
Please depend on `pytorch` directly. If your package definitely \
requires the CUDA version, please depend on `pytorch =*=cuda*`."""
# packages that have been renamed
abseil-cpp = "The `abseil-cpp` output has been superseded by `libabseil`."
arrow-cpp = "The `arrow-cpp` output has been superseded by `libarrow`."
boost-cpp = """\
The `boost-cpp` output has been superseded by `libboost-devel` (as of 1.82), \
which now comes with a run-export (on `libboost`) as well. In case you only \
needed the boost headers, you should use `libboost-headers`."""
boost = """\
The `boost` output has been superseded by `libboost-python-devel` (as of \
1.82), which now comes with a run-export (on `libboost-python`) as well."""
grpc-cpp = "The `grpc-cpp` output has been superseded by `libgrpc`."
importlib_metadata = "Use `importlib-metadata` instead of `importlib_metadata`"
libgcc-ng = """\
`libgcc-ng` has been superseded by `libgcc`. Note however, that except in \
truly exceptional cases, you should not have to add this manually; you can \
rely on the fact that `{{ compiler("c") }}` and `{{ compiler("cxx") }}` \
will always create the correct run-export for this. If you need to _ignore_ \
the run-export for whatever reason, the best way to do it is:
```yaml
build:
ignore_run_exports_from:
- {{ compiler("c") }} # depending on which...
- {{ compiler("cxx") }} # ... compilers you use
```"""
coincbc = """\
The `coincbc` package has been renamed to `coin-or-cbc`. It is now \
preferred to depend on the `coin-or-cbc` package in th host section and allow
the run_export define the runtime dependency.
"""
libstdcxx-ng = """\
`libstdcxx-ng` has been superseded by `libstdcxx`. Note however, that except in \
truly exceptional cases, you should not have to add this manually; you can \
rely on the fact that `{{ compiler("cxx") }}` will always create the correct \
run-export for this. If you need to _ignore_ the run-export for whatever \
reason, the best way to do it is:
```yaml
build:
ignore_run_exports_from:
- {{ compiler("cxx") }}
```"""
libgfortran-ng = """\
`libgfortran-ng` has been superseded by `libgfortran`. Note however, that except in \
truly exceptional cases, you should not have to add this manually; you can \
rely on the fact that `{{ compiler("fortran") }}` will always create the \
correct run-export for this. If you need to _ignore_ the run-export for \
whatever reason, the best way to do it is:
```yaml
build:
ignore_run_exports_from:
- {{ compiler("fortran") }}
```"""