Merge "[ussuri][goal] Updates for python 2.7 drop"

This commit is contained in:
Zuul 2021-12-17 09:25:22 +00:00 committed by Gerrit Code Review
commit aca9e41ed6
3 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,3 @@
- project:
templates:
- python-charm-jobs
- openstack-python3-ussuri-jobs

View File

@ -57,10 +57,10 @@ setup(
"Topic :: System",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Software Distribution",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License",
],
url='https://github.com/openstack-charmers/charms.openstack',

View File

@ -10,13 +10,6 @@ install_command =
pip install {opts} {packages}
commands = stestr run {posargs}
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/test-requirements.txt
# Py27 needs to be disabled as upstream charms.reactive is not Py3.5+ only
# However, we can't yet remove the actually py27 test from the gate.
commands = python -c "print('Py27 testing disabled.')" && /bin/true
[testenv:py3]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt