qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] python: fix for mypy 0.930 and pylint dependencies
@ 2022-01-10 19:13 John Snow
  2022-01-10 19:13 ` [PATCH 1/3] python/aqmp: use absolute import statement John Snow
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: John Snow @ 2022-01-10 19:13 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, John Snow, Richard Henderson,
	Philippe Mathieu-Daudé, Cleber Rosa

GitLab: https://gitlab.com/jsnow/qemu/-/commits/python-ci-fix-2022-jan
CI: https://gitlab.com/jsnow/qemu/-/pipelines/445011098

Dependencies in the Python ecosystem were updated and caused CI failures
immediately after leaving for PTO. This series fixes those breakages,
thank you for your patience.

This patchset fixes the 'check-python-tox' job that was previously
configured as 'allowed to fail'. I'm not re-enabling it to always run at
present, maybe leaving it as an optional job is fine for now. The
purpose of the job is primarily to find new breakages on cutting edge
deployments of Python, which means that it's fairly likely to chirp as
regressions are discovered.

Generally, I like seeing those regressions so I can keep on top of
fixing them -- however, in practice, it seems as if what this really
means is that every last time I go on PTO, they break for several weeks
in an amazing coincidence.

Oh well.

When submitting Python changes in the future, please just check that
this CI test ran to ensure that it works well on all supported Python
interpreter versions.

John Snow (3):
  python/aqmp: use absolute import statement
  Python/aqmp: fix type definitions for mypy 0.920
  python: update type hints for mypy 0.930

 python/qemu/aqmp/aqmp_tui.py  | 3 ++-
 python/qemu/aqmp/protocol.py  | 5 +++--
 python/qemu/qmp/qom_common.py | 6 +-----
 3 files changed, 6 insertions(+), 8 deletions(-)

-- 
2.31.1




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-01-10 21:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-10 19:13 [PATCH 0/3] python: fix for mypy 0.930 and pylint dependencies John Snow
2022-01-10 19:13 ` [PATCH 1/3] python/aqmp: use absolute import statement John Snow
2022-01-10 21:16   ` Beraldo Leal
2022-01-10 19:13 ` [PATCH 2/3] Python/aqmp: fix type definitions for mypy 0.920 John Snow
2022-01-10 19:13 ` [PATCH 3/3] python: update type hints for mypy 0.930 John Snow
2022-01-10 21:20   ` Beraldo Leal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).