Skip to content

Commit 6706433

Browse files
authored
Pin dask to 2024.1.1 (#1301)
* Bump dask min version to 2023.6.0 * Remove dask compat code * Linting * Bump pyarrow and uvicorn deps to unblock environment solve * Undo unintentional pytest mindep change * Pin to dask 2024.1.1 * Tighten sklearn xfail in test_model.py * Drop tpot from 3.12 CI deps * Explicitly add xgboost to testing deps
1 parent e9db6af commit 6706433

21 files changed

Lines changed: 47 additions & 105 deletions

continuous_integration/docker/conda.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
python>=3.9
2-
dask>=2022.3.0
2+
dask==2024.1.1
33
pandas>=1.4.0
44
jpype1>=1.0.2
55
openjdk>=8
@@ -12,7 +12,7 @@ sphinx>=3.2.1
1212
tzlocal>=2.1
1313
fastapi>=0.92.0
1414
httpx>=0.24.1
15-
uvicorn>=0.13.4
15+
uvicorn>=0.14
1616
pyarrow>=14.0.1
1717
prompt_toolkit>=3.0.8
1818
pygments>=2.7.1

continuous_integration/docker/main.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ RUN mamba install -y \
1616
# build requirements
1717
"maturin>=1.3,<1.4" \
1818
# core dependencies
19-
"dask>=2022.3.0" \
19+
"dask==2024.1.1" \
2020
"pandas>=1.4.0" \
2121
"fastapi>=0.92.0" \
2222
"httpx>=0.24.1" \
23-
"uvicorn>=0.13.4" \
23+
"uvicorn>=0.14" \
2424
"tzlocal>=2.1" \
2525
"prompt_toolkit>=3.0.8" \
2626
"pygments>=2.7.1" \

continuous_integration/environment-3.10.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- c-compiler
6-
- dask>=2022.3.0
6+
- dask==2024.1.1
77
- fastapi>=0.92.0
88
- fugue>=0.7.3
99
- httpx>=0.24.1
@@ -26,12 +26,13 @@ dependencies:
2626
- pytest-xdist
2727
- pytest
2828
- python=3.10
29+
- py-xgboost>=1.7.0
2930
- scikit-learn>=1.0.0
3031
- sphinx
3132
- sqlalchemy
3233
- tpot>=0.12.0
3334
# FIXME: https://github.com/fugue-project/fugue/issues/526
3435
- triad<0.9.2
3536
- tzlocal>=2.1
36-
- uvicorn>=0.13.4
37+
- uvicorn>=0.14
3738
- zlib

continuous_integration/environment-3.11.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- c-compiler
6-
- dask>=2022.3.0
6+
- dask==2024.1.1
77
- fastapi>=0.92.0
88
- fugue>=0.7.3
99
- httpx>=0.24.1
@@ -26,12 +26,13 @@ dependencies:
2626
- pytest-xdist
2727
- pytest
2828
- python=3.11
29+
- py-xgboost>=1.7.0
2930
- scikit-learn>=1.0.0
3031
- sphinx
3132
- sqlalchemy
3233
- tpot>=0.12.0
3334
# FIXME: https://github.com/fugue-project/fugue/issues/526
3435
- triad<0.9.2
3536
- tzlocal>=2.1
36-
- uvicorn>=0.13.4
37+
- uvicorn>=0.14
3738
- zlib

continuous_integration/environment-3.12.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- c-compiler
6-
- dask>=2022.3.0
6+
- dask==2024.1.1
77
- fastapi>=0.92.0
88
- fugue>=0.7.3
99
- httpx>=0.24.1
@@ -27,12 +27,14 @@ dependencies:
2727
- pytest-xdist
2828
- pytest
2929
- python=3.12
30+
- py-xgboost>=1.7.0
3031
- scikit-learn>=1.0.0
3132
- sphinx
3233
- sqlalchemy
33-
- tpot>=0.12.0
34+
# TODO: add once tpot supports python 3.12
35+
# - tpot>=0.12.0
3436
# FIXME: https://github.com/fugue-project/fugue/issues/526
3537
- triad<0.9.2
3638
- tzlocal>=2.1
37-
- uvicorn>=0.13.4
39+
- uvicorn>=0.14
3840
- zlib

continuous_integration/environment-3.9.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
- c-compiler
6-
- dask=2022.3.0
6+
- dask=2024.1.1
77
- fastapi=0.92.0
88
- fugue=0.7.3
99
- httpx=0.24.1
@@ -26,6 +26,7 @@ dependencies:
2626
- pytest-xdist
2727
- pytest
2828
- python=3.9
29+
- py-xgboost=1.7.0
2930
- scikit-learn=1.0.0
3031
- sphinx
3132
# TODO: remove this constraint when we require pandas>2
@@ -34,5 +35,5 @@ dependencies:
3435
# FIXME: https://github.com/fugue-project/fugue/issues/526
3536
- triad<0.9.2
3637
- tzlocal=2.1
37-
- uvicorn=0.13.4
38+
- uvicorn=0.14
3839
- zlib

continuous_integration/gpuci/environment-3.10.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ channels:
99
dependencies:
1010
- c-compiler
1111
- zlib
12-
- dask>=2022.3.0
12+
- dask==2024.1.1
1313
- fastapi>=0.92.0
1414
- fugue>=0.7.3
1515
- httpx>=0.24.1
@@ -32,14 +32,15 @@ dependencies:
3232
- pytest-xdist
3333
- pytest
3434
- python=3.10
35+
- py-xgboost>=1.7.0
3536
- scikit-learn>=1.0.0
3637
- sphinx
3738
- sqlalchemy
3839
- tpot>=0.12.0
3940
# FIXME: https://github.com/fugue-project/fugue/issues/526
4041
- triad<0.9.2
4142
- tzlocal>=2.1
42-
- uvicorn>=0.13.4
43+
- uvicorn>=0.14
4344
# GPU-specific requirements
4445
- cudatoolkit=11.8
4546
- cudf=24.04

continuous_integration/gpuci/environment-3.9.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ channels:
99
dependencies:
1010
- c-compiler
1111
- zlib
12-
- dask>=2022.3.0
12+
- dask==2024.1.1
1313
- fastapi>=0.92.0
1414
- fugue>=0.7.3
1515
- httpx>=0.24.1
@@ -32,14 +32,15 @@ dependencies:
3232
- pytest-xdist
3333
- pytest
3434
- python=3.9
35+
- py-xgboost>=1.7.0
3536
- scikit-learn>=1.0.0
3637
- sphinx
3738
- sqlalchemy
3839
- tpot>=0.12.0
3940
# FIXME: https://github.com/fugue-project/fugue/issues/526
4041
- triad<0.9.2
4142
- tzlocal>=2.1
42-
- uvicorn>=0.13.4
43+
- uvicorn>=0.14
4344
# GPU-specific requirements
4445
- cudatoolkit=11.8
4546
- cudf=24.04

continuous_integration/recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ requirements:
3232
- xz # [linux64]
3333
run:
3434
- python
35-
- dask >=2022.3.0
35+
- dask ==2024.1.1
3636
- pandas >=1.4.0
3737
- fastapi >=0.92.0
3838
- httpx >=0.24.1
39-
- uvicorn >=0.13.4
39+
- uvicorn >=0.14
4040
- tzlocal >=2.1
4141
- prompt-toolkit >=3.0.8
4242
- pygments >=2.7.1

dask_sql/_compat.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1-
import dask
21
import pandas as pd
32
import prompt_toolkit
43
from packaging.version import parse as parseVersion
54

65
_pandas_version = parseVersion(pd.__version__)
76
_prompt_toolkit_version = parseVersion(prompt_toolkit.__version__)
8-
_dask_version = parseVersion(dask.__version__)
97

108
INDEXER_WINDOW_STEP_IMPLEMENTED = _pandas_version >= parseVersion("1.5.0")
119
PANDAS_GT_200 = _pandas_version >= parseVersion("2.0.0")
1210

1311
# TODO: remove if prompt-toolkit min version gets bumped
1412
PIPE_INPUT_CONTEXT_MANAGER = _prompt_toolkit_version >= parseVersion("3.0.29")
15-
16-
# TODO: remove when dask min version gets bumped
17-
BROADCAST_JOIN_SUPPORT_WORKING = _dask_version > parseVersion("2023.1.0")
18-
19-
# Parquet predicate-support version checks
20-
PQ_NOT_IN_SUPPORT = parseVersion(dask.__version__) > parseVersion("2023.5.1")
21-
PQ_IS_SUPPORT = parseVersion(dask.__version__) >= parseVersion("2023.3.1")
22-
23-
DASK_CUDF_TODATETIME_SUPPORT = _dask_version >= parseVersion("2023.5.1")

0 commit comments

Comments
 (0)