Skip to content

chore(deps): upgrade ty to 0.0.84 - #4559

Merged
PeterStaar-IBM merged 3 commits into
2026-10-04-fix/core-model-contractsfrom
2026-10-04-chore/ty-0-0-84-final
Oct 5, 2026
Merged

PeterStaar-IBM merged 3 commits into
2026-10-04-fix/core-model-contractsfrom
2026-10-04-chore/ty-0-0-84-final

Conversation

@geoHeil

@geoHeil geoHeil commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Upgrade the shared ty pin from 0.0.33 to 0.0.84 and regenerate uv.lock with uv 0.12.23. The lock changes only ty metadata and artifacts.

The Astral release improves type inference and performance. It also fixes GHSA-vxvm-j4xq-q7m4, which affects checks of crafted Python projects.

The newer ty exit policy now applies. Warning diagnostics cause a nonzero exit. No terminal override, diagnostic suppression, or rule relaxation is added. The existing all = "warn" rule setting remains.

The preceding cleanup PRs make the new check clean across the repository:

Validation: ty 0.0.84 passes on Python 3.10 and 3.13. make validate passes. Focused tests cover the changed source, stored model/tree, and export paths. The old 0.0.33 check exits successfully with its prior warning-only behavior. The earlier full check found 11 unchanged files above its existing 1000-line limit; no line budget was changed.

Depends on #4558, which depends on #4557, #4556, #4553, and #4552.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

✅ DCO Check Passed

Thanks @geoHeil, all your commits are properly signed off. 🎉

@codecov

codecov Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
docling/models/stages/ocr/ocr_mac_model.py 0.00% 3 Missing ⚠️
docling/models/vlm_pipeline_models/mlx_model.py 0.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@geoHeil
geoHeil force-pushed the 2026-10-04-chore/ty-0-0-84-final branch from 98c5235 to 66bcb85 Compare October 4, 2026 09:52
@geoHeil
geoHeil force-pushed the 2026-10-04-chore/ty-0-0-84-final branch from 66bcb85 to 083bb21 Compare October 4, 2026 09:52
@geoHeil
geoHeil added this pull request to stack #4562 October 4, 2026 10:29
@geoHeil
geoHeil force-pushed the 2026-10-04-chore/ty-0-0-84-final branch from 083bb21 to ef2c1b1 Compare October 4, 2026 10:38
Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>
Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>
Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>
@geoHeil
geoHeil force-pushed the 2026-10-04-chore/ty-0-0-84-final branch from ef2c1b1 to 9a47eaf Compare October 4, 2026 10:40

@PeterStaar-IBM PeterStaar-IBM left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm!

@PeterStaar-IBM
PeterStaar-IBM merged commit 4107df4 into 2026-10-04-docs/review-guardrails Oct 5, 2026
46 checks passed
@PeterStaar-IBM
PeterStaar-IBM deleted the 2026-10-04-chore/ty-0-0-84-final branch October 5, 2026 04:56
PeterStaar-IBM pushed a commit that referenced this pull request Oct 5, 2026
* chore(deps): upgrade ty to 0.0.84

Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>

* fix(types): mark optional MLX and Vision imports

Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>

* fix(types): mark optional framework boundaries

Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>

---------

Signed-off-by: Georg Heiler <georg.kf.heiler@gmail.com>
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