Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using conda_build.conda_interface #69

Merged

Conversation

mbargull
Copy link
Member

conda_build.conda_interface is being deprecated.

conda_build.conda_interface.get_index (which is conda.exports.get_index) is using the conda.models.Dist -> conda.models.records.PackageRecord mapping. Dist class is legacy code that's being phased out, so avoid it.

refs:

Please see the repo readme for directions on how to make PRs on this repo.

Checklist:

  • if you have added a CDT, it appears in the cdt_slugs.yaml file and
    you have rerun the script python gen_cdt_recipes.py.
  • if you have changed the CDT generator code (rpm.py), you have bumped
    the build number in conda_build_config.yaml and have remade all of the
    recipes via running python gen_cdt_recipes.py --force
  • if you have added a custom CDT recipe, you have added the name of the CDT
    with custom: true in the cdt_slugs.yaml file.
  • all CDT recipes have build number set by {{ cdt_build_number }} for
    old-style/legacy CDTs or {{ cdt_build_number|int + 1000 }} for new-style CDTs
  • if you see a warning about a CDT not having a license, you have added the
    license_file key in the cdt_slugs.yaml file with the path to the appropriate
    license in licenses/

NOTE: If you make any changes to cd_slugs.yaml, you need to reun the generator code
via python gen_cdt_recipes.py.

conda_build.conda_interface is being deprecated.

conda_build.conda_interface.get_index (which is conda.exports.get_index)
is using the conda.models.Dist -> conda.models.records.PackageRecord
mapping. Dist class is legacy code that's being phased out, so avoid it.

refs:
- conda/conda-build#5152
- conda/conda-build#5222

Signed-off-by: Marcel Bargull <[email protected]>
@beckermr beckermr merged commit dc76cf9 into conda-forge:main Mar 16, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants