From 0c12fa372b9affedcbee351a9f1c32c7d82cc000 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Sat, 16 Mar 2024 16:16:34 +0100 Subject: [PATCH] Use conda_index.index._apply_instructions conda_build.index._apply_instructions is marked for deprecation. refs: - https://github.com/conda/conda-build/pull/5152#discussion_r1468079893 - https://github.com/conda/conda-build/pull/5226 Signed-off-by: Marcel Bargull --- recipe/gen_patch_json.py | 2 +- recipe/show_diff.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/gen_patch_json.py b/recipe/gen_patch_json.py index 64387271e..bcd06d61b 100644 --- a/recipe/gen_patch_json.py +++ b/recipe/gen_patch_json.py @@ -16,7 +16,7 @@ from packaging.version import parse as parse_version from concurrent.futures import ProcessPoolExecutor, as_completed -from conda_build.index import _apply_instructions +from conda_index.index import _apply_instructions from show_diff import show_record_diffs from get_license_family import get_license_family from patch_yaml_utils import ( diff --git a/recipe/show_diff.py b/recipe/show_diff.py index 335412658..178aa8bcc 100755 --- a/recipe/show_diff.py +++ b/recipe/show_diff.py @@ -7,7 +7,7 @@ import urllib from concurrent.futures import ProcessPoolExecutor, as_completed -from conda_build.index import _apply_instructions +from conda_index.index import _apply_instructions CACHE_DIR = os.environ.get( "CACHE_DIR", os.path.join(os.path.dirname(os.path.abspath(__file__)), "cache")