Skip to content

Python: setuptools v60+ workaround

John Snow 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 1 replyIn review
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Python: add setuptools v60.0 workaroundpython/tests/iotests-pylint.sh python/tests/pylint.sh+4 -20 replies
2/2Revert "python: pin setuptools below v60.0.0"python/Makefile python/setup.cfg+0 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Python: setuptools v60+ workaround

Long story short: Python 3.7/3.8 on Fedora with setuptools v60.0.0+ together create a bug that ultimately causes pylint to fail. See the first commit message for more detail.

I sent out a hotfix two weeks ago to fix this behavior on our CI, but there's a better workaround. This adds the better workaround and reverts the hotfix.

John Snow (2):
Python: add setuptools v60.0 workaround
Revert "python: pin setuptools below v60.0.0"

 python/Makefile                | 2 --
 python/setup.cfg               | 1 -
 python/tests/iotests-pylint.sh | 3 ++-
 python/tests/pylint.sh         | 3 ++-
 4 files changed, 4 insertions(+), 5 deletions(-)
Signature · 1 line
2.34.1