diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index ccd538e1..a03d6cb6 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: [3.11] env: PYTHON_PACKAGE: kedro_mlflow steps: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d4e1e0f5..aaa96b9c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: [3.11] env: PYTHON_PACKAGE: kedro_mlflow steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 87981410..0b350c66 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] os: [ubuntu-latest, macos-latest, windows-latest] env: OS: ${{ matrix.os }} @@ -30,15 +30,15 @@ jobs: python -m pip install --upgrade pip pip install .[test,extras] - name: Check code formatting with black - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' # linting should occur only once in the loop + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' # linting should occur only once in the loop run: | black . --check - name: Check import order with isort - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' # linting should occur only once in the loop + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' # linting should occur only once in the loop run: | isort . --check-only - name: Lint with flake8 - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' # linting should occur only once in the loop + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' # linting should occur only once in the loop run: | # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude kedro_mlflow/template/project/run.py @@ -49,7 +49,7 @@ jobs: pytest --cov=./ --cov-report=xml - name: Upload coverage report to Codecov uses: codecov/codecov-action@v1 - if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' # upload should occur only once in the loop + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' # upload should occur only once in the loop with: token: ${{ secrets.CODECOV_TOKEN }} # token is not mandatory but make access more stable file: ./coverage.xml diff --git a/setup.py b/setup.py index 9cf73590..047f82cb 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ def _parse_requirements(path, encoding="utf-8"): long_description=README, long_description_content_type="text/markdown", url="https://github.com/Galileo-Galilei/kedro-mlflow", - python_requires=">=3.8, <3.11", + python_requires=">=3.8, <3.12", packages=find_packages(exclude=["docs*", "tests*"]), setup_requires=["setuptools_scm"], include_package_data=True, @@ -76,6 +76,7 @@ def _parse_requirements(path, encoding="utf-8"): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Framework :: Kedro", "Environment :: Plugins", "Intended Audience :: Developers",