diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-28 15:22:30 +0200 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2022-11-11 12:24:27 +0100 |
commit | 8d5c1b048c25977dd5bd9cdc20ce984c0fe30478 (patch) | |
tree | f5b236112a1195bd0760353b4490ca52dfa2f637 /examples/installer_test | |
parent | 82b8c34e5b1efa0aabd56060080f38b887f05255 (diff) |
wheel_tester.py: Test pyside6-deploy
Change-Id: Ia82bc0f56c37f24fcdf6454b2b6106cad4ed92d7
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'examples/installer_test')
-rw-r--r-- | examples/installer_test/hello.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py index cccfd31d0..a9819477b 100644 --- a/examples/installer_test/hello.py +++ b/examples/installer_test/hello.py @@ -53,7 +53,10 @@ class MyWidget(QWidget): if __name__ == "__main__": print("Start of hello.py ", time.ctime()) print(" sys.version = ", sys.version.splitlines()[0]) - print(" platform.platform() = ", platform.platform()) + # Nuitka and hence pyside6-deploy fails on Python versions <= 3.9 + # when this module is used + if sys.version_info.minor > 9: + print(" platform.platform() = ", platform.platform()) app = QApplication() |