Skip to content

Commit

Permalink
Merge pull request #183 from beeware/drop-3.8
Browse files Browse the repository at this point in the history
Drop support for Python 3.8, add 3.13.
  • Loading branch information
freakboy3742 authored Dec 2, 2024
2 parents 0738fcc + e295f95 commit 2e9e268
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
include:
- experimental: false
# - python-version: "3.13-dev"
# - python-version: "3.14"
# experimental: true

steps:
Expand All @@ -73,6 +73,7 @@ jobs:
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Get packages
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
rev: v3.19.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions changes/183.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support for Python 3.13 was added.
1 change: 1 addition & 0 deletions changes/183.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support for Python 3.8 was dropped.
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dynamic = ["version"]
name = "toga-chart"
description = "A Toga matplotlib backend."
readme = "README.rst"
requires-python = ">= 3.8"
requires-python = ">= 3.9"
license.text = "New BSD"
authors = [
{name="Russell Keith-Magee", email="[email protected]"},
Expand All @@ -28,11 +28,11 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development",
"Topic :: Software Development :: User Interfaces",
Expand All @@ -42,9 +42,7 @@ classifiers = [
# Extras used by developers *of* briefcase are pinned to specific versions to
# ensure environment consistency.
dev = [
# Pre-commit 3.6.0 deprecated support for Python 3.8
"pre-commit == 3.5.0 ; python_version < '3.9'",
"pre-commit == 4.0.1 ; python_version >= '3.9'",
"pre-commit == 4.0.1",
"pytest == 8.3.4",
"setuptools_scm == 8.1.0",
"tox == 4.23.2",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extend-ignore =
E203,

[tox]
envlist = towncrier-check,docs{,-lint,-all},package,py{38,39,310,311,312}
envlist = towncrier-check,docs{,-lint,-all},package,py{39,310,311,312,313}
skip_missing_interpreters = true

[testenv]
Expand Down

0 comments on commit 2e9e268

Please sign in to comment.