Skip to content

Commit

Permalink
use pip for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Mar 29, 2022
1 parent 1ac5588 commit 33a607a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/azurepipelines/install_conda_build_test_deps
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
Expand Down

0 comments on commit 33a607a

Please sign in to comment.