bindep/.zuul.yaml
Jeremy Stanley 2113b3ea41 Update for newer Python, Tox and Hacking
Small but overdue fix for Tox v4 support, switch to newer Hacking so
that we can test on more recent Python versions, and update the
Trove classifiers to indicate the newer jobs we're running. Also
drop Python 2.7 from the envlist since we stopped supporting it
previously, and do the same for nox for symmetry.

Remove python-dev-all from the sample bindep.txt used for testing,
since that package no longer exists on Noble.

Clean up a missed Python 2.7 workaround in setup.py as well.

Note that while we're not yet testing with Python 3.13, I ran unit
tests on it locally and everything seems to be working.

Change-Id: Ifdd15e06269b0768ef2cb6c75894dbfcdbba7a4e
2025-01-06 17:10:06 +00:00

64 lines
1.4 KiB
YAML

- job:
name: bindep-base
description: |
Check that bindep itself can install packages on various platforms.
abstract: true
roles:
- zuul: zuul/zuul-jobs
run: playbooks/bindep/run.yaml
vars:
zuul_work_dir: '{{ zuul.project.src_dir }}'
zuul_work_virtualenv: '{{ ansible_user_dir }}/.venv'
- job:
name: bindep-centos-9-stream
parent: bindep-base
nodeset: centos-9-stream
- job:
name: bindep-ubuntu-bionic
parent: bindep-base
nodeset: ubuntu-bionic
- job:
name: bindep-ubuntu-noble
parent: bindep-base
nodeset: ubuntu-noble
- project:
vars:
release_python: python3
templates:
- publish-opendev-nox-docs
check:
jobs:
- bindep-centos-9-stream
- bindep-ubuntu-bionic
- bindep-ubuntu-noble
- build-python-release
- nox-linters
- nox-py36:
nodeset: ubuntu-bionic
- nox-py312:
nodeset: ubuntu-noble
- nox-cover
gate:
jobs:
- bindep-centos-9-stream
- bindep-ubuntu-bionic
- bindep-ubuntu-noble
- build-python-release
- nox-linters
- nox-py36:
nodeset: ubuntu-bionic
- nox-py312:
nodeset: ubuntu-noble
- nox-cover
promote:
jobs:
- opendev-promote-python
release:
jobs:
- opendev-release-python
- opendev-publish-unversioned-tox-docs