Skip to content

Commit

Permalink
Add Python 3.12 support. (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo authored Dec 13, 2023
1 parent ecb9253 commit d6a7b15
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.17.0](https://github.com/fabiocaccamo/python-fontbro/releases/tag/0.17.0) - 2023-12-13
- Add `Python 3.12` support.
- Add `get_family_name` / `set_family_name` methods.
- Add `get_filename` method.
- Add `get_style_name` / `set_style_name` methods.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Text Processing :: Fonts",
"Topic :: Multimedia :: Graphics",
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist =
py{38,39,310,311},
py{38,39,310,311,312},

[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12

passenv = CI,GITHUB_WORKFLOW

Expand All @@ -17,5 +18,5 @@ deps =

commands =
pre-commit run -a
coverage run --append -m unittest fontbro
coverage run --append --source=fontbro -m unittest
coverage report --show-missing --ignore-errors

0 comments on commit d6a7b15

Please sign in to comment.