Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.13 #42

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -38,8 +38,13 @@ 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" ]
framework: [ "toga", "pygame", "console" ]

exclude:
# Toga requires python.net, which doesn't work on Python 3.13.
- python-version: 3.13
framework: toga
2 changes: 1 addition & 1 deletion .github/workflows/update-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions {{ cookiecutter.format }}/briefcase.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
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",
"3.13": "support_revision = 0",
}.get(cookiecutter.python_version|py_tag, "") }}

icon = "{{ cookiecutter.formal_name }}/icon.ico"