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: - 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-py311 parent: tox-py312
nodeset: ubuntu-jammy nodeset: ubuntu-noble
required-projects: required-projects:
- jjb/python-jenkins - jjb/python-jenkins
- jjb/jenkins-job-builder - jjb/jenkins-job-builder
@ -13,12 +13,12 @@
jobs: jobs:
# Only in check: # Only in check:
- tox-cover: - tox-cover:
nodeset: ubuntu-jammy nodeset: ubuntu-noble
# Jobs common to gate pipeline # Jobs common to gate pipeline
- tox-linters: - tox-linters:
nodeset: ubuntu-jammy nodeset: ubuntu-noble
- openstack-tox-docs: - openstack-tox-docs:
nodeset: ubuntu-jammy nodeset: ubuntu-noble
- tox-py38: - tox-py38:
nodeset: ubuntu-focal nodeset: ubuntu-focal
- tox-py39: - tox-py39:
@ -27,13 +27,15 @@
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- tox-py311: - tox-py311:
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- jjb-tox-cross-jenkins-job-builder - jjb-tox-cross-jenkins-job-builder
gate: gate:
jobs: jobs:
- tox-linters: - tox-linters:
nodeset: ubuntu-jammy nodeset: ubuntu-noble
- openstack-tox-docs: - openstack-tox-docs:
nodeset: ubuntu-jammy nodeset: ubuntu-noble
- tox-py38: - tox-py38:
nodeset: ubuntu-focal nodeset: ubuntu-focal
- tox-py39: - tox-py39:
@ -42,4 +44,6 @@
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- tox-py311: - tox-py311:
nodeset: ubuntu-jammy nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- jjb-tox-cross-jenkins-job-builder - jjb-tox-cross-jenkins-job-builder

View File

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

View File

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

View File

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