]> git.proxmox.com Git - mirror_qemu.git/commit
mkvenv: add better error message for broken or missing ensurepip
authorJohn Snow <jsnow@redhat.com>
Tue, 16 May 2023 07:25:38 +0000 (09:25 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 06:53:51 +0000 (08:53 +0200)
commita9dbde71da553fe0b132ffac6d1a0de16892a90d
tree4605f5eaae81e958385c96890ab1cee6e473cab4
parentdd84028ff911e75028dea0ac1e578c2a7bcc3ffd
mkvenv: add better error message for broken or missing ensurepip

Debian debundles ensurepip for python; NetBSD debundles pyexpat but
ensurepip needs pyexpat. Try our best to offer a helpful error message
instead of just failing catastrophically.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20230511035435.734312-5-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
python/scripts/mkvenv.py