Skip to content

Commit

Permalink
Merge pull request #1058 from googlefonts/py3.13
Browse files Browse the repository at this point in the history
Support py3.13
  • Loading branch information
m4rc1e authored Nov 14, 2024
2 parents 96b8c5e + f42023b commit a64af18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.13"]
platform: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Lib/gftools/packager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def traverse(
tree = repo.get(tree_oid)
try:
entry = tree[subtree_name]
existing_subtree = repo.get(entry.hex)
existing_subtree = repo.get(entry.id)
sub_treebuilder = repo.TreeBuilder(existing_subtree)
except KeyError:
sub_treebuilder = repo.TreeBuilder()
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ dependencies = [
'unidecode',
'opentype-sanitizer',
'vttlib',
'pygit2<=1.14.1',
# pygit2 1.16.0 only supports 3.10+
'pygit2==1.15.0; python_version < "3.13"',
'pygit2==1.16.0; python_version >= "3.13"',
'strictyaml',
'fontmake[json]>=3.3.0',
'skia-pathops',
Expand Down

0 comments on commit a64af18

Please sign in to comment.