From d281b83d5a5420e55b6679c0b96d8ac87b678e71 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Wed, 22 Feb 2023 18:06:39 +0000 Subject: [PATCH 1/2] Pin to pynvml < 11.5 (#1123) PyNVML 11.5 makes a API-breaking change to the return types of (at least) nvmlDeviceGetName (producing str rather than bytes). On the development branch this was fixed by #1118. To fix in 23.02, instead pin to the previously working version, rather than backporting. Authors: - Lawrence Mitchell (https://github.com/wence-) Approvers: - Ray Douglass (https://github.com/raydouglass) --- dependencies.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index 9b471e6a4..f2fc93652 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -100,7 +100,7 @@ dependencies: - numba>=0.54 - numpy>=1.18.0 - pandas>=1.0 - - pynvml>=11.0.0 + - pynvml>=11.0.0,<11.5 - zict>=0.1.3 test_python: common: diff --git a/pyproject.toml b/pyproject.toml index 58f156bb9..5dafea823 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ requires-python = ">=3.8" dependencies = [ "dask ==2023.1.1", "distributed ==2023.1.1", - "pynvml >=11.0.0", + "pynvml >=11.0.0,<11.5", "numpy >=1.18.0", "numba >=0.54", "pandas >=1.0", From 458655dc470ed91c601f31a9661a3d7b8ef38db9 Mon Sep 17 00:00:00 2001 From: Ajay Thorve Date: Thu, 23 Feb 2023 11:15:23 -0800 Subject: [PATCH 2/2] Fix GHA build workflow (#1120) This PR fixes the condition to trigger docs-build workflow in build.yaml to: - simplify the branch assertion - ensure that it only runs on push events (as opposed to workflow_dispatch events which trigger the nightlies). @ajschmidt8 Authors: - Ajay Thorve (https://github.com/AjayThorve) - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) URL: https://github.com/rapidsai/dask-cuda/pull/1120 --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d1974a7c5..59e188881 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,7 +35,7 @@ jobs: date: ${{ inputs.date }} sha: ${{ inputs.sha }} docs-build: - if: ${{ startsWith(github.ref, 'refs/heads/branch-') }} + if: github.ref_type == 'branch' && github.event_name == 'push' needs: [conda-python-build] secrets: inherit uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04