Merge "Update python testing as per zed cycle teting runtime"

changes/31/842931/2
Zuul 8 months ago committed by Gerrit Code Review
commit 6c504b3210

@ -67,14 +67,13 @@
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-oslo-tips
name: glance-tox-functional-py38-oslo-tips
parent: glance-tox-oslo-tips-base
description: |
Glance py36 functional tests vs. oslo libraries masters
nodeset: ubuntu-bionic
Glance py38 functional tests vs. oslo libraries masters
vars:
python_version: 3.6
tox_envlist: functional-py36
python_version: 3.8
tox_envlist: functional-py38
- job:
name: glance-tox-keystone-tips-base
@ -98,14 +97,13 @@
tox_envlist: py39
- job:
name: glance-tox-py36-keystone-tips
name: glance-tox-py38-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py36 unit tests vs. keystone masters
nodeset: ubuntu-bionic
Glance py38 unit tests vs. keystone masters
vars:
python_version: 3.6
tox_envlist: py36
python_version: 3.8
tox_envlist: py38
- job:
name: glance-tox-functional-py39-keystone-tips
@ -117,14 +115,13 @@
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-keystone-tips
name: glance-tox-functional-py38-keystone-tips
parent: glance-tox-keystone-tips-base
description: |
Glance py36 functional tests vs. keystone masters
nodeset: ubuntu-bionic
Glance py38 functional tests vs. keystone masters
vars:
python_version: 3.6
tox_envlist: functional-py36
python_version: 3.8
tox_envlist: functional-py38
- job:
name: glance-tox-glance_store-tips-base
@ -146,14 +143,13 @@
tox_envlist: py39
- job:
name: glance-tox-py36-glance_store-tips
name: glance-tox-py38-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py36 unit tests vs. glance_store master
nodeset: ubuntu-bionic
Glance py38 unit tests vs. glance_store master
vars:
python_version: 3.6
tox_envlist: py36
python_version: 3.8
tox_envlist: py38
- job:
name: glance-tox-functional-py39-glance_store-tips
@ -165,14 +161,13 @@
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-glance_store-tips
name: glance-tox-functional-py38-glance_store-tips
parent: glance-tox-glance_store-tips-base
description: |
Glance py36 functional tests vs. glance_store master
nodeset: ubuntu-bionic
Glance py38 functional tests vs. glance_store master
vars:
python_version: 3.6
tox_envlist: functional-py36
python_version: 3.8
tox_envlist: functional-py38
- job:
name: glance-tox-cursive-tips-base
@ -196,14 +191,13 @@
tox_envlist: py39
- job:
name: glance-tox-py36-cursive-tips
name: glance-tox-py38-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py36 unit tests vs. cursive (and related libs) master
nodeset: ubuntu-bionic
Glance py38 unit tests vs. cursive (and related libs) master
vars:
python_version: 3.6
tox_envlist: py36
python_version: 3.8
tox_envlist: py38
- job:
name: glance-tox-functional-py39-cursive-tips
@ -215,14 +209,13 @@
tox_envlist: functional-py39
- job:
name: glance-tox-functional-py36-cursive-tips
name: glance-tox-functional-py38-cursive-tips
parent: glance-tox-cursive-tips-base
description: |
Glance py36 functional tests vs. cursive (and related libs) master
nodeset: ubuntu-bionic
Glance py38 functional tests vs. cursive (and related libs) master
vars:
python_version: 3.6
tox_envlist: functional-py36
python_version: 3.8
tox_envlist: functional-py38
- job:
name: tempest-integrated-storage-import
@ -321,13 +314,12 @@
templates:
- check-requirements
- integrated-gate-storage
- openstack-python3-yoga-jobs
- openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-functional-py36-fips
- openstack-tox-functional-py39
- glance-tox-functional-py39-rbac-defaults
- glance-code-constants-check
@ -363,7 +355,7 @@
gate:
jobs:
- openstack-tox-functional-py36
- openstack-tox-functional-py38
- openstack-tox-functional-py39
- tempest-integrated-storage:
irrelevant-files: *tempest-irrelevant-files
@ -383,9 +375,9 @@
experimental:
jobs:
- glance-tox-py39-glance_store-tips
- glance-tox-py36-glance_store-tips
- glance-tox-py38-glance_store-tips
- glance-tox-functional-py39-glance_store-tips
- glance-tox-functional-py36-glance_store-tips
- glance-tox-functional-py38-glance_store-tips
- barbican-tempest-plugin-simple-crypto
- grenade-multinode
- tempest-pg-full:
@ -408,31 +400,31 @@
# aren't doing that either.
- glance-tox-functional-py39-oslo-tips:
branches: master
- glance-tox-functional-py36-oslo-tips:
- glance-tox-functional-py38-oslo-tips:
branches: master
- glance-tox-py39-keystone-tips:
branches: master
- glance-tox-py36-keystone-tips:
- glance-tox-py38-keystone-tips:
branches: master
- glance-tox-functional-py39-keystone-tips:
branches: master
- glance-tox-functional-py36-keystone-tips:
- glance-tox-functional-py38-keystone-tips:
branches: master
- glance-tox-py39-glance_store-tips:
branches: master
- glance-tox-py36-glance_store-tips:
- glance-tox-py38-glance_store-tips:
branches: master
- glance-tox-functional-py39-glance_store-tips:
branches: master
- glance-tox-functional-py36-glance_store-tips:
- glance-tox-functional-py38-glance_store-tips:
branches: master
- glance-tox-py39-cursive-tips:
branches: master
- glance-tox-py36-cursive-tips:
- glance-tox-py38-cursive-tips:
branches: master
- glance-tox-functional-py39-cursive-tips:
branches: master
- glance-tox-functional-py36-cursive-tips:
- glance-tox-functional-py38-cursive-tips:
branches: master
- glance-multistore-cinder-fips:
branches: master

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

@ -6,7 +6,7 @@ description_file =
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/glance/latest/
python_requires = >=3.6
python_requires = >=3.8
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@ -16,8 +16,6 @@ classifier =
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9

@ -1,7 +1,7 @@
[tox]
minversion = 3.18.0
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
envlist = functional-py39,py39,py36,pep8
envlist = functional-py39,py39,pep8
skipsdist = True
skip_missing_interpreters = true
# this allows tox to infer the base python from the environment name
@ -41,14 +41,6 @@ setenv =
TEST_PATH = ./glance/tests/functional
commands = stestr run {posargs}
[testenv:functional-py36]
setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands}
[testenv:functional-py37]
setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands}
[testenv:functional-py38]
setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands}
@ -182,14 +174,6 @@ commands =
commands =
oslo_debug_helper {posargs}
[testenv:debug-py36]
commands =
oslo_debug_helper {posargs}
[testenv:debug-py37]
commands =
oslo_debug_helper {posargs}
[testenv:debug-py38]
commands =
oslo_debug_helper {posargs}

Loading…
Cancel
Save