Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace fontmake.instantiator with ufo2ft.instantiator #1081

Merged
merged 6 commits into from
Mar 26, 2024

Conversation

anthrotype
Copy link
Member

fontmake.instantiator module now lives in ufo2ft.instantiator (googlefonts/ufo2ft#825); the current fontmake.instantiator module is kept as a stub that re-exports the symbols from the new ufo2ft.instantiator for backward compatibility. I also kept the test_instantiator.py to make sure it continues to work unchanged.

The attrs dependency is no longer needed, since ufo2ft.instantiator uses dataclasses, so I removed it from fontmake's direct dependencies (it's still used indirectly in ufoLib2, which fontmake depends on).

@anthrotype anthrotype force-pushed the remove-instantiator branch 3 times, most recently from 8e3d1e3 to aa52e5a Compare March 25, 2024 17:27
fontmake.instantiator module now lives in ufo2ft.instantiator; the current fontmake.instantiator is kept as a stub that re-exports the symbol from ufo2ft.instantiator for backward compatibility.
Also kept the test_instantiator.py to make sure it continues to work unchanged.

The attrs dependency is no longer needed, since ufo2ft.instantiator uses dataclasses, so I removed it from fontmake's direct dependencies (it's still used indirectly in ufoLib2, which fontmake depends on).
@anthrotype
Copy link
Member Author

test fails because it needs googlefonts/glyphsLib#992, need to first do a glyphsLib release..

@anthrotype anthrotype merged commit 8305773 into main Mar 26, 2024
14 checks passed
@anthrotype anthrotype deleted the remove-instantiator branch March 26, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant