mbox series

[0/4] Python: Add 3.13 support, play linter whackamole

Message ID 20240626232230.408004-1-jsnow@redhat.com
Headers show
Series Python: Add 3.13 support, play linter whackamole | expand

Message

John Snow June 26, 2024, 11:22 p.m. UTC
Fix some regressions in check-python-tox that have crept in since Pylint
3.x, and add Python 3.13 support to the pipeline.

GitLab pipeline (before I fixed the missing DCO, but let's be honest, it
can't possibly be worth re-running so many tests for just that):
  https://gitlab.com/jsnow/qemu/-/pipelines/1349737188

John Snow (4):
  python: linter changes for pylint 3.x
  python: Do not use pylint 3.2.4 with python 3.8
  iotests: Change imports for Python 3.13
  python: enable testing for 3.13

 python/qemu/machine/machine.py         | 1 +
 python/qemu/utils/qemu_ga_client.py    | 2 +-
 python/setup.cfg                       | 4 +++-
 tests/docker/dockerfiles/python.docker | 1 +
 tests/qemu-iotests/testenv.py          | 7 ++++++-
 tests/qemu-iotests/testrunner.py       | 9 ++++++---
 6 files changed, 18 insertions(+), 6 deletions(-)

Comments

John Snow July 5, 2024, 3:52 p.m. UTC | #1
On Wed, Jun 26, 2024, 7:22 PM John Snow <jsnow@redhat.com> wrote:

> Fix some regressions in check-python-tox that have crept in since Pylint
> 3.x, and add Python 3.13 support to the pipeline.
>
> GitLab pipeline (before I fixed the missing DCO, but let's be honest, it
> can't possibly be worth re-running so many tests for just that):
>   https://gitlab.com/jsnow/qemu/-/pipelines/1349737188
>
> John Snow (4):
>   python: linter changes for pylint 3.x
>   python: Do not use pylint 3.2.4 with python 3.8
>   iotests: Change imports for Python 3.13
>   python: enable testing for 3.13
>
>  python/qemu/machine/machine.py         | 1 +
>  python/qemu/utils/qemu_ga_client.py    | 2 +-
>  python/setup.cfg                       | 4 +++-
>  tests/docker/dockerfiles/python.docker | 1 +
>  tests/qemu-iotests/testenv.py          | 7 ++++++-
>  tests/qemu-iotests/testrunner.py       | 9 ++++++---
>  6 files changed, 18 insertions(+), 6 deletions(-)
>
> --
> 2.45.0
>

Staging under my Python branch, since I need to get tests green to roll
forward with some more substantial changes.

--js

>