Skip to content

Commit 1da8d29

Browse files
authored
Correct Android compatibility of example app (#310)
1 parent dbd73ea commit 1da8d29

File tree

8 files changed

+20
-9
lines changed

8 files changed

+20
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@ jobs:
5757
strategy:
5858
fail-fast: false
5959
matrix:
60-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
61-
include:
62-
- experimental: false
63-
# - python-version: "3.14"
64-
# experimental: true
60+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
6561

6662
steps:
6763
- name: Checkout

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,6 @@ runtime/
114114

115115
# ruff chache
116116
.ruff_cache
117+
118+
# Briefcase
119+
.briefcase

changes/309.bugfix.rst

Whitespace-only changes.

changes/309.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support for Python 3.14 was added.

changes/309.removal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support for Python 3.9 was dropped.

examples/pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,13 @@ requires = [
4949
requires = [
5050
"toga-android",
5151
]
52+
53+
base_theme = "Theme.MaterialComponents.Light.DarkActionBar"
54+
55+
build_gradle_dependencies = [
56+
"com.google.android.material:material:1.12.0",
57+
]
58+
59+
# Web deployment (not currently supported)
60+
[tool.briefcase.app.chart.web]
61+
supported = false

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dynamic = ["version"]
1010
name = "toga-chart"
1111
description = "A Toga matplotlib backend."
1212
readme = "README.rst"
13-
requires-python = ">= 3.9"
13+
requires-python = ">= 3.10"
1414
license.text = "New BSD"
1515
authors = [
1616
{name="Russell Keith-Magee", email="[email protected]"},
@@ -28,17 +28,17 @@ classifiers = [
2828
"License :: OSI Approved :: BSD License",
2929
"Operating System :: OS Independent",
3030
"Programming Language :: Python :: 3",
31-
"Programming Language :: Python :: 3.9",
3231
"Programming Language :: Python :: 3.10",
3332
"Programming Language :: Python :: 3.11",
3433
"Programming Language :: Python :: 3.12",
3534
"Programming Language :: Python :: 3.13",
35+
"Programming Language :: Python :: 3.14",
3636
"Programming Language :: Python :: 3 :: Only",
3737
"Topic :: Software Development",
3838
"Topic :: Software Development :: User Interfaces",
3939
]
4040
dependencies = [
41-
"matplotlib >= 3.9.0",
41+
"matplotlib >= 3.8.0",
4242
"toga-core >= 0.5.0, < 0.6.0",
4343
]
4444

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = towncrier-check,docs{,-lint,-all},package,py{39,310,311,312,313}
2+
envlist = towncrier-check,docs{,-lint,-all},package,py{310,311,312,313,314}
33
skip_missing_interpreters = true
44

55
[testenv]

0 commit comments

Comments
 (0)