Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(datasets): Add official support for python 3.13 #938

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/kedro-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
python-version: [ "3.10", "3.11", "3.12" ]
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/unit-tests.yml
with:
plugin: kedro-datasets
Expand Down
1 change: 1 addition & 0 deletions kedro-datasets/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Upcoming Release 6.0.0

## Major features and improvements
- Added support for Python 3.13
- Added functionality to save Pandas DataFrame directly to Snowflake, facilitating seemless `.csv` ingestion
- Added Python 3.9, 3.10 and 3.11 support for SnowflakeTableDataset
- Added the following new **experimental** datasets:
Expand Down
6 changes: 3 additions & 3 deletions kedro-datasets/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ prophet = ["kedro-datasets[prophet]"]
pytorch-dataset = ["torch"]
pytorch = ["kedro-datasets[pytorch-dataset]"]

rioxarray-geotiffdataset = ["rioxarray>=0.15.0"]
rioxarray-geotiffdataset = ["rioxarraπtey>=0.15.0"]
noklam marked this conversation as resolved.
Show resolved Hide resolved
rioxarray = ["kedro-datasets[rioxarray-geotiffdataset]"]

safetensors-safetensorsdataset = ["safetensors", "numpy"]
Expand Down Expand Up @@ -257,8 +257,8 @@ test = [
"packaging",
"SQLAlchemy>=1.2",
"tables>=3.6",
"tensorflow-macos~=2.0; platform_system == 'Darwin' and platform_machine == 'arm64'",
"tensorflow~=2.0; platform_system != 'Darwin' or platform_machine != 'arm64'",
"tensorflow-macos~=2.12; platform_system == 'Darwin' and platform_machine == 'arm64' and python_version < '3.13'",
"tensorflow~=2.12; (platform_system != 'Darwin' or platform_machine != 'arm64') and python_version < '3.13'",
"triad>=0.6.7, <1.0",
"xarray>=2023.1.0",
"xlsxwriter~=1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"TensorFlow tests have become inexplicably flaky in Windows CI",
allow_module_level=True,
)
elif sys.version.minor < 13:
pytest.skip("Tensorflow is not available in Python 3.13 yet")


# In this test module, we wrap tensorflow and TensorFlowModelDataset imports into a module-scoped
Expand Down
Loading