From 3a03b626426370e4f97f52386b503b0e2dfd7f47 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Mon, 7 Oct 2024 12:01:54 -0400 Subject: [PATCH] Use py312 for all neutron-lib jobs There is a job definition here for testing neutron-lib with the master branch of neutron. As neutron is no longer testing py311 in its master gate for 2025.1, start using the py312 version of this jobs so we can move forward. Changed it to voting as it has been non-voting since June 2024 and checking the past few months changes have not shown any failures. Also moved the sqlalchemy job to start using py312 as well. Also updated the testing runtime to include 3.12 and removed 3.8 based on 2025.1 governance [0]. [0] https://review.opendev.org/c/openstack/governance/+/926150 Change-Id: Ife1abbf48c15a2440c8b1f5316c541781964ce5c --- .zuul.yaml | 11 ++++------- setup.cfg | 6 ++++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index eeeed4aa9..c8f85a0dc 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,9 +1,6 @@ - job: - name: openstack-tox-py311-with-neutron - parent: openstack-tox-py311 - # TODO(ykarel) Can switch to voting in next cycle(E) - # if job found to be stable - voting: false + name: openstack-tox-py312-with-neutron + parent: openstack-tox-py312 timeout: 3600 vars: zuul_work_dir: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/neutron'].src_dir }}" @@ -22,8 +19,8 @@ - neutron-tempest-plugin-jobs check: jobs: - - openstack-tox-py311-with-neutron - - openstack-tox-py311-with-sqlalchemy-master + - openstack-tox-py312-with-neutron + - openstack-tox-py312-with-sqlalchemy-master - neutron-functional-with-uwsgi: required-projects: - openstack/neutron-lib diff --git a/setup.cfg b/setup.cfg index 61ff80b39..0bcd9310b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description_file = author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://docs.openstack.org/neutron-lib/latest/ -python_requires = >=3.8 +python_requires = >=3.9 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -15,8 +15,10 @@ classifier = Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - 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 =