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

John Snow posted 4 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240626232230.408004-1-jsnow@redhat.com
Maintainers: John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Beraldo Leal <bleal@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
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(-)
[PATCH 0/4] Python: Add 3.13 support, play linter whackamole
Posted by John Snow 5 months ago
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

Re: [PATCH 0/4] Python: Add 3.13 support, play linter whackamole
Posted by John Snow 4 months, 3 weeks ago
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

>