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

Add official support for python 3.13 #2191

Merged
merged 45 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
8830cab
sync remote
ravi-kumar-pilla Jul 28, 2024
0a5d1ae
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Jul 30, 2024
bf47b47
merge main
ravi-kumar-pilla Aug 8, 2024
13e905b
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Aug 13, 2024
3d6326c
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Aug 21, 2024
3d3bdda
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Aug 22, 2024
1abfc43
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 4, 2024
1461a3c
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 5, 2024
c3f7cc6
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 9, 2024
1831a39
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 12, 2024
db14971
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 17, 2024
93a7e28
merge main
ravi-kumar-pilla Sep 19, 2024
a7592a2
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 23, 2024
493f5d1
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 27, 2024
ab8a6b1
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Sep 30, 2024
f715fdf
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Oct 4, 2024
27c38dc
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Oct 8, 2024
16a0435
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Oct 10, 2024
5ccafb6
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Oct 21, 2024
57f6ddf
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Oct 30, 2024
b0a8575
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Nov 7, 2024
41c93cb
Merge branch 'main' of https://github.com/kedro-org/kedro-viz
ravi-kumar-pilla Nov 15, 2024
a30d0e4
add python 3.12 support
ravi-kumar-pilla Nov 15, 2024
662da86
fix permission
ravi-kumar-pilla Nov 15, 2024
1ab761d
add support for python 3.13
ravi-kumar-pilla Nov 15, 2024
68ee45a
testing windows build
ravi-kumar-pilla Nov 18, 2024
51103c9
testing py3.12 with upgraded pandas
ravi-kumar-pilla Nov 18, 2024
f9f6600
testing python 3.12 and fsspec compat
ravi-kumar-pilla Nov 18, 2024
4963f8b
Merge branch 'feature/python-3-12' of https://github.com/kedro-org/ke…
ravi-kumar-pilla Nov 18, 2024
14c0280
final test
ravi-kumar-pilla Nov 19, 2024
c715c40
Merge branch 'main' into feature/python-3-12
ravi-kumar-pilla Nov 19, 2024
25dc06f
address PR comments
ravi-kumar-pilla Nov 19, 2024
3aafdb1
upgrade pillow version
rashidakanchwala Nov 19, 2024
bb30b1e
Merge branch 'main' into feature/python-3-13
ravi-kumar-pilla Nov 19, 2024
e391f0b
Merge branch 'feature/python-3-12' of https://github.com/kedro-org/ke…
ravi-kumar-pilla Nov 19, 2024
561051f
Merge branch 'feature/python-3-13' of https://github.com/kedro-org/ke…
ravi-kumar-pilla Nov 19, 2024
a44de36
testing e2e fix
ravi-kumar-pilla Nov 19, 2024
fc5f76e
testing e2e fix
ravi-kumar-pilla Nov 19, 2024
be26fe6
merged main
ravi-kumar-pilla Nov 19, 2024
9a17a2e
merged main
ravi-kumar-pilla Nov 19, 2024
dbcb12e
update lower req
ravi-kumar-pilla Nov 19, 2024
4701068
testing only py3.13
ravi-kumar-pilla Nov 19, 2024
468c80c
update lower reqs
ravi-kumar-pilla Nov 20, 2024
1a3ded1
Update RELEASE.md
rashidakanchwala Nov 20, 2024
f601882
Merge branch 'main' into feature/python-3-13
rashidakanchwala Nov 20, 2024
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
6 changes: 3 additions & 3 deletions .github/workflows/all-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/e2e-tests.yml
with:
os: ${{ matrix.os }}
Expand All @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/unit-tests.yml
with:
os: ${{ matrix.os }}
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/lint.yml
with:
os: ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/e2e-tests.yml
with:
os: ${{ matrix.os }}
Expand All @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/unit-tests.yml
with:
os: ${{ matrix.os }}
Expand All @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/lint.yml
with:
os: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-only-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: ["3.9", "3.10", "3.11", "3.12" ]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13" ]
uses: ./.github/workflows/lint.yml
with:
os: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please follow the established format:

## Major features and improvements

- Add support for Python 3.12
- Add support for Python 3.12, 3.13
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the brackets, can you add the PRs

- Update Kedro-Viz telemetry for opt-out model (#2022)
- Introduce `behaviour` prop object with `reFocus` prop (#2161)

Expand Down
2 changes: 1 addition & 1 deletion demo-project/src/demo_project/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pytest-mock>=1.7.1, <2.0
pytest~=6.2
scikit-learn~=1.0
wheel>=0.35, <0.37
pillow~=9.0
pillow>=9.0
matplotlib==3.5.0
pre-commit~=1.17
ruff==0.7.0
Expand Down
2 changes: 1 addition & 1 deletion demo-project/src/docker_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kedro>=0.18.0
kedro-datasets[pandas.CSVDataset,pandas.ExcelDataset, pandas.ParquetDataset, plotly.PlotlyDataset, matplotlib.MatplotlibWriter]>=2.1.0
scikit-learn~=1.0
pillow~=9.0
pillow>=9.0
seaborn>=0.13.0
15 changes: 10 additions & 5 deletions package/features/steps/lower_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ plotly==4.8
packaging==23.0
pandas==1.3; python_version < '3.10'
pandas==1.5; python_version >= '3.10' and python_version < '3.12'
pandas==2.1.1; python_version >= '3.12'
pandas==2.1.1; python_version >= '3.12' and python_version < '3.13'
pandas==2.2.3; python_version >= '3.13'
sqlalchemy==1.4
strawberry-graphql==0.192.0
networkx==2.5
orjson==3.9
strawberry-graphql==0.192.0; python_version < '3.13'
strawberry-graphql==0.240.1; python_version >= '3.13'
networkx==2.5; python_version < '3.13'
networkx==2.7; python_version >= '3.13'
orjson==3.9; python_version < '3.13'
orjson==3.10.10; python_version >= '3.13'
secure==0.3.0
# numpy 2.0 breaks with old versions of pandas and this
# could be removed when the lowest version supported is updated
numpy==1.26.4
numpy==1.26.4; python_version < '3.13'
numpy==2.1.0; python_version >= '3.13'
pathspec==0.12.1
2 changes: 1 addition & 1 deletion package/kedro_viz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class KedroVizPythonVersionWarning(UserWarning):
"""Custom class for warnings about incompatibilities with Python versions."""


if sys.version_info >= (3, 13):
if sys.version_info >= (3, 14):
warnings.warn(
"""Please be advised that Kedro Viz is not yet fully
compatible with the Python version you are currently using.""",
Expand Down
4 changes: 2 additions & 2 deletions package/tests/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@


def test_import_kedro_viz_with_no_official_support_emits_warning(mocker):
"""Test importing kedro Viz with python>=3.13 and controlled warnings should work"""
mocker.patch("kedro_viz.sys.version_info", (3, 13))
"""Test importing kedro Viz with python>=3.14 and controlled warnings should work"""
mocker.patch("kedro_viz.sys.version_info", (3, 14))

# We use the parent class to avoid issues with `exec_module`
with pytest.warns(UserWarning) as record:
Expand Down
Loading