Skip to content

Commit f6cde73

Browse files
authored
Drop Python 3.9, add 3.14 (#40)
1 parent c770a9d commit f6cde73

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

  • .github/workflows
  • {{ cookiecutter.format }}/bootstrap

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
python-version: [ "system", "3.9", "3.10", "3.11", "3.12", "3.13" ]
41+
python-version: [ "system", "3.10", "3.11", "3.12", "3.13", "3.14" ]
4242
framework: [ "toga", "pyside6", "pygame", "console" ]
4343
runner-os: [ "ubuntu-24.04", "ubuntu-24.04-arm" ]
44+
# Pygame and PySide6 haven't published 3.14 wheels yet.
45+
exclude:
46+
- python-version: "3.14"
47+
framework: pyside6
48+
runner-os: "ubuntu-24.04"
49+
- python-version: "3.14"
50+
framework: pyside6
51+
runner-os: "ubuntu-24.04-arm"
52+
- python-version: "3.14"
53+
framework: pygame
54+
runner-os: "ubuntu-24.04"
55+
- python-version: "3.14"
56+
framework: pygame
57+
runner-os: "ubuntu-24.04-arm"

{{ cookiecutter.format }}/bootstrap/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ int main(int argc, char *argv[]) {
5656
// Enforce UTF-8 encoding for stderr, stdout, file-system encoding and locale.
5757
// See https://docs.python.org/3/library/os.html#python-utf-8-mode.
5858
preconfig.utf8_mode = 1;
59+
// Ensure the locale is set (isolated interpreters won't by default)
60+
preconfig.configure_locale = 1;
5961
// Don't buffer stdio. We want output to appears in the log immediately
6062
config.buffered_stdio = 0;
6163
// Don't write bytecode; we can't modify the app bundle

0 commit comments

Comments
 (0)