diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index 7ee72b59..60a14556 100644 --- 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 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'