Skip to content

Commit

Permalink
vdk-control-cli: Support 3.10 (#536)
Browse files Browse the repository at this point in the history
This change enables support for Python 3.10.

Signed-off-by: gageorgiev <gageorgiev@vmware.com>
  • Loading branch information
gageorgiev committed Nov 22, 2021
1 parent 6245ce0 commit e2d953c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion projects/vdk-control-cli/.gitlab-ci.yml
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion projects/vdk-control-cli/requirements.txt
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion projects/vdk-control-cli/setup.cfg
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e2d953c

Please sign in to comment.