Am 07.10.2026 um 20:33 hat John Snow geschrieben: > Currently, iotests checks to see if you are running with the "correct" > python interpreter by checking string equivalence between your current > python and the configure-time venv python. > > Depending on exactly *how* you launch or configure your python, > however, this warning may produce false positives because it treats > "python" as different from "python3" as different from > e.g. "python3.12", even though they are all actually the same exact > interpreter. > > This patch fixes this by comparing only the parent directories; we > will now be happy with any interpreter so long as it is located within > build/pyvenv/bin/. > > Note that we cannot fix this by resolving symlinks, as python venv > binaries are often (but not always) just symlinks to /usr/bin/<etc>, > and full resolution would produce even more false negatives. > > Reported-by: Peter Maydell <[email protected]> > Signed-off-by: John Snow <[email protected]>
Thanks, applied to the block branch. Kevin
