[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/7] configure: Look for auxiliary Python installations
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v2 3/7] configure: Look for auxiliary Python installations |
Date: |
Fri, 10 Feb 2023 17:26:59 +0100 |
On Fri, Feb 10, 2023 at 5:22 PM John Snow <jsnow@redhat.com> wrote:
>> Though part of me thinks that your new loop is slightly overengineered
>> and we should just require /usr/bin/env python3 and call it a day.
>
> Well, but that'd be a problem for CentOS 8, wouldn't it? python3 is gonna
> resolve to python3.6.
The user would have to specify --python=/usr/bin/python3.8, or could
also set up "alternatives" so that python3 resolves to modular Python
(3.8 or newer). I think it's a fair requirement for users of
enterprise distributions, and it works because it forces usage of
QEMU's meson submodule.
My lcitool update does the former by placing ENV PYTHON
"/usr/bin/python3.8" in the Dockerfile.
Paolo
- Re: [PATCH v2 6/7] CI: Stop building docs on centos8, (continued)
[PATCH v2 1/7] python: support pylint 2.16, John Snow, 2023/02/09
[PATCH v2 3/7] configure: Look for auxiliary Python installations, John Snow, 2023/02/09
Re: [PATCH v2 3/7] configure: Look for auxiliary Python installations, Eric Blake, 2023/02/10
[PATCH v2 7/7] Python: Drop support for Python 3.6, John Snow, 2023/02/09
[PATCH v2 2/7] python: drop pipenv, John Snow, 2023/02/09
Re: [PATCH v2 0/7] Python: Drop support for Python 3.6, Markus Armbruster, 2023/02/10
Re: [PATCH v2 0/7] Python: Drop support for Python 3.6, John Snow, 2023/02/14
Re: [PATCH v2 0/7] Python: Drop support for Python 3.6, Markus Armbruster, 2023/02/15