mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 22:33:36 +08:00
3d7b89748a
There are many Python 3.12 issues right now, but a particularly problematic one when debugging them is that one cannot even use minreqs.txt in a Python 3.12 virtual environment to test with locked package versions. Bump the mypy and wrapt versions to fix this, while remaining within the realm of versions compatible with Python 3.7. This requires a workaround for a mypy false positive qemu/qmp/qmp_tui.py:350: error: Non-overlapping equality check (left operand type: "Literal[Runstate.DISCONNECTING]", right operand type: "Literal[Runstate.IDLE]") [comparison-overlap] where mypy does not realize that self.disconnect() could change the value of self.runstate. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
flake8.sh | ||
iotests-mypy.sh | ||
iotests-pylint.sh | ||
isort.sh | ||
minreqs.txt | ||
mypy.sh | ||
protocol.py | ||
pylint.sh |