CI: add support to python 37 to 311

Change-Id: I48c411f9283fb941ba81181265f59974af649a46
This commit is contained in:
Guillaume DeMengin 2023-05-27 17:07:54 +02:00 committed by guillaume de mengin
parent 6a3dc81819
commit e1a086ad45
3 changed files with 24 additions and 4 deletions

View File

@ -2,8 +2,8 @@
- job: - job:
name: jjb-tox-cross-jenkins-job-builder name: jjb-tox-cross-jenkins-job-builder
description: Tests compatibility with master branch of jenkins-job-builder description: Tests compatibility with master branch of jenkins-job-builder
parent: tox-py27 parent: tox-py311
nodeset: ubuntu-xenial nodeset: ubuntu-jammy
required-projects: required-projects:
- jjb/python-jenkins - jjb/python-jenkins
- jjb/jenkins-job-builder - jjb/jenkins-job-builder
@ -25,6 +25,16 @@
nodeset: ubuntu-xenial nodeset: ubuntu-xenial
- tox-py36: - tox-py36:
nodeset: ubuntu-bionic nodeset: ubuntu-bionic
- tox-py37:
nodeset: ubuntu-bionic
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
nodeset: ubuntu-focal
- tox-py310:
nodeset: ubuntu-jammy
- tox-py311:
nodeset: ubuntu-jammy
- jjb-tox-cross-jenkins-job-builder - jjb-tox-cross-jenkins-job-builder
gate: gate:
jobs: jobs:
@ -37,4 +47,14 @@
nodeset: ubuntu-xenial nodeset: ubuntu-xenial
- tox-py36: - tox-py36:
nodeset: ubuntu-bionic nodeset: ubuntu-bionic
- tox-py37:
nodeset: ubuntu-bionic
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
nodeset: ubuntu-focal
- tox-py310:
nodeset: ubuntu-jammy
- tox-py311:
nodeset: ubuntu-jammy
- jjb-tox-cross-jenkins-job-builder - jjb-tox-cross-jenkins-job-builder

View File

@ -4,7 +4,7 @@ coverage>=3.6
mock mock
unittest2 unittest2
python-subunit python-subunit
requests-mock>=1.4.0 requests-mock>=1.11.0
requests-kerberos<=0.12.0;python_version<'3.6' requests-kerberos<=0.12.0;python_version<'3.6'
requests-kerberos;python_version>='3.6' requests-kerberos;python_version>='3.6'
sphinx>=1.6.0,<2.0.0;python_version=='2.7' # BSD sphinx>=1.6.0,<2.0.0;python_version=='2.7' # BSD

View File

@ -1,7 +1,7 @@
[tox] [tox]
minversion = 2.0 minversion = 2.0
skipsdist = True skipsdist = True
envlist = py{34,27,35,36}, linters envlist = py{34,27,35,36,37,38,39,310,311}, linters
[testenv] [testenv]
setenv = setenv =