Skip to content

Commit

Permalink
Merge pull request #147 from googlefonts/bump-dep
Browse files Browse the repository at this point in the history
Upgrade fonttools
  • Loading branch information
m4rc1e authored Jun 11, 2024
2 parents f4c94e4 + 8ca42bf commit 96df26a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.platform }}
strategy:
matrix:
# test on same versions as fonttools
python-version: ["3.10"]
platform: [ubuntu-latest, macos-latest, windows-latest]
exclude: # Only test on the latest supported stable Python on macOS and Windows.
- platform: macos-latest
python-version: 3.10
- platform: windows-latest
python-version: 3.10
platform: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source = "git-tag"

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
fontTools = { version = ">=4.37.3", extras = ["ufo"] }
fontTools = { version = ">=4.52.1", extras = ["ufo"] }
jinja2 = "*"
Pillow = "*"
glyphsets = ">=0.6.5"
Expand Down
5 changes: 0 additions & 5 deletions src/diffenator2/jfont.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ def serialise_glyph(obj, root):
f"Component {i}: {c.glyphName}": serialise_component(c)
for i, c in enumerate(obj.components)
}
elif obj.isVarComposite():
return {
f"Component {i}: {c.glyphName}": serialise_component(c)
for i, c in enumerate(obj.components)
}
else:
last = 0
contours = {}
Expand Down

0 comments on commit 96df26a

Please sign in to comment.