From 2adf5efcdb6727a8bcf9e10b18fa3980ba760376 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 23 Sep 2026 07:14:09 +0800 Subject: [PATCH 1/4] Use official support package for 3.15+ --- {{ cookiecutter.format }}/briefcase.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{ cookiecutter.format }}/briefcase.toml b/{{ cookiecutter.format }}/briefcase.toml index c805a6d..5389309 100644 --- a/{{ cookiecutter.format }}/briefcase.toml +++ b/{{ cookiecutter.format }}/briefcase.toml @@ -13,14 +13,14 @@ support_path = "Support" "3.12": 'support_revision = "10"', "3.13": 'support_revision = "15"', "3.14": 'support_revision = "11"', - "3.15": 'support_revision = "0"', + "3.15": 'support_revision = "0rc2"', }.get(cookiecutter.python_version|py_tag, "") }} {{ { "3.11": 'support_package_hash = "sha256:ff6295ebf94b582146f4ca326e7e2cf8347a740fa00eac199f2441acbcb6fea3"', "3.12": 'support_package_hash = "sha256:18fb042d47b7ec441282eb96da0193e3093de7f02add35f5745d73491c6c0843"', "3.13": 'support_package_hash = "sha256:80175765a31babe43b0910395cf86ba4e8412adf1902b069d55b74d523ecc5d1"', "3.14": 'support_package_hash = "sha256:b591f3301bd22a4f423c49c746cac9e55558b909fd14d6eb8327ccc62234ab7b"', - "3.15": 'support_package_hash = "sha256:748b90b8d9f65de75b51b36896148e1b5ff320b1148dab8c59fd4ac883d2c2c1"', + "3.15": 'support_package_hash = "sha256:2496d92689da625cd349e856e17b3d540787f8d17806e21536e8d394d940adc0"', }.get(cookiecutter.python_version|py_tag, "") }} icon.20 = "{{ cookiecutter.class_name }}/Images.xcassets/AppIcon.appiconset/icon-20.png" From f500226bb106b675debb60ef52e0f37009ff7ead Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 23 Sep 2026 08:45:17 +0800 Subject: [PATCH 2/4] Ensure the system logger is enabled. --- {{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m index 5935ee3..5bf2c46 100644 --- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m +++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m @@ -63,6 +63,8 @@ int main(int argc, char *argv[]) { config.install_signal_handlers = 1; // Isolated apps need to set the full PYTHONPATH manually. config.module_search_paths_set = 1; + // Enable the use of the system logger + config.use_system_logger = 1; // For debugging - enable verbose mode. // config.verbose = 1; From 985ea8408960fe4338ddbd5d28fac9eac649e8dc Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 23 Sep 2026 08:53:10 +0800 Subject: [PATCH 3/4] Only explicitly set the system logger on Python 3.14+ --- {{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m index 5bf2c46..1cdc50f 100644 --- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m +++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m @@ -63,8 +63,10 @@ int main(int argc, char *argv[]) { config.install_signal_handlers = 1; // Isolated apps need to set the full PYTHONPATH manually. config.module_search_paths_set = 1; + {% if cookiecutter.python_version|minor_version >= 14 and not cookiecutter.console_app -%} // Enable the use of the system logger config.use_system_logger = 1; + {% endif -%} // For debugging - enable verbose mode. // config.verbose = 1; From 69e264d8ba7ba3bb17330bbf971c8591cd414072 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 23 Sep 2026 09:11:11 +0800 Subject: [PATCH 4/4] No need to support console apps. --- {{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m index 1cdc50f..1acb2f7 100644 --- a/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m +++ b/{{ cookiecutter.format }}/{{ cookiecutter.class_name }}/main.m @@ -63,7 +63,7 @@ int main(int argc, char *argv[]) { config.install_signal_handlers = 1; // Isolated apps need to set the full PYTHONPATH manually. config.module_search_paths_set = 1; - {% if cookiecutter.python_version|minor_version >= 14 and not cookiecutter.console_app -%} + {% if cookiecutter.python_version|minor_version >= 14 -%} // Enable the use of the system logger config.use_system_logger = 1; {% endif -%}