diff --git a/.github/workflows/kedro-docker.yml b/.github/workflows/kedro-docker.yml index 0522dd0a6..3ffec91a3 100644 --- a/.github/workflows/kedro-docker.yml +++ b/.github/workflows/kedro-docker.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, windows-latest ] - python-version: [ "3.7", "3.8", "3.9", "3.10" ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] uses: ./.github/workflows/unit-tests.yml with: plugin: kedro-docker @@ -40,7 +40,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ "3.7", "3.8", "3.9", "3.10" ] + python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] uses: ./.github/workflows/e2e-tests.yml with: plugin: kedro-docker diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe83fed95..8d70aa45f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - # kedro-datasets is the only plugin that supports python 3.11 - name: Set up Python uses: actions/setup-python@v3 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 057c5578f..f45c6c8e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ default_stages: [commit, manual] repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.3 + rev: v2.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer diff --git a/kedro-datasets/setup.py b/kedro-datasets/setup.py index a35665ec9..e79d58954 100644 --- a/kedro-datasets/setup.py +++ b/kedro-datasets/setup.py @@ -186,7 +186,7 @@ def _collect_requirements(requires): "Pillow~=9.0", "plotly>=4.8.0, <6.0", "polars[xlsx2csv, deltalake]~=0.18.0", - "pre-commit>=2.9.2, <3.0", # The hook `mypy` requires pre-commit version 2.9.2. + "pre-commit>=2.9.2, <3.0", # The hook `mypy` requires pre-commit version 2.9.2. "pyarrow>=1.0; python_version < '3.11'", "pyarrow>=7.0; python_version >= '3.11'", # Adding to avoid numpy build errors "pylint>=2.5.2, <3.0", diff --git a/kedro-docker/RELEASE.md b/kedro-docker/RELEASE.md index 4bd5b8bbd..6865c7bea 100644 --- a/kedro-docker/RELEASE.md +++ b/kedro-docker/RELEASE.md @@ -2,6 +2,7 @@ * Migrate all project metadata to static `pyproject.toml`. ## Major features and improvements +* Added support for Python 3.11 ## Bug fixes and other changes diff --git a/kedro-docker/pyproject.toml b/kedro-docker/pyproject.toml index bbb36e11e..be5c89c67 100644 --- a/kedro-docker/pyproject.toml +++ b/kedro-docker/pyproject.toml @@ -8,7 +8,7 @@ authors = [ {name = "Kedro"} ] description = "Kedro-Docker makes it easy to package Kedro projects with Docker." -requires-python = ">=3.7, <3.11" +requires-python = ">=3.7" license = {text = "Apache Software License (Apache 2.0)"} dependencies = [ "anyconfig~=0.10.0", # not directly required, pinned by Snyk to avoid a vulnerability @@ -24,8 +24,8 @@ Tracker = "https://github.com/kedro-org/kedro-plugins/issues" [project.optional-dependencies] test = [ - "bandit>=1.6.2, <2.0", - "behave>=1.2.6, <2.0", + "bandit", + "behave", "black~=22.0", "docker", "flake8>=3.5, <4.0",