Skip to content

Update OTS to v9.3.0 - #107

Merged
miguelsousa merged 2 commits into
mainfrom
update-ots-9.3.0
Aug 7, 2026
Merged

Update OTS to v9.3.0#107
miguelsousa merged 2 commits into
mainfrom
update-ots-9.3.0

Conversation

@miguelsousa

Copy link
Copy Markdown
Member

Summary

Integrates OpenType Sanitizer v9.3.0, bumping the pinned OTS version from 9.2.0.

Changes

  • setup.cfg — pinned version 9.2.09.3.0 and the tarball sha256.
  • .github/workflows/run_tests.yml — updated --version/--sha256 in the Linux and Windows "Download OTS source" steps.
  • setup.pyLZ4_TAG 1.9.41.10.0 to match OTS 9.3.0's updated lz4 meson wrap. BROTLI_TAG (1.1.0) and WOFF2_TAG (1.0.2) are unchanged — those subproject source dirs did not change (only their wrapdb patch levels did).
  • tests/test_compare_ots_python.py — the optional ots-python comparison tests now skip when the installed opentype-sanitizer version differs from pyots's target OTS version. opentype-sanitizer is still 9.2.0 on PyPI, so its messages legitimately diverge from OTS 9.3.0 (e.g. the new non-italic hhea/vhea caret warning); the tests auto-re-enable once it ships 9.3.0.

Verification

Local build (macOS, pip install .) succeeds and pytest passes: 5 passed, 3 skipped (the 3 skips are the version-mismatched comparison tests). ruff check and ruff format --check are clean. The meson.build patch logic in setup.py's download command applies unchanged against the v9.3.0 tree.

Bump the pinned OpenType Sanitizer version from 9.2.0 to 9.3.0:
- setup.cfg: version and SHA-256 of the source tarball
- run_tests.yml: --version/--sha256 for both the Linux and Windows
  "Download OTS source" steps
- setup.py: LZ4_TAG 1.9.4 -> 1.10.0 to match OTS 9.3.0's updated lz4
  wrap (brotli 1.1.0 and woff2 1.0.2 subproject dirs are unchanged)

Skip the optional ots-python comparison tests when the installed
opentype-sanitizer version differs from pyots's target OTS version.
opentype-sanitizer is still 9.2.0 on PyPI, so its messages legitimately
diverge from OTS 9.3.0; the tests auto-re-enable once it ships 9.3.0.
@miguelsousa

Copy link
Copy Markdown
Member Author

There's a major GH Actions outage happening today, which explains why the CI hasn't run

@miguelsousa

Copy link
Copy Markdown
Member Author

Pre-release version published successfully at https://pypi.org/project/pyots/9.3.0a0/

@josh-hadley josh-hadley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 👏
Very nice!

@miguelsousa

Copy link
Copy Markdown
Member Author

Thank you Josh!

@miguelsousa
miguelsousa merged commit f7fc9ff into main Aug 7, 2026
12 checks passed
@miguelsousa
miguelsousa deleted the update-ots-9.3.0 branch August 7, 2026 19:54
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.

2 participants