From d7bbfa02496d19bba0166cd49f56e63d61dc73a9 Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Thu, 14 Nov 2024 15:01:47 -0600 Subject: [PATCH 1/6] add py3.13 to workflow --- .github/workflows/all-checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 .github/workflows/all-checks.yml diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml old mode 100644 new mode 100755 index 7ee72b59..60a14556 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -28,7 +28,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" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -65,7 +65,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest ] - python-version: [ "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -83,7 +83,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" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code From ab6dd73a1db0dd28953c8213b3f8eadb5fe5e07e Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Tue, 19 Nov 2024 14:28:21 -0600 Subject: [PATCH 2/6] test seaborn upgrade --- .../{{ cookiecutter.repo_name }}/pyproject.toml | 2 +- .../{{ cookiecutter.repo_name }}/requirements.txt | 2 +- .../{{ cookiecutter.repo_name }}/pyproject.toml | 2 +- .../{{ cookiecutter.repo_name }}/requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml index cb2d1f96..3ed1ef77 100644 --- a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0", "kedro-viz>=6.7.0", "scikit-learn~=1.5.1", - "seaborn~=0.12.1" + "seaborn~=0.13.2" ] [project.scripts] diff --git a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt index c6f597b5..0b75f654 100644 --- a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt +++ b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt @@ -6,4 +6,4 @@ kedro[jupyter] kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0 kedro-viz>=6.7.0 scikit-learn~=1.5.1 -seaborn~=0.12.1 +seaborn~=0.13.2 diff --git a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml index e017eaea..15e36ba0 100644 --- a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, spark-sparkdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0", "kedro-viz>=6.7.0", "scikit-learn~=1.5.1", - "seaborn~=0.12.1", + "seaborn~=0.13.2", "setuptools; python_version >= '3.12'" ] diff --git a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt index c73f0f74..171d9d73 100644 --- a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt +++ b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt @@ -6,5 +6,5 @@ kedro[jupyter] kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, spark-sparkdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0 kedro-viz>=6.7.0 scikit-learn~=1.5.1 -seaborn~=0.12.1 +seaborn~=0.13.2 setuptools; python_version >= "3.12" From 65bf30c5a890a73f75a831b14dd02e1b06610514 Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Tue, 19 Nov 2024 14:39:20 -0600 Subject: [PATCH 3/6] test seaborn upgrade --- .github/workflows/all-checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index 60a14556..843fa592 100755 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ windows-latest , ubuntu-latest ] - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -65,7 +65,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest ] - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -83,7 +83,7 @@ jobs: strategy: matrix: os: [ windows-latest , ubuntu-latest ] - python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code From ef3ed5287f03337b865ebe6ba3e7d078a204625b Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Tue, 19 Nov 2024 16:23:09 -0600 Subject: [PATCH 4/6] revert seaborn update --- .github/workflows/all-checks.yml | 6 +++--- .../{{ cookiecutter.repo_name }}/pyproject.toml | 2 +- .../{{ cookiecutter.repo_name }}/requirements.txt | 2 +- .../{{ cookiecutter.repo_name }}/pyproject.toml | 2 +- .../{{ cookiecutter.repo_name }}/requirements.txt | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index 843fa592..60a14556 100755 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ windows-latest , ubuntu-latest ] - python-version: [ "3.13" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -65,7 +65,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest ] - python-version: [ "3.13" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -83,7 +83,7 @@ jobs: strategy: matrix: os: [ windows-latest , ubuntu-latest ] - python-version: [ "3.13" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] runs-on: ${{ matrix.os }} steps: - name: Checkout code diff --git a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml index 3ed1ef77..cb2d1f96 100644 --- a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0", "kedro-viz>=6.7.0", "scikit-learn~=1.5.1", - "seaborn~=0.13.2" + "seaborn~=0.12.1" ] [project.scripts] diff --git a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt index 0b75f654..c6f597b5 100644 --- a/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt +++ b/spaceflights-pandas-viz/{{ cookiecutter.repo_name }}/requirements.txt @@ -6,4 +6,4 @@ kedro[jupyter] kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0 kedro-viz>=6.7.0 scikit-learn~=1.5.1 -seaborn~=0.13.2 +seaborn~=0.12.1 diff --git a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml index 15e36ba0..e017eaea 100644 --- a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/pyproject.toml @@ -16,7 +16,7 @@ dependencies = [ "kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, spark-sparkdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0", "kedro-viz>=6.7.0", "scikit-learn~=1.5.1", - "seaborn~=0.13.2", + "seaborn~=0.12.1", "setuptools; python_version >= '3.12'" ] diff --git a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt index 171d9d73..c73f0f74 100644 --- a/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt +++ b/spaceflights-pyspark-viz/{{ cookiecutter.repo_name }}/requirements.txt @@ -6,5 +6,5 @@ kedro[jupyter] kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, spark-sparkdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0 kedro-viz>=6.7.0 scikit-learn~=1.5.1 -seaborn~=0.13.2 +seaborn~=0.12.1 setuptools; python_version >= "3.12" From 70847214c6f13a291995e0c4251397c9857e0610 Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Tue, 19 Nov 2024 19:06:36 -0600 Subject: [PATCH 5/6] adjust file permissions --- .github/workflows/all-checks.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 .github/workflows/all-checks.yml diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml old mode 100755 new mode 100644 From 7129e8834f76f5d434a7e3d394b63688c915658c Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Tue, 26 Nov 2024 15:54:11 -0600 Subject: [PATCH 6/6] upgrade numpy to support py313 --- databricks-iris/{{ cookiecutter.repo_name }}/pyproject.toml | 3 ++- databricks-iris/{{ cookiecutter.repo_name }}/requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/databricks-iris/{{ cookiecutter.repo_name }}/pyproject.toml b/databricks-iris/{{ cookiecutter.repo_name }}/pyproject.toml index 338a4cd1..e818651c 100644 --- a/databricks-iris/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/databricks-iris/{{ cookiecutter.repo_name }}/pyproject.toml @@ -13,7 +13,8 @@ dependencies = [ "notebook", "kedro[jupyter]~={{ cookiecutter.kedro_version }}", "kedro-datasets[spark, pandas, spark.SparkDataset, pandas.ParquetDataset]>=3.0", - "numpy~=1.21" + "numpy~=1.21; python_version < '3.13'", + "numpy~=2.1; python_version >= '3.13'" ] [project.scripts] diff --git a/databricks-iris/{{ cookiecutter.repo_name }}/requirements.txt b/databricks-iris/{{ cookiecutter.repo_name }}/requirements.txt index 98a4bacf..4e8c9c28 100644 --- a/databricks-iris/{{ cookiecutter.repo_name }}/requirements.txt +++ b/databricks-iris/{{ cookiecutter.repo_name }}/requirements.txt @@ -3,4 +3,5 @@ jupyterlab>=3.0 notebook kedro[jupyter]~={{ cookiecutter.kedro_version }} kedro-datasets[spark, pandas, spark-sparkdataset, pandas-parquetdataset]>=3.0 -numpy~=1.21 +numpy~=1.21; python_version < '3.13' +numpy~=2.1; python_version >= '3.13'