[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 42/68] configure: Add courtesy hint to Python version failure mess
|
From: |
Paolo Bonzini |
|
Subject: |
[PULL 42/68] configure: Add courtesy hint to Python version failure message |
|
Date: |
Wed, 17 May 2023 19:44:54 +0200 |
From: John Snow <jsnow@redhat.com>
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>
Message-Id: <20230511035435.734312-25-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 22e31a46d115..52eca1cd4c53 100755
--- a/configure
+++ b/configure
@@ -1091,7 +1091,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.1
- [PULL 37/68] tests: Use configure-provided pyvenv for tests, (continued)
- [PULL 37/68] tests: Use configure-provided pyvenv for tests, Paolo Bonzini, 2023/05/17
- [PULL 41/68] Python: Drop support for Python 3.6, Paolo Bonzini, 2023/05/17
- [PULL 45/68] meson: regenerate meson-buildoptions.sh, Paolo Bonzini, 2023/05/17
- [PULL 26/68] mkvenv: use pip's vendored distlib as a fallback, Paolo Bonzini, 2023/05/17
- [PULL 30/68] tests/vm: Configure netbsd to use Python 3.10, Paolo Bonzini, 2023/05/17
- [PULL 32/68] python: add vendor.py utility, Paolo Bonzini, 2023/05/17
- [PULL 33/68] configure: create a python venv unconditionally, Paolo Bonzini, 2023/05/17
- [PULL 38/68] configure: move --enable-docs and --disable-docs back to configure, Paolo Bonzini, 2023/05/17
- [PULL 36/68] qemu.git: drop meson git submodule, Paolo Bonzini, 2023/05/17
- [PULL 40/68] configure: add --enable-pypi and --disable-pypi, Paolo Bonzini, 2023/05/17
- [PULL 42/68] configure: Add courtesy hint to Python version failure message,
Paolo Bonzini <=
- [PULL 43/68] mkvenv: mark command as required, Paolo Bonzini, 2023/05/17
- [PULL 27/68] mkvenv: avoid ensurepip if pip is installed, Paolo Bonzini, 2023/05/17
- [PULL 57/68] build: move coroutine backend selection to meson, Paolo Bonzini, 2023/05/17
- [PULL 56/68] build: move SafeStack tests to meson, Paolo Bonzini, 2023/05/17
- [PULL 35/68] configure: use 'mkvenv ensure meson' to bootstrap meson, Paolo Bonzini, 2023/05/17
- [PULL 39/68] configure: bootstrap sphinx with mkvenv, Paolo Bonzini, 2023/05/17
- [PULL 44/68] python: bump some of the dependencies, Paolo Bonzini, 2023/05/17
- [PULL 49/68] meson: add more version numbers to the summary, Paolo Bonzini, 2023/05/17
- [PULL 53/68] configure, meson: move --enable-modules to Meson, Paolo Bonzini, 2023/05/17
- [PULL 59/68] build: move warning flag selection to meson, Paolo Bonzini, 2023/05/17