[fonttools/fonttools] cab7a6: Don't import from lxml directly, it's optional

0 views
Skip to first unread message

Jens Kutilek

unread,
Sep 4, 2025, 5:01:17 AMSep 4
to fontto...@googlegroups.com
Branch: refs/heads/ufoLib-additions
Home: https://github.com/fonttools/fonttools
Commit: cab7a65137d1faf738e322e42dd120421027d998
https://github.com/fonttools/fonttools/commit/cab7a65137d1faf738e322e42dd120421027d998
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/ufoLib/glifLib.py

Log Message:
-----------
Don't import from lxml directly, it's optional

The existing "from fontTools.misc import etree" will import from lxml if it's available


Commit: 3c3df7afd62b665ef6daf689bda76a28997ddad8
https://github.com/fonttools/fonttools/commit/3c3df7afd62b665ef6daf689bda76a28997ddad8
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/ufoLib/glifLib.py

Log Message:
-----------
Clean up/sort imports

Some duplicates had sneaked in


Commit: 05b952efcf60ce00bf5ad3a8f6429cc09e0b89f8
https://github.com/fonttools/fonttools/commit/05b952efcf60ce00bf5ad3a8f6429cc09e0b89f8
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/ufoLib/__init__.py

Log Message:
-----------
Remove unused import os.PathLike


Commit: 99a0cd74c89353207e0007706923650a4153afd2
https://github.com/fonttools/fonttools/commit/99a0cd74c89353207e0007706923650a4153afd2
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/ufoLib/__init__.py

Log Message:
-----------
Sort imports


Commit: 6fac69b9a44cafc9e6f294a34d01d9bf2b477c23
https://github.com/fonttools/fonttools/commit/6fac69b9a44cafc9e6f294a34d01d9bf2b477c23
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/ufoLib/__init__.py
M Lib/fontTools/ufoLib/glifLib.py

Log Message:
-----------
Autoformat


Commit: 76a21de05cccf0d62266e4a02c036fb9205d01ef
https://github.com/fonttools/fonttools/commit/76a21de05cccf0d62266e4a02c036fb9205d01ef
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/ufoLib/validators.py

Log Message:
-----------
Remove duplicate import


Commit: 011cb9697ee8453698ee38b46b454dee8457129f
https://github.com/fonttools/fonttools/commit/011cb9697ee8453698ee38b46b454dee8457129f
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-03 (Wed, 03 Sep 2025)

Changed paths:
M Lib/fontTools/annotations.py

Log Message:
-----------
Import from lxml only when type checking


Commit: 07d454656d3b31ba733f8b2c3a787d9e65fa4ad0
https://github.com/fonttools/fonttools/commit/07d454656d3b31ba733f8b2c3a787d9e65fa4ad0
Author: Jens Kutilek <web...@kutilek.de>
Date: 2025-09-04 (Thu, 04 Sep 2025)

Changed paths:
M Tests/ufoLib/__init__.py

Log Message:
-----------
Don't skip ufoLib tests when import fails


Compare: https://github.com/fonttools/fonttools/compare/cab7a65137d1%5E...07d454656d3b

To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications
Reply all
Reply to author
Forward
0 new messages