diff options
| author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-06-11 09:46:51 +0200 |
|---|---|---|
| committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2024-06-11 09:53:18 +0200 |
| commit | 70b083842b95f3e11f315a2a0bdd5fe6b2ee705d (patch) | |
| tree | 5e99edda48b00a8876fa47110d07a9beccf3c006 | |
| parent | 68b7fd5c74d07dcba17547a6310315297cd36cc3 (diff) | |
Desktop Deployment: Update Nuitka to 2.3.2
- Full support for Python 3.12
- Experiemental support for Python 3.13
Pick-to: 6.7
Task-number: PYSIDE-1612
Change-Id: Ib4699351ec4105de756b4ac16cd7b3a49054a614
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
3 files changed, 6 insertions, 3 deletions
diff --git a/sources/pyside-tools/deploy_lib/default.spec b/sources/pyside-tools/deploy_lib/default.spec index 2e28b2f7c..6ba68e44d 100644 --- a/sources/pyside-tools/deploy_lib/default.spec +++ b/sources/pyside-tools/deploy_lib/default.spec @@ -27,7 +27,7 @@ python_path = # python packages to install # ordered-set: increase compile time performance of nuitka packaging # zstandard: provides final executable size optimization -packages = Nuitka==2.1 +packages = Nuitka==2.3.2 # buildozer: for deploying Android application android_packages = buildozer==1.5.0,cython==0.29.33 diff --git a/sources/pyside6/doc/deployment/deployment-pyside6-deploy.rst b/sources/pyside6/doc/deployment/deployment-pyside6-deploy.rst index 3b602babc..f348bc4f8 100644 --- a/sources/pyside6/doc/deployment/deployment-pyside6-deploy.rst +++ b/sources/pyside6/doc/deployment/deployment-pyside6-deploy.rst @@ -14,6 +14,9 @@ macOS. not add the virtual environment to the application directory you are trying to deploy. ``pyside6-deploy`` will try to package this venv folder and will eventually fail. +.. note:: The default version of Nuitka used with the tool is version ``2.3.2``. This can be + updated to a newer version by updating your ``pysidedeploy.spec`` file. + .. _how_pysidedeploy: How to use it? diff --git a/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py b/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py index a5d122a37..46b644584 100644 --- a/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py +++ b/sources/pyside6/tests/tools/pyside6-deploy/test_pyside6_deploy.py @@ -151,7 +151,7 @@ class TestPySide6DeployWidgets(DeployTestBase): self.assertEqual(config_obj.get_value("app", "project_dir"), ".") self.assertEqual(config_obj.get_value("app", "exec_directory"), ".") self.assertEqual(config_obj.get_value("python", "packages"), - "Nuitka==2.1") + "Nuitka==2.3.2") self.assertEqual(config_obj.get_value("qt", "qml_files"), "") equ_base = "--quiet --noinclude-qt-translations" equ_value = equ_base + " --static-libpython=no" if is_pyenv_python() else equ_base @@ -267,7 +267,7 @@ class TestPySide6DeployQml(DeployTestBase): self.assertEqual(config_obj.get_value("app", "project_dir"), ".") self.assertEqual(config_obj.get_value("app", "exec_directory"), ".") self.assertEqual(config_obj.get_value("python", "packages"), - "Nuitka==2.1") + "Nuitka==2.3.2") self.assertEqual(config_obj.get_value("qt", "qml_files"), "main.qml,MovingRectangle.qml") equ_base = "--quiet --noinclude-qt-translations" equ_value = equ_base + " --static-libpython=no" if is_pyenv_python() else equ_base |
