Drop Python < 3.8, add Python 3.10 testing

Also update the integration job to Jammy

Change-Id: Idec1941f6879a0fabee8fac637bc1a43e0acd793
This commit is contained in:
Ian Wienand 2022-12-01 11:52:18 +11:00
parent aed4e49286
commit c95106abb0
No known key found for this signature in database
3 changed files with 7 additions and 14 deletions

View File

@ -1,7 +1,7 @@
- job:
name: gerritlib-jeepyb-integration
description: Run manage_projects with gerritlib from source against Gerrit
nodeset: ubuntu-focal
nodeset: ubuntu-jammy
pre-run: playbooks/jeepyb-integration/pre.yaml
run: playbooks/jeepyb-integration/run.yaml
post-run: playbooks/jeepyb-integration/post.yaml
@ -13,22 +13,18 @@
check:
jobs:
- gerritlib-jeepyb-integration
- tox-py36:
nodeset: ubuntu-bionic
- tox-py37:
nodeset: ubuntu-bionic
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
nodeset: ubuntu-focal
- tox-py310:
nodeset: ubuntu-jammy
gate:
jobs:
- gerritlib-jeepyb-integration
- tox-py36:
nodeset: ubuntu-bionic
- tox-py37:
nodeset: ubuntu-bionic
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
nodeset: ubuntu-focal
- tox-py310:
nodeset: ubuntu-jammy

View File

@ -17,13 +17,10 @@ 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
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
[files]
packages = gerritlib

View File

@ -3,7 +3,7 @@ minversion = 1.6
skipsdist = True
skip_missing_interpreters = false
# https://docs.python.org/devguide/#status-of-python-branches
envlist = pep8, py{39,38,37,36,27,py}
envlist = pep8, py{310,39,38,py}
[testenv]
setenv = VIRTUAL_ENV={envdir}