diff --git a/.kokoro/tests/run_tests.bat b/.kokoro/tests/run_tests.bat index bb0b54c2..496f2d00 100755 --- a/.kokoro/tests/run_tests.bat +++ b/.kokoro/tests/run_tests.bat @@ -20,8 +20,8 @@ set "PYENV_HOME=%USERPROFILE%\.pyenv\pyenv-win\" set "PATH=%USERPROFILE%\.pyenv\pyenv-win\bin;%USERPROFILE%\.pyenv\pyenv-win\shims;%PATH%" @echo "Install additional Python versions" -call %USERPROFILE%\.pyenv\pyenv-win\bin\pyenv install --skip-existing --register 3.8.10 3.9.13 3.10.5 -call %USERPROFILE%\.pyenv\pyenv-win\bin\pyenv global 3.8.10 3.9.13 3.10.5 +call %USERPROFILE%\.pyenv\pyenv-win\bin\pyenv install --skip-existing --register 3.8.10 3.9.13 3.10.5 3.11.5 +call %USERPROFILE%\.pyenv\pyenv-win\bin\pyenv global 3.8.10 3.9.13 3.10.5 3.11.5 if defined KOKORO_BUILD_ID ( @rem export vars only for Kokoro job @rem Setup service account credentials diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index a802f01c..28fdd23d 100755 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -34,7 +34,8 @@ else pyenv install --skip-existing 3.7.10 pyenv install --skip-existing 3.8.10 pyenv install --skip-existing 3.9.5 - pyenv global 3.7.10 3.8.10 3.9.5 + pyenv install --skip-existing 3.11.5 + pyenv global 3.7.10 3.8.10 3.9.5 3.11.5 fi # install nox for testing diff --git a/README.md b/README.md index 41b56ea2..80cdc856 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Composer. In order to run the CLI tool, install the following prerequisites: -- Python 3.7-3.10 with `pip` +- Python 3.7-3.11 with `pip` - [gcloud CLI](https://cloud.google.com/sdk/docs/install) - Docker diff --git a/noxfile.py b/noxfile.py index 28071a6b..ac1999d0 100644 --- a/noxfile.py +++ b/noxfile.py @@ -17,7 +17,7 @@ import nox DEFAULT_PYTHON_VERSION = "3.9" -TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"] +TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"] CURRENT_DIRECTORY = Path(__file__).parent.absolute() diff --git a/pyproject.toml b/pyproject.toml index cbc45bda..9c71a17b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 80 -target-version = ['py37', 'py38', 'py39'] +target-version = ['py37', 'py38', 'py39', 'py311'] [tool.isort] profile = "black" line_length = 80 \ No newline at end of file diff --git a/setup.py b/setup.py index 6f6c2d2c..74b06782 100644 --- a/setup.py +++ b/setup.py @@ -74,12 +74,13 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Operating System :: OS Independent", "Topic :: Internet", ], platforms="Posix; MacOS X; Windows", packages=packages, - python_requires=">=3.7,<3.11", + python_requires=">=3.7,<3.12", install_requires=dependencies, extras_require=extras, package_data={"": ["docker_files/entrypoint.sh"]},