From e1e093455acaa9a6d5b131cf5103165a661c7615 Mon Sep 17 00:00:00 2001 From: liferoad Date: Wed, 20 Nov 2024 07:56:33 -0500 Subject: [PATCH] use the tight range for dask (#33172) --- sdks/python/tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini index ad5d7ec5505e..85f71e559c15 100644 --- a/sdks/python/tox.ini +++ b/sdks/python/tox.ini @@ -116,8 +116,9 @@ commands = bash {toxinidir}/scripts/run_pytest.sh {envname} {toxinidir}/apache_beam/runners/dask/ [testenv:py{39,310,311,312}-win-dask] +# use the tight range since the latest dask requires cloudpickle 3.0 commands_pre = - pip install 'distributed>=2024.4.2' 'dask>=2024.4.2' + pip install 'distributed>=2024.4.2,<2024.9.0' 'dask>=2024.4.2,<2024.9.0' commands = python apache_beam/examples/complete/autocomplete_test.py bash {toxinidir}/scripts/run_pytest.sh {envname} {toxinidir}/apache_beam/runners/dask/