Skip to content

Commit

Permalink
[REVIEW] Pin dask and distributed for release (#3232)
Browse files Browse the repository at this point in the history
This PR pins `dask` and `distributed` to `2023.1.1` for `23.02` release.

xref: rapidsai/cudf#12695

Authors:
   - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
   - Brad Rees (https://github.com/BradReesWork)
   - Jordan Jacobelli (https://github.com/Ethyling)
  • Loading branch information
galipremsagar authored Feb 6, 2023
1 parent 7ad71e7 commit f2b0810
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
build_type: pull-request
package-name: cugraph
# Always want to test against latest dask/distributed.
test-before-amd64: "cd ./datasets && bash ./get_test_data.sh && cd - && RAPIDS_PY_WHEEL_NAME=pylibcugraph_cu11 rapids-download-wheels-from-s3 ./local-pylibcugraph-dep && pip install --no-deps ./local-pylibcugraph-dep/*.whl && pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]"
test-before-amd64: "cd ./datasets && bash ./get_test_data.sh && cd - && RAPIDS_PY_WHEEL_NAME=pylibcugraph_cu11 rapids-download-wheels-from-s3 ./local-pylibcugraph-dep && pip install --no-deps ./local-pylibcugraph-dep/*.whl && pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/[email protected]"
# On arm also need to install cupy from the specific site.
test-before-arm64: "RAPIDS_PY_WHEEL_NAME=pylibcugraph_cu11 rapids-download-wheels-from-s3 ./local-pylibcugraph-dep && pip install --no-deps ./local-pylibcugraph-dep/*.whl && pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64 && pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]"
test-before-arm64: "RAPIDS_PY_WHEEL_NAME=pylibcugraph_cu11 rapids-download-wheels-from-s3 ./local-pylibcugraph-dep && pip install --no-deps ./local-pylibcugraph-dep/*.whl && pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64 && pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/[email protected]"
test-unittest: "RAPIDS_DATASET_ROOT_DIR=/__w/cugraph/cugraph/datasets pytest -v ./python/cugraph/cugraph/tests --ignore=./python/cugraph/cugraph/tests/mg"
test-smoketest: "python ci/wheel_smoke_test_cugraph.py"
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
sha: ${{ inputs.sha }}
package-name: cugraph
# Always want to test against latest dask/distributed.
test-before-amd64: "cd ./datasets && bash ./get_test_data.sh && cd - && pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]"
test-before-amd64: "cd ./datasets && bash ./get_test_data.sh && cd - && pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/[email protected]"
# On arm also need to install cupy from the specific webpage.
test-before-arm64: "cd ./datasets && bash ./get_test_data.sh && cd - && pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64 && pip install git+https://github.com/dask/dask.git@main git+https://github.com/dask/distributed.git@main git+https://github.com/rapidsai/[email protected]"
test-before-arm64: "cd ./datasets && bash ./get_test_data.sh && cd - && pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64 && pip install git+https://github.com/dask/dask.git@2023.1.1 git+https://github.com/dask/distributed.git@2023.1.1 git+https://github.com/rapidsai/[email protected]"
test-unittest: "RAPIDS_DATASET_ROOT_DIR=/__w/cugraph/cugraph/datasets pytest -v ./python/cugraph/cugraph/tests --ignore=./python/cugraph/cugraph/tests/mg"
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dependencies:
- cython>=0.29,<0.30
- dask-cuda=23.02.*
- dask-cudf=23.02.*
- dask>=2022.12.0
- distributed>=2022.12.0
- dask==2023.1.1
- distributed==2023.1.1
- doxygen
- gcc_linux-64=9.*
- gmock=1.10.0
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/cugraph-pyg/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022, NVIDIA CORPORATION.
# Copyright (c) 2022-2023, NVIDIA CORPORATION.

# Usage:
# conda build -c rapidsai -c conda-forge -c nvidia .
Expand Down Expand Up @@ -30,7 +30,7 @@ requirements:
# FIXME: this pin can be removed once we move to the GitHub Actions build process
- setuptools <=65.2.0
run:
- distributed >=2022.12.0
- distributed ==2023.1.1
- numba >=0.56.2
- numpy
- pytorch <=1.12.1
Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/cugraph-service/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2022, NVIDIA CORPORATION.
# Copyright (c) 2018-2023, NVIDIA CORPORATION.

# Usage:
# conda build -c nvidia -c rapidsai -c conda-forge .
Expand Down Expand Up @@ -53,7 +53,7 @@ outputs:
- cupy >=9.5.0,<12.0.0a0
- dask-cuda ={{ minor_version }}
- dask-cudf ={{ minor_version }}
- distributed >=2022.12.0
- distributed ==2023.1.1
- numpy
- python x.x
- thriftpy2 >=0.4.15
Expand Down
6 changes: 3 additions & 3 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2022, NVIDIA CORPORATION.
# Copyright (c) 2018-2023, NVIDIA CORPORATION.

# Usage:
# conda build -c rapidsai -c conda-forge -c nvidia .
Expand Down Expand Up @@ -73,8 +73,8 @@ requirements:
- cupy >=9.5.0,<12.0.0a0
- dask-cuda ={{ minor_version }}
- dask-cudf ={{ minor_version }}
- dask >=2022.12.0
- distributed >=2022.12.0
- dask ==2023.1.1
- distributed ==2023.1.1
- libcugraph ={{ version }}
- libraft-distance ={{ minor_version }}
- libraft-headers ={{ minor_version }}
Expand Down
4 changes: 2 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ dependencies:
- cuda-python>=11.7.1,<12.0
- cudf=23.02.*
- cython>=0.29,<0.30
- dask>=2022.12.0
- dask==2023.1.1
- dask-cuda=23.02.*
- dask-cudf=23.02.*
- distributed>=2022.12.0
- distributed==2023.1.1
- libcudf=23.02.*
- nccl>=2.9.9
- pylibraft=23.02.*
Expand Down
2 changes: 1 addition & 1 deletion python/cugraph-service/server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"cupy-cuda11x",
"dask-cuda",
"dask-cudf",
"distributed >=2022.12.0",
"distributed ==2023.1.1",
"numpy",
"rmm",
"thriftpy2",
Expand Down

0 comments on commit f2b0810

Please sign in to comment.