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>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# This file lists the ***oldest possible dependencies*** needed to run
|
|
# "make check" successfully under ***Python 3.7***. It is used primarily
|
|
# by GitLab CI to ensure that our stated minimum versions in setup.cfg
|
|
# are truthful and regularly validated.
|
|
#
|
|
# This file should not contain any dependencies that are not expressed
|
|
# by the [devel] section of setup.cfg, except for transitive
|
|
# dependencies which must be enumerated here explicitly to eliminate
|
|
# dependency resolution ambiguity.
|
|
#
|
|
# When adding new dependencies, pin the very oldest non-yanked version
|
|
# on PyPI that allows the test suite to pass.
|
|
|
|
# Dependencies for the TUI addon (Required for successful linting)
|
|
urwid==2.1.2
|
|
urwid-readline==0.13
|
|
Pygments==2.9.0
|
|
|
|
# Dependencies for mkvenv
|
|
distlib==0.3.6
|
|
|
|
# Dependencies for FUSE support for qom-fuse
|
|
fusepy==2.0.4
|
|
|
|
# Test-runners, utilities, etc.
|
|
avocado-framework==90.0
|
|
|
|
# Linters
|
|
flake8==5.0.4
|
|
isort==5.1.2
|
|
mypy==1.4.0
|
|
pylint==2.17.3
|
|
|
|
# Transitive flake8 dependencies
|
|
mccabe==0.7.0
|
|
pycodestyle==2.9.1
|
|
pyflakes==2.5.0
|
|
|
|
# Transitive mypy dependencies
|
|
mypy-extensions==1.0.0
|
|
typing-extensions==4.7.1
|
|
|
|
# Transitive pylint dependencies
|
|
astroid==2.15.4
|
|
lazy-object-proxy==1.4.0
|
|
toml==0.10.0
|
|
wrapt==1.14.0
|