From 3379361d8f789752d1c47bf3fe56fe3c3814fcba Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 13 Feb 2025 13:25:01 +0000 Subject: [PATCH] Install upstream dev dependencies in nightly CI This installs dev versions (from source) of dask and distributed in the nightly CI of dask-cudf. When paired with https://github.com/rapidsai/rapids-dask-dependency/pull/85, we'll have CI for pull requests and merge commits against released versions of Dask, but keep nightly CI runs against upstream dev versions. This ensures we'll still have advanced notice of upstream changes that cause CI failures, without disrupting day-to-day activity. --- ci/test_wheel_dask_cudf.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/test_wheel_dask_cudf.sh b/ci/test_wheel_dask_cudf.sh index 5e55fff78cd..c9bdc9a90e5 100755 --- a/ci/test_wheel_dask_cudf.sh +++ b/ci/test_wheel_dask_cudf.sh @@ -16,6 +16,12 @@ rapids-logger "Install dask_cudf, cudf, pylibcudf, and test requirements" # generate constraints (possibly pinning to oldest support versions of dependencies) rapids-generate-pip-constraints py_test_dask_cudf ./constraints.txt +# latest-nightly builds are run against upstream *dev* versions of various packages: +if [[ "${RAPIDS_DEPENDENCIES}" == "latest" ]] && [[ "${BUILD_TYPE}" == "nightly" ]]; then + echo "dask @ git+https://github.com/dask/dask" >> "./constraints.txt" + echo "distributed @ git+https://github.com/dask/distributed" >> "./constraints.txt" +fi; + # echo to expand wildcard before adding `[extra]` requires for pip rapids-pip-retry install \ -v \