fix: use new Index class due to deprecations in conda 25.9.0 (#31155)

* fix: use new Index class due to deprecations in conda 25.9.0

* prod: update conda version in environment.yaml to 25.9.0

* fix: update conda version requirement in pixi.toml to 25.9.0
This commit is contained in:
Matthew R. Becker
2025-10-02 06:26:56 -05:00
committed by GitHub
parent a73c17582f
commit 994b9e6089
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
from shutil import rmtree
import tempfile
import conda.base.context
import conda.core.index
import conda.core
import conda.resolve
import conda_build.api
import conda_index.api
@@ -234,7 +234,7 @@ def build_folders(recipes_dir, folders, arch, channel_urls):
index_path = os.path.join(sys.exec_prefix, "conda-bld")
os.makedirs(index_path, exist_ok=True)
conda_index.api.update_index(index_path)
index = conda.core.index.get_index(channel_urls=channel_urls)
index = conda.core.Index(channel_urls=channel_urls)
conda_resolve = conda.resolve.Resolve(index)
config = get_config(arch, channel_urls)
+1 -1
View File
@@ -4,7 +4,7 @@ channels:
- nodefaults
dependencies:
- python 3.12.*
- conda >=24.9.2
- conda >=25.9.0
- conda-libmamba-solver >=24.9.0
- conda-build >=25.3.1
- conda-index >=0.3.0
+1 -1
View File
@@ -19,7 +19,7 @@ platforms = [
python = "3.12.*"
[feature.build.dependencies]
conda = ">=24.9.2"
conda = ">=25.9.0"
conda-libmamba-solver = ">=24.9.0"
conda-build = ">=25.3.1"
conda-index = ">=0.3.0"