From e13743cac162c08053783b00b078a769a0af7054 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Fri, 1 Mar 2024 18:48:03 -0700 Subject: [PATCH 1/2] build(datasets): fix typos in definition of extras Signed-off-by: Deepyaman Datta --- kedro-datasets/pyproject.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kedro-datasets/pyproject.toml b/kedro-datasets/pyproject.toml index 1372378c4..eb7ad12b5 100644 --- a/kedro-datasets/pyproject.toml +++ b/kedro-datasets/pyproject.toml @@ -39,8 +39,8 @@ dask = ["kedro-datasets[dask-parquetdataset]"] databricks-managedtabledataset = ["kedro-datasets[spark-base,pandas-base,delta-base]"] databricks = ["kedro-datasets[databricks-managedtabledataset]"] -geopandas-geojasondataset = ["geopandas>=0.6.0, <1.0", "pyproj~=3.0"] -geopandas = ["kedro-datasets[geopandas-geopandasjsondataset]"] +geopandas-geojsondataset = ["geopandas>=0.6.0, <1.0", "pyproj~=3.0"] +geopandas = ["kedro-datasets[geopandas-geojsondataset]"] holoviews-holoviewswriter = ["holoviews~=1.13.0"] holoviews = ["kedro-datasets[holoviews-holoviewswriter]"] @@ -58,8 +58,8 @@ matlab = ["kedro-datasets[matlab-matlabdataset]"] matplotlib-matplotlibwriter = ["matplotlib>=3.0.3, <4.0"] matplotlib = ["kedro-datasets[matplotlib-matplotlibwriter]"] -netcdf = ["kedro-datasets[netcdf-netcdfdataset]"] netcdf-netcdfdataset = ["h5netcdf>=1.2.0","netcdf4>=1.6.4","xarray>=2023.1.0"] +netcdf = ["kedro-datasets[netcdf-netcdfdataset]"] networkx-gmldataset = ["kedro-datasets[networkx-base]"] networkx-graphmldataset = ["kedro-datasets[networkx-base]"] @@ -102,9 +102,9 @@ plotly-plotlydataset = ["kedro-datasets[pandas-base,plotly-base]"] plotly = ["kedro-datasets[plotly-jsondataset,plotly-plotlydataset]"] polars-csvdataset = ["kedro-datasets[polars-base]"] -polars-genericdataset = ["kedro-datasets[polars-base]", "pyarrow>=4.0", "xlsx2csv>=0.8.0", "deltalake >= 0.6.2",] -polars-eagerpolarsdataset = ["kedro-datasets[polars-base]", "pyarrow>=4.0", "xlsx2csv>=0.8.0", "deltalake >= 0.6.2",] -polars-lazypolarsdataset = ["kedro-datasets[polars-base]", "pyarrow>=4.0", "deltalake >= 0.6.2",] +polars-eagerpolarsdataset = ["kedro-datasets[polars-base]", "pyarrow>=4.0", "xlsx2csv>=0.8.0", "deltalake >= 0.6.2"] +polars-genericdataset = ["kedro-datasets[polars-base]", "pyarrow>=4.0", "xlsx2csv>=0.8.0", "deltalake >= 0.6.2"] +polars-lazypolarsdataset = ["kedro-datasets[polars-base]", "pyarrow>=4.0", "deltalake >= 0.6.2"] polars = ["kedro-datasets[polars-genericdataset]"] redis-pickledataset = ["redis~=4.1"] @@ -126,7 +126,7 @@ tensorflow-tensorflowmodeldataset = ["tensorflow~=2.0; platform_system != 'Darwi tensorflow = ["kedro-datasets[tensorflow-tensorflowmodeldataset]"] text-textdataset = [] -text = ["kedro-datasets[test-textdataset]"] +text = ["kedro-datasets[text-textdataset]"] tracking-jsondataset = [] tracking-metricsdataset = [] From 16b084f6a876fc0ed5673d6d11e9e8c7b919af52 Mon Sep 17 00:00:00 2001 From: Ankita Katiyar Date: Mon, 4 Mar 2024 13:05:18 +0000 Subject: [PATCH 2/2] Separate pandas-sqldataset and pandas-gbldataset Signed-off-by: Ankita Katiyar --- kedro-datasets/pyproject.toml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/kedro-datasets/pyproject.toml b/kedro-datasets/pyproject.toml index eb7ad12b5..db78c791e 100644 --- a/kedro-datasets/pyproject.toml +++ b/kedro-datasets/pyproject.toml @@ -70,24 +70,28 @@ pandas-csvdataset = ["kedro-datasets[pandas-base]"] pandas-deltatabledataset = ["kedro-datasets[pandas-base]", "deltalake>=0.10.0"] pandas-exceldataset = ["kedro-datasets[pandas-base]", "openpyxl>=3.0.6, <4.0"] pandas-featherdataset = ["kedro-datasets[pandas-base]"] -pandas-gbqdataset = ["kedro-datasets[pandas-base]", "pandas-gbq>=0.12.0, <0.18.0; python_version < '3.11'", "pandas-gbq>=0.18.0; python_version >= '3.11'",] +pandas-gbqtabledataset = ["kedro-datasets[pandas-base]", "pandas-gbq>=0.12.0, <0.18.0; python_version < '3.11'", "pandas-gbq>=0.18.0; python_version >= '3.11'"] +pandas-gbqquerydataset = ["kedro-datasets[pandas-base]", "pandas-gbq>=0.12.0, <0.18.0; python_version < '3.11'", "pandas-gbq>=0.18.0; python_version >= '3.11'"] pandas-genericdataset = ["kedro-datasets[pandas-base]"] pandas-hdfdataset = ["kedro-datasets[pandas-base]", "tables~=3.6"] pandas-jsondataset = ["kedro-datasets[pandas-base]"] pandas-parquetdataset = ["kedro-datasets[pandas-base]", "pyarrow>=6.0"] -pandas-sqldataset = ["kedro-datasets[pandas-base]", "SQLAlchemy>=1.4, <3.0", "pyodbc~=4.0"] +pandas-sqltabledataset = ["kedro-datasets[pandas-base]", "SQLAlchemy>=1.4, <3.0"] +pandas-sqlquerydataset = ["kedro-datasets[pandas-base]", "SQLAlchemy>=1.4, <3.0", "pyodbc~=4.0"] pandas-xmldataset = ["kedro-datasets[pandas-base]", "lxml~=4.6"] pandas = [ """kedro-datasets[pandas-csvdataset,\ pandas-deltatabledataset,\ pandas-exceldataset,\ pandas-featherdataset,\ - pandas-gbqdataset,\ + pandas-gbqquerydataset,\ + pandas-gbqtabledataset.\ pandas-genericdataset,\ pandas-hdfdataset,\ pandas-jsondataset,\ pandas-parquetdataset,\ - pandas-sqldataset,\ + pandas-sqltabledataset,\ + pandas-sqlquerydataset,\ pandas-xmldataset]""" ]