Only support Python 3.11

To match Zuul, update the pypi classifiers and testing to indicate
that only Python 3.11 is tested and supported.

Change-Id: Id7d422aaae94961a7ee746e7c69308f04d94954d
Depends-On: https://review.opendev.org/891339
This commit is contained in:
James E. Blair 2023-08-14 09:52:47 -07:00
parent b2c6017d34
commit 98994f791d
3 changed files with 24 additions and 27 deletions

View File

@ -6,7 +6,7 @@
run: playbooks/nodepool-functional-k8s/run.yaml
required-projects:
- zuul/nodepool
nodeset: ubuntu-jammy
nodeset: debian-bookworm
- job:
description: |
@ -249,25 +249,17 @@
env-vars:
DIB_SIMPLE_INIT_NETWORKMANAGER: '1'
- job:
name: nodepool-nox-py38
description: |
Nodepool unit tests with ZooKeeper running
parent: nox-py38
pre-run: playbooks/nodepool-nox/pre.yaml
vars: &nodepool_nox_vars
nox_environment:
NODEPOOL_ZK_CA: /opt/zookeeper/ca/certs/cacert.pem
NODEPOOL_ZK_CERT: /opt/zookeeper/ca/certs/client.pem
NODEPOOL_ZK_KEY: /opt/zookeeper/ca/keys/clientkey.pem
- job:
name: nodepool-nox-py311
description: |
Nodepool unit tests with ZooKeeper running
parent: nox-py311
pre-run: playbooks/nodepool-nox/pre.yaml
vars: *nodepool_nox_vars
vars:
nox_environment:
NODEPOOL_ZK_CA: /opt/zookeeper/ca/certs/cacert.pem
NODEPOOL_ZK_CERT: /opt/zookeeper/ca/certs/client.pem
NODEPOOL_ZK_KEY: /opt/zookeeper/ca/keys/clientkey.pem
nodeset: ubuntu-jammy
- project:
@ -278,10 +270,12 @@
jobs:
- opendev-buildset-registry
- nodepool-build-image
- zuul-nox-docs
- nox-linters
- nodepool-nox-py38:
nodeset: ubuntu-focal
- zuul-nox-docs:
vars:
nox_force_python: "3.11"
python_version: "3.11"
- nox-linters:
nodeset: ubuntu-jammy
- nodepool-nox-py311
- nodepool-functional-container-openstack-release
- nodepool-functional-k8s
@ -293,10 +287,12 @@
gate:
jobs:
- nodepool-upload-image
- zuul-nox-docs
- nox-linters
- nodepool-nox-py38:
nodeset: ubuntu-focal
- zuul-nox-docs:
vars:
nox_force_python: "3.11"
python_version: "3.11"
- nox-linters:
nodeset: ubuntu-jammy
- nodepool-nox-py311
- nodepool-functional-k8s
- nodepool-functional-openshift

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
Python 3.11 is now the only version of Python with which Nodepool is
tested.

View File

@ -6,17 +6,13 @@ description-file =
author = Zuul Team
author-email = zuul-discuss@lists.zuul-ci.org
home-page = https://zuul-ci.org/
python-requires = >= 3.8
python-requires = >= 3.11
classifier =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
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
[pbr]