Skip to content

Commit

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

Signed-off-by: gageorgiev <[email protected]>
  • Loading branch information
gageorgiev committed Nov 19, 2021
1 parent 7855ccd commit 1aa7928
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion projects/vdk-control-cli/.gitlab-ci.yml
Original file line number Diff line number Diff line change
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
1 change: 1 addition & 0 deletions projects/vdk-control-cli/cicd/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pip install -e .

echo "Run unit tests and generate coverage report"
pip install pytest-cov
pip install pytest==6.2.4 # TODO: there is some regression with the newest version, remove this when possible
pytest --junitxml=tests.xml --cov taurus --cov-report term-missing --cov-report xml:coverage.xml

echo "Done"
3 changes: 2 additions & 1 deletion projects/vdk-control-cli/setup.cfg
Original file line number Diff line number Diff line change
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 1aa7928

Please sign in to comment.