From c55365be33cc32daa956baadc56293828fdaf6c1 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Fri, 12 May 2023 20:15:23 +0200 Subject: [PATCH] Upper bind dask until they solve a side effect in their test suite Dask 2023.5.0 introduced a peculiar side-effect in their tests that makes our OTHER tests break in a very strange way. Issue here: https://github.com/dask/dask/issues/10279 Until the problem is fixed we should limit dask --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b6174e2e2c290..42466a2bbb0f6 100644 --- a/setup.py +++ b/setup.py @@ -240,9 +240,11 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve # Dask support is limited, we need Dask team to upgrade support for dask if we were to continue # Supporting it in the future "cloudpickle>=1.4.1", + # Dask and distributed in version 2023.5.0 break our tests for Python > 3.7 + # The upper limit can be removed when https://github.com/dask/dask/issues/10279 is fixed # Dask in version 2022.10.1 removed `bokeh` support and we should avoid installing it - "dask>=2.9.0,!=2022.10.1", - "distributed>=2.11.1", + "dask>=2.9.0,!=2022.10.1,<2023.5.0", + "distributed>=2.11.1,<2023.5.0", ] deprecated_api = [ "requests>=2.26.0",