Skip to content

Python: drop avocado, formally support python3.14

John Snow qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesIn review
  2. v34 patches 4 repliesSuperseded
  3. v24 patches 6 repliesSuperseded

Changes in v4 from the cover letter

- Rebased
- Adjusted phrasing in 2/4 to reflect that this is a stopgap on the road to meson test
- Simplified subprocess calls in linters.py

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4python: pin 'wheel' version in minreqs testpython/Makefile python/tests/minreqs.txt+1 -20 replies
2/4python: replace avocado tests with pytestpython/Makefile python/setup.cfg python/tests/linters.py +1 more+83 -22 replies
3/4python: drop avocadopython/README.rst python/avocado.cfg python/setup.cfg +11 more+0 -650 replies
4/4python: add formal python3.14 support and testingconfigure python/setup.cfg+4 -30 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDaniel P. BerrangéThomas Huth
1/4R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] Python: drop avocado, formally support python3.14

This patchset drops avocado for the python tests, which fixes the optional python-check-tox GitLab CI test, and adds formal testing and support for Python3.14 to QEMU.

v4:
- Rebased
- Adjusted phrasing in 2/4 to reflect that this is a stopgap on the road to meson test
- Simplified subprocess calls in linters.py

v3:
- Fixed typo in patch 4 ("python 3.14" => "python3.14")

v2:
- Also search for Python3.14 during configure
- Rebase on top of master now that qemu.qmp is dropped

John Snow (4):
python: pin 'wheel' version in minreqs test
python: replace avocado tests with pytest
python: drop avocado
python: add formal python3.14 support and testing

 python/README.rst              |  2 -
 configure                      |  4 +-
 python/Makefile                |  6 +--
 python/avocado.cfg             | 13 ------
 python/setup.cfg               |  5 ++-
 python/tests/flake8.sh         |  3 --
 python/tests/iotests-mypy.sh   |  4 --
 python/tests/iotests-pylint.sh |  5 ---
 python/tests/isort.sh          |  3 --
 python/tests/linters.py        | 79 ++++++++++++++++++++++++++++++++++
 python/tests/minreqs.txt       |  3 +-
 python/tests/mypy.sh           |  3 --
 python/tests/pylint.sh         |  4 --
 python/tests/qapi-flake8.sh    |  6 ---
 python/tests/qapi-isort.sh     |  8 ----
 python/tests/qapi-mypy.sh      |  4 --
 python/tests/qapi-pylint.sh    |  8 ----
 17 files changed, 88 insertions(+), 72 deletions(-)
 delete mode 100644 python/avocado.cfg
 delete mode 100755 python/tests/flake8.sh
 delete mode 100755 python/tests/iotests-mypy.sh
 delete mode 100755 python/tests/iotests-pylint.sh
 delete mode 100755 python/tests/isort.sh
 create mode 100644 python/tests/linters.py
 delete mode 100755 python/tests/mypy.sh
 delete mode 100755 python/tests/pylint.sh
 delete mode 100755 python/tests/qapi-flake8.sh
 delete mode 100755 python/tests/qapi-isort.sh
 delete mode 100755 python/tests/qapi-mypy.sh
 delete mode 100755 python/tests/qapi-pylint.sh
Signature · 1 line
2.53.0