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 1395754487 Upper bind dask until they solve a side effect in their 
test suite (#31259)
1395754487 is described below

commit 139575448716fb1ebeafb736e1c9cc30800ef0b6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri May 12 20:23:49 2023 +0200

    Upper bind dask until they solve a side effect in their test suite (#31259)
    
    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 b6174e2e2c..42466a2bbb 100644
--- a/setup.py
+++ b/setup.py
@@ -240,9 +240,11 @@ 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 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",

Reply via email to