Merge "[ussuri][goal] Drop python 2.7 support and testing"

This commit is contained in:
Zuul 2019-12-06 01:05:01 +00:00 committed by Gerrit Code Review
commit e4ceef795a
4 changed files with 12 additions and 11 deletions

View File

@ -1,23 +1,22 @@
- project:
templates:
- openstack-python-jobs
- openstack-python3-train-jobs
- openstack-python3-ussuri-jobs
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-functional:
- openstack-tox-functional-py36:
required-projects:
- openstack/placement
- openstack-tox-functional-py36:
- openstack-tox-functional-py37:
required-projects:
- openstack/placement
gate:
jobs:
- openstack-tox-functional:
required-projects:
- openstack/placement
- openstack-tox-functional-py36:
required-projects:
- openstack/placement
- openstack-tox-functional-py37:
required-projects:
- openstack/placement

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Python 2.7 support has been dropped. The minimum version of Python now
supported is Python 3.6.

View File

@ -13,8 +13,6 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7

View File

@ -1,6 +1,6 @@
[tox]
minversion = 3.1.1
envlist = py27,py37,functional,functional-py36,pep8
envlist = py36,py37,functional-py36,functional-py37,pep8
skipsdist = True
# Automatic envs (pyXX) will use the python version appropriate to that
# env and ignore basepython inherited from [testenv]. That's what we
@ -27,7 +27,6 @@ commands = stestr run {posargs}
# gate functional jobs, which use the 'functional' path when
# copying files.
[testenv:functional]
basepython = python2.7
deps =
{[testenv]deps}
git+https://opendev.org/openstack/placement.git#egg=openstack-placement