Skip to content

Commit

Permalink
use mamba uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoralez committed Jan 22, 2024
1 parent 3d0e237 commit c9740c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .ci/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

set +x

if [[ $OS_NAME == "macos" ]] && [[ $COMPILER == "gcc" ]]; then
export CXX=g++-11
export CC=gcc-11
Expand Down Expand Up @@ -133,7 +131,7 @@ if [[ $PYTHON_VERSION == "3.7" ]]; then
fi

# including python=version[build=*cpython] to ensure that conda doesn't fall back to pypy
mamba create -v -y -n $CONDA_ENV \
mamba create -q -y -n $CONDA_ENV \
${CONSTRAINED_DEPENDENCIES} \
cffi \
cloudpickle \
Expand Down Expand Up @@ -321,7 +319,7 @@ matplotlib.use\(\"Agg\"\)\
jupyter nbconvert --ExecutePreprocessor.timeout=180 --to notebook --execute --inplace *.ipynb || exit -1 # run all notebooks

# importing the library should succeed even if all optional dependencies are not present
conda uninstall --force --yes \
mamba uninstall -n $CONDA_ENV --force --yes \
cffi \
dask \
distributed \
Expand Down

0 comments on commit c9740c5

Please sign in to comment.