From a978fb78f01685cbabd4fba6f9b7922659983715 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 10 Sep 2018 00:11:41 -0500 Subject: [PATCH] Install pytest with pip --- build-and-test-py-project-within-miniconda.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build-and-test-py-project-within-miniconda.sh b/build-and-test-py-project-within-miniconda.sh index cfaeac3..353f945 100644 --- a/build-and-test-py-project-within-miniconda.sh +++ b/build-and-test-py-project-within-miniconda.sh @@ -6,11 +6,13 @@ set -x curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-within-miniconda.sh source build-py-project-within-miniconda.sh -conda install --quiet --yes pytest +PY_EXE=python -conda list +# Using pip instead of conda here avoids ridiculous uninstall chains +# like these:https://gitlab.tiker.net/inducer/pyopencl/-/jobs/61543 +${PY_EXE} -mpip install pytest -PY_EXE=python +conda list TESTABLES="" if [ -d test ]; then -- GitLab