From 008cd491f10781c060c975da3d38f26683c02352 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:38:54 +0000 Subject: [PATCH] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.44.7, and conda-forge-pinning 2024.11.22.09.17.35 --- README.md | 25 +++++++++++++------------ build-locally.py | 7 +++++++ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d646490..f05ce11 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -About spyder-feedstock -====================== +About spyder-base-feedstock +=========================== Feedstock license: [BSD-3-Clause](https://github.com/conda-forge/spyder-feedstock/blob/main/LICENSE.txt) @@ -102,27 +102,28 @@ Current release info | Name | Downloads | Version | Platforms | | --- | --- | --- | --- | | [![Conda Recipe](https://img.shields.io/badge/recipe-spyder-green.svg)](https://anaconda.org/conda-forge/spyder) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/spyder.svg)](https://anaconda.org/conda-forge/spyder) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/spyder.svg)](https://anaconda.org/conda-forge/spyder) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/spyder.svg)](https://anaconda.org/conda-forge/spyder) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-spyder--base-green.svg)](https://anaconda.org/conda-forge/spyder-base) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/spyder-base.svg)](https://anaconda.org/conda-forge/spyder-base) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/spyder-base.svg)](https://anaconda.org/conda-forge/spyder-base) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/spyder-base.svg)](https://anaconda.org/conda-forge/spyder-base) | -Installing spyder -================= +Installing spyder-base +====================== -Installing `spyder` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: +Installing `spyder-base` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: ``` conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `spyder` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `spyder, spyder-base` can be installed with `conda`: ``` -conda install spyder +conda install spyder spyder-base ``` or with `mamba`: ``` -mamba install spyder +mamba install spyder spyder-base ``` It is possible to list all of the versions of `spyder` available on your platform with `conda`: @@ -192,17 +193,17 @@ Terminology produce the finished article (built conda distributions) -Updating spyder-feedstock -========================= +Updating spyder-base-feedstock +============================== -If you would like to improve the spyder recipe or build a new +If you would like to improve the spyder-base recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the `conda-forge` channel, whereupon the built conda packages will be available for everybody to install and use from the `conda-forge` channel. -Note that all branches in the conda-forge/spyder-feedstock are +Note that all branches in the conda-forge/spyder-base-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions. diff --git a/build-locally.py b/build-locally.py index 6788aea..c4a56c6 100755 --- a/build-locally.py +++ b/build-locally.py @@ -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"