Skip to content

iotests: Require Python 3.6 or later

Kevin Wolf qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 10 repliesIn review
  2. v11 patch 9 repliesSuperseded

Changes in v2 from the cover letter

- Provide the right exit code from Python instead of having a potentially confusing negation in the shell script

- Raised the minimal version to 3.6. If we're going to use a different version than QEMU as a whole anyway, we can use a version that suits us best. 3.5 would only be for Debian Stretch, and we don't really care that much about running Python test cases on it.

- Added a patch to remove Python 2 compatibility code

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iotests: Require Python 3.6 or latertests/qemu-iotests/check+12 -15 replies
2/2iotests: Remove Python 2 compatibility codetests/qemu-iotests/044 tests/qemu-iotests/163 tests/qemu-iotests/iotests.py +1 more+6 -204 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEduardo HabkostThomas HuthPhilippe Mathieu-DaudéJohn SnowVladimir Sementsov-Ogievskiy
SeriesR-b
1/2R-b R-b R-b
2/2R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] iotests: Require Python 3.6 or later

v2:

- Provide the right exit code from Python instead of having a potentially confusing negation in the shell script

- Raised the minimal version to 3.6. If we're going to use a different version than QEMU as a whole anyway, we can use a version that suits us best. 3.5 would only be for Debian Stretch, and we don't really care that much about running Python test cases on it.

- Added a patch to remove Python 2 compatibility code

Kevin Wolf (2):
iotests: Require Python 3.6 or later
iotests: Remove Python 2 compatibility code

 tests/qemu-iotests/044                   |  3 ---
 tests/qemu-iotests/163                   |  3 ---
 tests/qemu-iotests/check                 | 13 ++++++++++++-
 tests/qemu-iotests/iotests.py            | 13 +++----------
 tests/qemu-iotests/nbd-fault-injector.py |  7 +++----
 5 files changed, 18 insertions(+), 21 deletions(-)
Signature · 1 line
2.20.1