Widen grpcio pin from <1.64.0 to <1.79.0 so it works on Python 3.14#318
Open
jakemanger wants to merge 1 commit intoStability-AI:mainfrom
Open
Widen grpcio pin from <1.64.0 to <1.79.0 so it works on Python 3.14#318jakemanger wants to merge 1 commit intoStability-AI:mainfrom
jakemanger wants to merge 1 commit intoStability-AI:mainfrom
Conversation
|
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.



grpcio>=1.53.0,<1.64.0 has no pre-built wheels for Python 3.14. pip falls back to building from source, which fails during C++ compilation of grpcio. It's a pretty frustrating experience for people using newer versions of python.
The fix:
Widen the upper bound to <1.79.0 (current stable line). grpcio 1.75.1+ ships wheels for Python 3.14, so pip resolves a binary wheel instead of attempting a source build.
This should also resolve a lot of the vulnerabilities with older grpcio versions
The lower bound (>=1.53.0) is unchanged.
I've tested locally:
pip install stability-sdk resolves and installs cleanly on Python 3.14.0b1 (macOS arm64).