add support for python 3.12

Change-Id: I95ea684c5e32bdafe24827ff47dddd016554a5d6
This commit is contained in:
Guillaume DeMengin 2025-04-10 22:46:38 +02:00 committed by Vsevolod Fedorov
parent 63b657fe23
commit e0b7e33800
4 changed files with 15 additions and 13 deletions

View File

@ -1,8 +1,8 @@
- job:
name: jjb-tox-cross-jenkins-job-builder
description: Tests compatibility with master branch of jenkins-job-builder
parent: tox-py311
nodeset: ubuntu-jammy
parent: tox-py312
nodeset: ubuntu-noble
required-projects:
- jjb/python-jenkins
- jjb/jenkins-job-builder
@ -13,12 +13,12 @@
jobs:
# Only in check:
- tox-cover:
nodeset: ubuntu-jammy
nodeset: ubuntu-noble
# Jobs common to gate pipeline
- tox-linters:
nodeset: ubuntu-jammy
nodeset: ubuntu-noble
- openstack-tox-docs:
nodeset: ubuntu-jammy
nodeset: ubuntu-noble
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
@ -27,13 +27,15 @@
nodeset: ubuntu-jammy
- tox-py311:
nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- jjb-tox-cross-jenkins-job-builder
gate:
jobs:
- tox-linters:
nodeset: ubuntu-jammy
nodeset: ubuntu-noble
- openstack-tox-docs:
nodeset: ubuntu-jammy
nodeset: ubuntu-noble
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
@ -42,4 +44,6 @@
nodeset: ubuntu-jammy
- tox-py311:
nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- jjb-tox-cross-jenkins-job-builder

View File

@ -2,8 +2,8 @@
# see http://docs.openstack.org/infra/bindep/ for additional information.
build-essential [platform:dpkg]
gcc [platform:rpm]
pypy [test]
pypy-dev [test]
pypy [test !platform:ubuntu-noble]
pypy-dev [test !platform:ubuntu-noble]
python-devel [platform:rpm]
python3-dev [platform:dpkg]
python3-devel [platform:fedora]

View File

@ -20,13 +20,11 @@ classifier =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
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
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
[files]
packages =

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py{38,39,310,311}, linters
envlist = py{38,39,310,311,312}, linters
[testenv]
setenv =