Skip to content

Commit

Permalink
Merge pull request #37 from beeware/3.12-support
Browse files Browse the repository at this point in the history
Add updated support packages and CI for Python 3.12.
  • Loading branch information
mhsmith authored Oct 19, 2023
2 parents 1acbc86 + 2036e26 commit 5123480
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,18 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
framework: [ "toga", "pyside2", "pyside6", "ppb", "pygame" ]
exclude:
# PySide 2 and 6 don't currently publish binary wheels
# that are compatible with Python 3.11 and/or Ubuntu 18.04
# PySide 2 doesn't publish binary wheels that are compatible with Python 3.11+
# and/or Ubuntu 22.04 (and is unlikely to ever do so.)
- python-version: "3.11"
framework: "pyside2"
- python-version: "3.12"
framework: "pyside2"
# PySide 6 doesn't currently publish binary wheels
# that are compatible with Python 3.11+ and/or Ubuntu 22.04
- python-version: "3.11"
framework: "pyside6"
- python-version: "3.12"
framework: "pyside6"
9 changes: 5 additions & 4 deletions {{ cookiecutter.format }}/briefcase.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ app_path = "{{ cookiecutter.formal_name }}.AppDir/usr/app"
app_packages_path = "{{ cookiecutter.formal_name }}.AppDir/usr/app_packages"
support_path = "{{ cookiecutter.formal_name }}.AppDir/usr"
{{ {
"3.8": 'support_revision = "3.8.17+20230826"',
"3.9": 'support_revision = "3.9.18+20230826"',
"3.10": 'support_revision = "3.10.13+20230826"',
"3.11": 'support_revision = "3.11.5+20230826"',
"3.8": 'support_revision = "3.8.18+20231002"',
"3.9": 'support_revision = "3.9.18+20231002"',
"3.10": 'support_revision = "3.10.13+20231002"',
"3.11": 'support_revision = "3.11.6+20231002"',
"3.12": 'support_revision = "3.12.0+20231002"',
}.get(cookiecutter.python_version|py_tag, "") }}
# Remove the pieces of the standalone package that we don't need.
cleanup_paths = [
Expand Down

0 comments on commit 5123480

Please sign in to comment.