From 8bde0ef4f7f0553a46cfd9bf1f357cbb399121b8 Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Tue, 8 Oct 2024 13:31:48 -0400 Subject: [PATCH 1/3] Bump Python 3.12.5 to 3.12.7 --- {{ cookiecutter.format }}/briefcase.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/{{ cookiecutter.format }}/briefcase.toml b/{{ cookiecutter.format }}/briefcase.toml index fbbcf15..eb680a3 100644 --- a/{{ cookiecutter.format }}/briefcase.toml +++ b/{{ cookiecutter.format }}/briefcase.toml @@ -3,13 +3,13 @@ app_path = "x64/Release/app" app_packages_path = "x64/Release/app_packages" support_path = "x64/Release" -{# Minor versions for 3.9 and 3.10 cannot be bumped further since -#} -{# Python is not hosting embeddable zipped versions of them -#} +{# Minor versions for 3.9, 3.10, and 3.11 cannot be bumped further -#} +{# since Python is not hosting embeddable zipped versions of them -#} {{ { "3.9": "support_revision = 13", "3.10": "support_revision = 11", "3.11": "support_revision = 9", - "3.12": "support_revision = 5", + "3.12": "support_revision = 7", }.get(cookiecutter.python_version|py_tag, "") }} icon = "{{ cookiecutter.formal_name }}/icon.ico" From 4a44f0ca581f881666317c5a06bd0b17d21ae35a Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Tue, 8 Oct 2024 13:32:21 -0400 Subject: [PATCH 2/3] Add support for Python 3.13 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/update-binary.yml | 2 +- {{ cookiecutter.format }}/briefcase.toml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1fc1a6..9291579 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: # Cancel active CI runs for a PR before starting another run concurrency: - group: ${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true defaults: @@ -38,7 +38,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] # PySide6 produces very long paths that can't be packaged by WiX. # Disabling until the problem has been fixed. See beeware/briefcase#948 # framework: [ "toga", "pyside6", "pygame", "console" ] diff --git a/.github/workflows/update-binary.yml b/.github/workflows/update-binary.yml index d1c5eaf..c8035e8 100644 --- a/.github/workflows/update-binary.yml +++ b/.github/workflows/update-binary.yml @@ -14,7 +14,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: [ "3.9", "3.10", "3.11", "3.12" ] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - name: Set Build Variables id: build-vars diff --git a/{{ cookiecutter.format }}/briefcase.toml b/{{ cookiecutter.format }}/briefcase.toml index eb680a3..cdb736c 100644 --- a/{{ cookiecutter.format }}/briefcase.toml +++ b/{{ cookiecutter.format }}/briefcase.toml @@ -10,6 +10,7 @@ support_path = "x64/Release" "3.10": "support_revision = 11", "3.11": "support_revision = 9", "3.12": "support_revision = 7", + "3.13": "support_revision = 0", }.get(cookiecutter.python_version|py_tag, "") }} icon = "{{ cookiecutter.formal_name }}/icon.ico" From 0d31b541069126a7ac27e650541bccd9b1b87d16 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 9 Oct 2024 09:34:14 +0800 Subject: [PATCH 3/3] Exclude 3.13 Toga builds. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9291579..fc3909b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,3 +43,8 @@ jobs: # Disabling until the problem has been fixed. See beeware/briefcase#948 # framework: [ "toga", "pyside6", "pygame", "console" ] framework: [ "toga", "pygame", "console" ] + + exclude: + # Toga requires python.net, which doesn't work on Python 3.13. + - python-version: 3.13 + framework: toga