From 33a607ad4c48ae0a7c9e42c2e110b70e548032c0 Mon Sep 17 00:00:00 2001 From: Jaime RGP Date: Tue, 29 Mar 2022 12:28:36 +0200 Subject: [PATCH] use pip for now --- ci/azurepipelines/install_conda_build_test_deps | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/azurepipelines/install_conda_build_test_deps b/ci/azurepipelines/install_conda_build_test_deps index 66efdf9763..88b982c7d8 100755 --- a/ci/azurepipelines/install_conda_build_test_deps +++ b/ci/azurepipelines/install_conda_build_test_deps @@ -18,7 +18,7 @@ function install_conda_build_test_deps_fn() _PKGS+=(${DEF_CHAN}::ripgrep ${DEF_CHAN}::pyflakes ${DEF_CHAN}::beautifulsoup4 ${DEF_CHAN}::chardet ${DEF_CHAN}::pycrypto ${DEF_CHAN}::glob2 ${DEF_CHAN}::psutil ${DEF_CHAN}::pytz ${DEF_CHAN}::tqdm) _PKGS+=(${DEF_CHAN}::conda-package-handling ${DEF_CHAN}::perl ${DEF_CHAN}::python-libarchive-c) # TODO: Temporary, remove before merge - _PKGS+=(jaimergp/label/menuinst_dev::menuinst=2 ${DEF_CHAN}::pydantic) + _PKGS+=(${DEF_CHAN}::pydantic) _PKGS+=(${DEF_CHAN}::pip ${DEF_CHAN}::numpy ${DEF_CHAN}::pkginfo ${DEF_CHAN}::python="${PYTHON_VERSION}") if [[ $(uname) =~ .*inux.* ]] && [[ ! ${MACOS_ARM64} == yes ]] ; then _PKGS+=(${DEF_CHAN}::patchelf) @@ -31,6 +31,10 @@ function install_conda_build_test_deps_fn() fi echo -e "Asking conda to install:\n${_PKGS[@]}" conda install -y --show-channel-urls "${_PKGS[@]}" "$@" + # TODO: Temporary, remove before merge + # This is needed for now because conda 4.12 pins menuinst<2 + pip install --no-deps https://github.com/jaimergp/menuinst/archive/refs/heads/cep.zip + # If we install shellcheck from conda-forge and packages from defaults at the same time (via channel::package) # then conda-forge used for other packages too. We could force it by forcing transitive deps to also be listed # with their channel, but, well, yuck.