diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini index ad5d7ec5505e..ae39ec951f1a 100644 --- a/sdks/python/tox.ini +++ b/sdks/python/tox.ini @@ -110,14 +110,16 @@ commands = [testenv:py{39,310,311,312}-dask] extras = test,dask,dataframes -commands_pre = - pip install 'distributed>=2024.4.2' 'dask>=2024.4.2' +deps = + distributed>=2024.4.2 + dask>=2024.4.2 commands = bash {toxinidir}/scripts/run_pytest.sh {envname} {toxinidir}/apache_beam/runners/dask/ [testenv:py{39,310,311,312}-win-dask] -commands_pre = - pip install 'distributed>=2024.4.2' 'dask>=2024.4.2' +deps = + distributed>=2024.4.2 + dask>=2024.4.2 commands = python apache_beam/examples/complete/autocomplete_test.py bash {toxinidir}/scripts/run_pytest.sh {envname} {toxinidir}/apache_beam/runners/dask/