You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/10/31 17:30:27 UTC

[airflow] branch main updated: Remove upper-bound limit to dask (#27415)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2db27c4a75 Remove upper-bound limit to dask (#27415)
2db27c4a75 is described below

commit 2db27c4a75d5749a1ce430c73b16c41598646111
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Oct 31 18:30:18 2022 +0100

    Remove upper-bound limit to dask (#27415)
    
    Dask 2022.10.1 was broken (not only for Airlfow) due to removal
    of bokehi. Our issue report https://github.com/dask/dask/issues/9609
    triggered Dask team to prepare a hotfix 2022.10.2 - see
    https://github.com/dask/community/issues/284
    
    This PR removes the upper limit and replaces it with != to skip
    the buggy version.
---
 setup.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index 83dcd34fe4..bb8e0bdda7 100644
--- a/setup.py
+++ b/setup.py
@@ -243,9 +243,8 @@ dask = [
     # 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 in version 2022.10.1 removed `bokeh` support and dask integration needs to be upgraded
-    # by someone from Dask team who can test it
-    "dask>=2.9.0,<2022.10.1",
+    # 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",
 ]
 deprecated_api = [