conda-forge.github.io icon indicating copy to clipboard operation
conda-forge.github.io copied to clipboard

Mark packages as deprecated and lint/hint against their usage

Open jaimergp opened this issue 10 months ago • 2 comments

Your question:

I'm preparing some X-to-conda-forge mappings to support an upcoming PEP and I've noticed a few dependencies that have many "implementations" available in our ecosystem. Mostly the case with CDTs.

Most of them have been replaced with from-source builds. I'm wondering if we should:

  1. Maintain a list of "deprecated" package names and their substitutions (e.g. freetype-cos7-x86_64 -> freetype).
  2. Lint or hint recipes where the deprecated names are detected and suggest their recommended counterparts.

jaimergp avatar Feb 18 '25 21:02 jaimergp

We have a file of hints like this already as toml in the pinnings repo. I think we should add them there. We can also have the bot do replacement migrations if we want a more active approach. We should archive any feedstocks we no longer need.

beckermr avatar Feb 19 '25 01:02 beckermr

See the file here: https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/linter_hints/hints.toml

beckermr avatar Feb 19 '25 01:02 beckermr