aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2024-02-29 12:14:43 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-03-12 06:52:43 +0100
commit262e2a6c2742eb9bb0887ae5cb7c2fb0a975f373 (patch)
tree0b95e0731d5ea484de8ba4f143bf3f971ba9d545 /build_scripts/main.py
parented0b85ce8b402ceddc7f61e0765741568ba26172 (diff)
Deprecation Python 3.8
The changes related PYSIDE-939 can be removed when 3.9 support is dropped, because the problem was fixed and included in 3.9.13 so we cannot assume everyone will be on that version or superior. Change-Id: I78afc660edc6fbb3bb1a2438e17366e63b24e375 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'build_scripts/main.py')
-rw-r--r--build_scripts/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index 8d81108f3..bf71f9962 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -690,7 +690,7 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
else:
raise SetupError("option limited-api must be 'yes' or 'no' "
"(default yes if applicable, i.e. Python "
- "version >= 3.8 and release build if on Windows)")
+ "version >= 3.9 and release build if on Windows)")
if OPTION["DISABLE_PYI"]:
cmake_cmd.append("-DDISABLE_PYI=yes")
@@ -741,7 +741,7 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
cmake_cmd.append(f"-DPACKAGE_SETUP_PY_PACKAGE_TIMESTAMP={timestamp}")
if extension.lower() in [SHIBOKEN]:
- cmake_cmd.append("-DUSE_PYTHON_VERSION=3.8")
+ cmake_cmd.append("-DUSE_PYTHON_VERSION=3.9")
cmake_cmd += platform_cmake_options()