MNT: Re-rendered with conda-build 24.11.2, conda-smithy 3.44.9, and conda-forge-pinning 2024.12.11.09.08.10

This commit is contained in:
nidichaogequ
2026-05-10 09:15:26 +08:00
parent 5d5992732b
commit 44e10d9731
3 changed files with 10 additions and 3 deletions
+7
View File
@@ -26,6 +26,13 @@ def setup_environment(ns):
os.path.dirname(__file__), "miniforge3"
)
# The default cache location might not be writable using docker on macOS.
if ns.config.startswith("linux") and platform.system() == "Darwin":
os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = (
os.environ.get("CONDA_FORGE_DOCKER_RUN_ARGS", "")
+ " -e RATTLER_CACHE_DIR=/tmp/rattler_cache"
)
def run_docker_build(ns):
script = ".scripts/run_docker_build.sh"