Skip to content

Commit 3fb77e7

Browse files
Support dask 2024.12.1
Fixes an import error caused by dask 2024.12.1, which removed the legacy dask.dataframe.dd submodule (dask/dask#11604). Changes the import to `import dask.dataframe as dd`, consistent with every other file in the codebase.
1 parent 70fbadb commit 3fb77e7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cdisc_rules_engine/services/data_readers/csv_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import tempfile
22

3-
from dask.dataframe import dd
3+
import dask.dataframe as dd
44

55
from cdisc_rules_engine.exceptions.custom_exceptions import InvalidCSVFile
66
from cdisc_rules_engine.interfaces import DataReaderInterface

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies = [
1515
"cachetools >=6.1.0",
1616
"cdisc-library-client >=0.1.6",
1717
"click >=8.1.7",
18-
"dask[dataframe,array] >=2024.6.0, <2024.12.1",
18+
"dask[dataframe,array] >=2024.6.0, <2025.4.0",
1919
"fastparquet >=2024.2.0",
2020
"importlib-metadata >=8.5.0",
2121
"jsonata-python >=0.6.0",

0 commit comments

Comments
 (0)