fix: relax pydantic-core upper bound from <2.44.0 to <3#23
Open
vapi-tasker[bot] wants to merge 1 commit into
Open
fix: relax pydantic-core upper bound from <2.44.0 to <3#23vapi-tasker[bot] wants to merge 1 commit into
vapi-tasker[bot] wants to merge 1 commit into
Conversation
The pydantic-core<2.44.0 constraint was auto-generated by the Fern SDK generator (fernapi/fern-python-sdk v5.3.3) in commit 7a070a7 and was not based on any actual incompatibility. The SDK only uses stable pydantic-core APIs (PydanticUndefined, core_schema, to_jsonable_python) that have been unchanged across all 2.x releases. This constraint caused a dependency conflict for users with pydantic>=2.13.3, which requires pydantic-core==2.46.3, forcing them to downgrade to SDK v1.9.0. The new constraint >=2.18.2,<3 allows all pydantic-core 2.x versions while guarding against a hypothetical 3.0 breaking change. Resolves: PRO-2816 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
pydantic-coreversion constraint from>=2.18.2,<2.44.0to>=2.18.2,<3in bothpyproject.tomlandrequirements.txt<2.44.0upper bound was auto-generated by the Fern SDK generator (fernapi/fern-python-sdkv5.3.3) in commit7a070a7and was not based on any actual API incompatibilitypydantic>=2.13.3(which requirespydantic-core==2.46.3) were unable to install SDK v1.11.0, forcing them to downgrade to v1.9.0Root Cause
The SDK only uses three stable
pydantic-coreAPIs:PydanticUndefined(sentinel value comparison)core_schema(schema building inRfc2822DateTime)to_jsonable_python(JSON serialization)None of these APIs have changed across
pydantic-core2.x releases. The<2.44.0cap was an artifact of the Fern code generator, not a deliberate compatibility boundary.Changes
pyproject.tomlpydantic-core = ">=2.18.2,<3"requirements.txtpydantic-core>=2.18.2,<3poetry.locktests/test_pydantic_core_compat.pyTest plan
pydantic_coreimport in the SDKLinear Issue
PRO-2816
🤖 Generated with Claude Code