From e0b7e3380040d71532fdf3bdaf226f892b69a40d Mon Sep 17 00:00:00 2001 From: Guillaume DeMengin Date: Thu, 10 Apr 2025 22:46:38 +0200 Subject: [PATCH] add support for python 3.12 Change-Id: I95ea684c5e32bdafe24827ff47dddd016554a5d6 --- .zuul.yaml | 18 +++++++++++------- bindep.txt | 4 ++-- setup.cfg | 4 +--- tox.ini | 2 +- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 0069005..f0b0cac 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -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 diff --git a/bindep.txt b/bindep.txt index e9d4efd..1c4dfea 100644 --- a/bindep.txt +++ b/bindep.txt @@ -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] diff --git a/setup.cfg b/setup.cfg index 69a503b..59076bc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 = diff --git a/tox.ini b/tox.ini index 7a36df0..18bcdc9 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =