fix: widen pydantic-core upper bound to <3.0.0#723
Open
gavin913-lss wants to merge 1 commit into
Open
Conversation
pydantic 2.13.3 requires pydantic-core==2.46.3, but the current constraint pins pydantic-core<2.44.0, making deepgram-sdk uninstallable alongside pydantic>=2.13.0. Widen the upper bound to <3.0.0 since pydantic-core follows calver and the API is stable within major versions. Fixes deepgram#701
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.
Problem
deepgram-sdkpinspydantic-core>=2.18.2,<2.44.0, butpydantic>=2.13.0requirespydantic-core==2.46.3. This makes it impossible to installdeepgram-sdkalongside modernpydantic:Fixes #701
Fix
Widen the
pydantic-coreupper bound from<2.44.0to<3.0.0.pydantic-corefollows calver and the validation/serialization API is stable within major versions. The lower bound>=2.18.2is preserved to maintain backward compatibility.Testing
Verified that
pydantic==2.13.3+pydantic-core==2.46.3satisfies the new constraint>=2.18.2,<3.0.0.