diff options
| author | Cristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2024-12-12 13:04:23 +0100 |
|---|---|---|
| committer | Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2024-12-16 09:15:28 +0000 |
| commit | 8e7ba115ce53e30f07dce750772ecf9467a4e96a (patch) | |
| tree | a55dce081d7503884b4bc8c87655d96aec2b30c0 /build_scripts/main.py | |
| parent | 9bd0967d9b3f38ea7959fb00aa28a5ee1a1d0932 (diff) | |
build: don't stop if unsupported python version is used
Task-number: PYSIDE-2958
Change-Id: I2457b2a81fae2a1e8c22dc3ac22d9ebe02b5e97a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'build_scripts/main.py')
| -rw-r--r-- | build_scripts/main.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py index 68ab512a0..529229387 100644 --- a/build_scripts/main.py +++ b/build_scripts/main.py @@ -140,8 +140,11 @@ def check_allowed_python_version(): supported = get_allowed_python_versions() this_py = sys.version_info[:2] if this_py not in supported: - log.error(f"Unsupported python version detected. Supported versions: {supported}") - sys.exit(1) + log.warning("*" * 80) + log.warning(f"Unsupported Python version detected: {this_py}.") + log.warning("The build will probably fail.") + log.warning(f"Supported versions: {supported}") + log.warning("*" * 80) qt_src_dir = '' |
