Add python3.9 support

Add python3.9 support and set the default test env
from py38 to py39

Change-Id: Ie1a4790762b80b8f60eda86b879b73b8a6005eba
This commit is contained in:
wu.chunyang 2022-04-28 21:50:45 +08:00
parent 8182e3d93a
commit 2725612128
3 changed files with 5 additions and 4 deletions

View File

@ -101,19 +101,19 @@ Run all the unit tests in one command:
.. code-block:: console
tox -e py38
tox -e py39
Run all the tests of a specific test class:
.. code-block:: console
tox -e py38 -- trove.tests.unittests.instance.test_service.TestInstanceController
tox -e py39 -- trove.tests.unittests.instance.test_service.TestInstanceController
Run a single test case:
.. code-block:: console
tox -e py38 -- trove.tests.unittests.instance.test_service.TestInstanceController.test_create_multiple_versions
tox -e py39 -- trove.tests.unittests.instance.test_service.TestInstanceController.test_create_multiple_versions
References
----------

View File

@ -17,6 +17,7 @@ classifier =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
[files]
data_files =

View File

@ -1,5 +1,5 @@
[tox]
envlist = py38,pep8,cover,api-ref,releasenotes,bandit,fakemodetests
envlist = py39,pep8,cover,api-ref,releasenotes,bandit,fakemodetests
minversion = 3.18.0
skipsdist = True