Skip to content

Commit

Permalink
Merge pull request #42 from rmartin16/bump-python
Browse files Browse the repository at this point in the history
Add support for Python 3.13
  • Loading branch information
freakboy3742 authored Oct 9, 2024
2 parents 2cfcde2 + 0d31b54 commit 3965015
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
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"

0 comments on commit 3965015

Please sign in to comment.