aboutsummaryrefslogtreecommitdiffstats
path: root/examples/utils/pyside_config.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 /examples/utils/pyside_config.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 'examples/utils/pyside_config.py')
-rw-r--r--examples/utils/pyside_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/utils/pyside_config.py b/examples/utils/pyside_config.py
index e8333e2f9..d3067eec1 100644
--- a/examples/utils/pyside_config.py
+++ b/examples/utils/pyside_config.py
@@ -196,7 +196,7 @@ def find_package_path(dir_name):
return None
-# Return version as "3.7"
+# Return version as "x.y" (e.g. 3.9, 3.12, etc)
def python_version():
return str(sys.version_info[0]) + '.' + str(sys.version_info[1])