[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 2/6] configure: Add courtesy hint to Python version failure me
From: |
John Snow |
Subject: |
[PATCH v3 2/6] configure: Add courtesy hint to Python version failure message |
Date: |
Mon, 20 Feb 2023 20:24:52 -0500 |
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>
---
configure | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 6abf5a72078..0d0cca53f09 100755
--- a/configure
+++ b/configure
@@ -1059,7 +1059,10 @@ fi
if ! check_py_version "$python"; then
error_exit "Cannot use '$python', Python >= 3.6 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
# Suppress writing compiled files
--
2.39.0
- [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', (continued)
- [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', John Snow, 2023/02/20
- Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', Markus Armbruster, 2023/02/21
- Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', John Snow, 2023/02/21
- Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', Markus Armbruster, 2023/02/22
- Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', John Snow, 2023/02/22
- Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', Markus Armbruster, 2023/02/23
- Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', Paolo Bonzini, 2023/02/23
Re: [PATCH v3 5/6] meson: prefer 'sphinx-build' to 'sphinx-build-3', Paolo Bonzini, 2023/02/21
[PATCH v3 2/6] configure: Add courtesy hint to Python version failure message,
John Snow <=
[PATCH v3 4/6] DO-NOT-MERGE: testing: add pip-installed sphinx-build to CentOS 8, John Snow, 2023/02/20
Re: [PATCH v3 0/6] Python: Drop support for Python 3.6, Markus Armbruster, 2023/02/21