From 8c191c881c402bb41e3dccc6f931d5681eb11456 Mon Sep 17 00:00:00 2001 From: gageorgiev Date: Fri, 19 Nov 2021 14:34:49 +0200 Subject: [PATCH] vdk-control-cli: Support 3.10 This change enables support for Python 3.10. Signed-off-by: gageorgiev --- projects/vdk-control-cli/.gitlab-ci.yml | 6 +++++- projects/vdk-control-cli/requirements.txt | 2 +- projects/vdk-control-cli/setup.cfg | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/projects/vdk-control-cli/.gitlab-ci.yml b/projects/vdk-control-cli/.gitlab-ci.yml index 13d782139e..10b223362f 100644 --- a/projects/vdk-control-cli/.gitlab-ci.yml +++ b/projects/vdk-control-cli/.gitlab-ci.yml @@ -24,7 +24,7 @@ image: "python:3.9" # Run in different environments -# VDK Control CLI currently supports Python 3.7 and 3.8 and 3.9 +# VDK Control CLI currently supports Python 3.7, 3.8, 3.9 and 3.10 vdk-control-cli-build-with-py37: image: "python:3.7" extends: .vdk-control-cli-build @@ -37,6 +37,10 @@ vdk-control-cli-build-with-py39: image: "python:3.9" extends: .vdk-control-cli-build +vdk-control-cli-build-with-py310: + image: "python:3.10" + extends: .vdk-control-cli-build + vdk-control-cli-release-acceptance-test: stage: pre_release before_script: diff --git a/projects/vdk-control-cli/requirements.txt b/projects/vdk-control-cli/requirements.txt index 6f8f1b6363..aa32ec1692 100644 --- a/projects/vdk-control-cli/requirements.txt +++ b/projects/vdk-control-cli/requirements.txt @@ -17,7 +17,7 @@ requests>=2.25 # TESTING dependencies: -pytest~=5.4.3 +pytest # See https://youtrack.jetbrains.com/issue/PY-20186 # pytest-cov and IntelliJ debugger are incompatible. # So we will run pytest-cov only in gitlab ci and it's commented out here. diff --git a/projects/vdk-control-cli/setup.cfg b/projects/vdk-control-cli/setup.cfg index 1d83aac81f..3cb07a3dc5 100644 --- a/projects/vdk-control-cli/setup.cfg +++ b/projects/vdk-control-cli/setup.cfg @@ -26,6 +26,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 [options] zip_safe = False @@ -57,7 +58,7 @@ install_requires = urllib3>=1.26.5 # Require a specific Python version -python_requires = >=3.7, <3.10 +python_requires = >=3.7, <3.11 [options.packages.find] where = src