Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] Pin dask and distributed for release #1003

Merged
merged 8 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions ci/cpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export CUDA_REL=${CUDA_VERSION%.*}
export GPUCI_CONDA_RETRY_MAX=1
export GPUCI_CONDA_RETRY_SLEEP=30

# Whethere to keep `dask/label/dev` channel in the env. If INSTALL_DASK_MAIN=0,
galipremsagar marked this conversation as resolved.
Show resolved Hide resolved
# `dask/label/dev` channel is removed.
export INSTALL_DASK_MAIN=0

# Switch to project root; also root of repo checkout
cd "$WORKSPACE"

Expand All @@ -43,9 +47,15 @@ gpuci_logger "Activate conda env"
. /opt/conda/etc/profile.d/conda.sh
conda activate rapids

# Remove rapidsai-nightly channel if we are building main branch
# Remove `rapidsai-nightly` & `dask/label/dev` channel if we are building main branch
if [ "$SOURCE_BRANCH" = "main" ]; then
conda config --system --remove channels rapidsai-nightly
conda config --system --remove channels dask/label/dev
fi

# Remove `dask/label/dev` channel if INSTALL_DASK_MAIN=0
if [[ "${INSTALL_DASK_MAIN}" == 0 ]]; then
galipremsagar marked this conversation as resolved.
Show resolved Hide resolved
conda config --system --remove channels dask/label/dev
fi

gpuci_logger "Check compiler versions"
Expand All @@ -61,8 +71,8 @@ conda list --show-channel-urls
# FIX Added to deal with Anancoda SSL verification issues during conda builds
conda config --set ssl_verify False

pip install git+https://github.com/dask/dask.git@main
pip install git+https://github.com/dask/distributed.git@main
pip install git+https://github.com/dask/dask.git@2022.9.1
pip install git+https://github.com/dask/distributed.git@2022.9.1
galipremsagar marked this conversation as resolved.
Show resolved Hide resolved

################################################################################
# BUILD - Package builds
Expand Down
5 changes: 3 additions & 2 deletions ci/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ export NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=1

# Install dask and distributed from main branch. Usually needed during
# development time and disabled before a new dask-cuda release.
export INSTALL_DASK_MAIN=1
export INSTALL_DASK_MAIN=0

# Dask version to install when `INSTALL_DASK_MAIN=0`
export DASK_STABLE_VERSION="2022.7.1"
export DASK_STABLE_VERSION="2022.9.1"
galipremsagar marked this conversation as resolved.
Show resolved Hide resolved

################################################################################
# SETUP - Check environment
Expand Down Expand Up @@ -77,6 +77,7 @@ if [[ "${INSTALL_DASK_MAIN}" == 1 ]]; then
else
gpuci_logger "gpuci_mamba_retry install conda-forge::dask==${DASK_STABLE_VERSION} conda-forge::distributed==${DASK_STABLE_VERSION} conda-forge::dask-core==${DASK_STABLE_VERSION} --force-reinstall"
gpuci_mamba_retry install conda-forge::dask==${DASK_STABLE_VERSION} conda-forge::distributed==${DASK_STABLE_VERSION} conda-forge::dask-core==${DASK_STABLE_VERSION} --force-reinstall
conda config --system --remove channels dask/label/dev
fi


Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dask>=2022.7.1
distributed>=2022.7.1
dask==2022.9.1
distributed==2022.9.1
galipremsagar marked this conversation as resolved.
Show resolved Hide resolved
pynvml>=11.0.0
numpy>=1.16.0
numba>=0.54