[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 24/27] configure: Add courtesy hint to Python version failure mes
|
From: |
John Snow |
|
Subject: |
[PATCH 24/27] configure: Add courtesy hint to Python version failure message |
|
Date: |
Wed, 10 May 2023 23:54:32 -0400 |
If we begin requiring Python 3.7+, a few platforms are going to need to
install an additional Python interpreter package.
As a courtesy to the user, suggest the optional package they might need
to install. This will hopefully minimize any downtime caused by the
change in Python dependency.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230221012456.2607692-3-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 4175bb49b8..ff654a9f45 100755
--- a/configure
+++ b/configure
@@ -1092,7 +1092,10 @@ fi
if ! check_py_version "$python"; then
error_exit "Cannot use '$python', Python >= 3.7 is required." \
- "Use --python=/path/to/python to specify a supported Python."
+ "Use --python=/path/to/python to specify a supported Python." \
+ "Maybe try:" \
+ " openSUSE Leap 15.3+: zypper install python39" \
+ " CentOS 8: dnf install python38"
fi
# Resolve PATH
--
2.40.0
- [PATCH 15/27] configure: create a python venv unconditionally, (continued)
- [PATCH 15/27] configure: create a python venv unconditionally, John Snow, 2023/05/10
- [PATCH 17/27] configure: use 'mkvenv ensure meson' to bootstrap meson, John Snow, 2023/05/10
- [PATCH 19/27] tests: Use configure-provided pyvenv for tests, John Snow, 2023/05/10
- [PATCH 20/27] configure: move --enable-docs and --disable-docs back to configure, John Snow, 2023/05/10
- [PATCH 10/27] mkvenv: work around broken pip installations on Debian 10, John Snow, 2023/05/10
- [PATCH 18/27] qemu.git: drop meson git submodule, John Snow, 2023/05/10
- [PATCH 21/27] configure: bootstrap sphinx with mkvenv, John Snow, 2023/05/10
- [PATCH 23/27] Python: Drop support for Python 3.6, John Snow, 2023/05/10
- [PATCH 22/27] configure: add --enable-pypi and --disable-pypi, John Snow, 2023/05/10
- [PATCH 25/27] mkvenv: mark command as required, John Snow, 2023/05/10
- [PATCH 24/27] configure: Add courtesy hint to Python version failure message,
John Snow <=
- [PATCH 26/27] python: bump some of the dependencies, John Snow, 2023/05/10
- [PATCH 27/27] mkvenv.py: experiment; use distlib to generate script entry points, John Snow, 2023/05/10
[PATCH 16/27] python/wheels: add vendored meson package, John Snow, 2023/05/10