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 run: playbooks/nodepool-functional-k8s/run.yaml
required-projects: required-projects:
- zuul/nodepool - zuul/nodepool
nodeset: ubuntu-jammy nodeset: debian-bookworm
- job: - job:
description: | description: |
@ -249,25 +249,17 @@
env-vars: env-vars:
DIB_SIMPLE_INIT_NETWORKMANAGER: '1' 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: - job:
name: nodepool-nox-py311 name: nodepool-nox-py311
description: | description: |
Nodepool unit tests with ZooKeeper running Nodepool unit tests with ZooKeeper running
parent: nox-py311 parent: nox-py311
pre-run: playbooks/nodepool-nox/pre.yaml 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 nodeset: ubuntu-jammy
- project: - project:
@ -278,10 +270,12 @@
jobs: jobs:
- opendev-buildset-registry - opendev-buildset-registry
- nodepool-build-image - nodepool-build-image
- zuul-nox-docs - zuul-nox-docs:
- nox-linters vars:
- nodepool-nox-py38: nox_force_python: "3.11"
nodeset: ubuntu-focal python_version: "3.11"
- nox-linters:
nodeset: ubuntu-jammy
- nodepool-nox-py311 - nodepool-nox-py311
- nodepool-functional-container-openstack-release - nodepool-functional-container-openstack-release
- nodepool-functional-k8s - nodepool-functional-k8s
@ -293,10 +287,12 @@
gate: gate:
jobs: jobs:
- nodepool-upload-image - nodepool-upload-image
- zuul-nox-docs - zuul-nox-docs:
- nox-linters vars:
- nodepool-nox-py38: nox_force_python: "3.11"
nodeset: ubuntu-focal python_version: "3.11"
- nox-linters:
nodeset: ubuntu-jammy
- nodepool-nox-py311 - nodepool-nox-py311
- nodepool-functional-k8s - nodepool-functional-k8s
- nodepool-functional-openshift - 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 = Zuul Team
author-email = zuul-discuss@lists.zuul-ci.org author-email = zuul-discuss@lists.zuul-ci.org
home-page = https://zuul-ci.org/ home-page = https://zuul-ci.org/
python-requires = >= 3.8 python-requires = >= 3.11
classifier = classifier =
Intended Audience :: Information Technology Intended Audience :: Information Technology
Intended Audience :: System Administrators Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux Operating System :: POSIX :: Linux
Programming Language :: Python 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.11
[pbr] [pbr]