From a37149d42be0dfcd5ffddca8be14f49375cb12ef Mon Sep 17 00:00:00 2001 From: Althea Denlinger Date: Thu, 19 Sep 2024 12:39:43 -0700 Subject: [PATCH 1/2] Add flags to `pip install` command in docs --- conda_package/docs/testing_changes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conda_package/docs/testing_changes.rst b/conda_package/docs/testing_changes.rst index a9aa5e83c..b34347368 100644 --- a/conda_package/docs/testing_changes.rst +++ b/conda_package/docs/testing_changes.rst @@ -29,7 +29,7 @@ make them in your branch), run: cd conda_package conda env create -y -n mpas_tools_dev --file dev-spec.txt conda activate mpas_tools_dev - python -m pip install -e . + python -m pip install --no-deps --no-build-isolation -e . You should now find that ``mpas_tools`` can be imported in python codes and the various scripts and entry points are available in the path. @@ -42,7 +42,7 @@ use: conda env update -f ./dev_environment conda activate mpas_tools_dev - python -m pip install -e . + python -m pip install --no-deps --no-build-isolation -e . to update the existing environment and make sure ``mpas_tools`` in the environment points to your current branch. From 1bf967da5724c9a4566895f728c3963bd17566a8 Mon Sep 17 00:00:00 2001 From: Althea Denlinger Date: Tue, 24 Sep 2024 08:43:00 -0700 Subject: [PATCH 2/2] Add flags to `pip install` in conda recipe --- conda_package/recipe/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_package/recipe/build.sh b/conda_package/recipe/build.sh index cf69c237b..f9a3f135f 100644 --- a/conda_package/recipe/build.sh +++ b/conda_package/recipe/build.sh @@ -6,7 +6,7 @@ set -e cp -r ocean landice visualization mesh_tools conda_package cd conda_package -${PYTHON} -m pip install . --no-deps -vv +${PYTHON} -m pip install . --no-deps --no-build-isolation -vv # build and install ocean topography smoothing tool cd ${SRC_DIR}/conda_package/ocean/smooth_topo