Conversation
`tokenizers` (transitive via `litellm`) ships only `abi3` wheels, with no free-threaded variant. On macOS arm64 runners since the early-Apr image update, the source-build fallback fails to link against CPython 3.14t. Excluding the cell cleans up CI signal — end users on standard Python 3.14 remain unaffected (they pick up the `abi3` wheel). Ubuntu + 3.14t stays enabled (it still passes, via source build that Linux's ld accepts). Re-enable macOS once HuggingFace/tokenizers ships free-threaded wheels or litellm drops the dep.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Drop
macos-latest+3.14tfrom the pre-commit matrix — it's been failing consistently on main since Apr 9. Root cause istokenizers(transitive vialitellm) not shipping free-threaded wheels, combined with macOS arm64's stricter linker rejecting the PyO3 source-build on3.14t.tokenizers'cp39-abi3-macosx_11_0_arm64.whlstable-ABI wheel, no source build.ld).pywin32wheel for FT).Comment in the workflow points at the conditions under which the cell can be re-enabled (upstream tokenizers FT wheels, or litellm dropping the tokenizers dep).
Test plan
CI — expect the remaining matrix cells (ubuntu-latest 3.11 + 3.14t, macos-latest 3.11, windows-latest 3.11) to stay green; the red
macos-latest 3.14tcell no longer runs.