← Back to Pull requests

chore(deps): update dependency pydantic to v2.14.4 #3257

Closed
unknown closed this pull request without merging on Nov 24, 2026 13:10 UTC
View on GitHub
unknown unknown commented on Nov 14, 2026 01:22 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| pydantic (changelog) | ==2.12.5 → ==2.14.4 | !age | !confidence |

---

[!WARNING]

Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/2253) for more information.

---

Release Notes

<details>
<summary>pydantic/pydantic (pydantic)</summary>

v2.14.4

GitHub release

##### What's Changed

##### Packaging

  • Bump jiter to v0.19.0 by @&#8203;Viicos in #&#8203;14247.

  • This addresses memory issues introduced by the previous jiter release.

    ##### Changes

  • Don't mark subclasses of @deprecated classes as deprecated in JSON Schema by @&#8203;Viicos in #&#8203;14325
  • ##### Performance

  • Cache UTC TzInfo instance by @&#8203;Viicos in #&#8203;14256

  • Skip schema deduplication for alternatives with a single schema by @&#8203;fredheir in #&#8203;14274
  • ##### Fixes

  • Exclude InitVar fields from the serialization JSON schema by @&#8203;Alvi-Rahman in #&#8203;14223

  • Fix more issues about GC tracking in pydantic-core by @&#8203;Viicos in #&#8203;14253

  • Fix validation constraints leaking into the Decimal JSON Schema by @&#8203;aidxhxr in #&#8203;14254

  • Fix model signature when a field alias is the name used for extra kwargs by @&#8203;aidxhxr in #&#8203;14255

  • Fix display of Callable parameters in type representations by @&#8203;aidxhxr in #&#8203;14261

  • Respect validation-time strict=True for complex by @&#8203;Viicos in #&#8203;14293

  • Fill missing type alias arguments from type parameter defaults by @&#8203;Viicos in #&#8203;14324
  • ##### New Contributors

  • @&#8203;Alvi-Rahman made their first contribution in #&#8203;14223

  • @&#8203;aidxhxr made their first contribution in #&#8203;14254

  • @&#8203;fredheir made their first contribution in #&#8203;14274
  • v2.14.3

    GitHub release

    ##### What's Changed

    ##### Packaging

  • Build wheels for GraalPy 3.13 by @&#8203;msimacek in #&#8203;14136.
  • The previous v2.14.2 release published GraalPy 3.11 wheels, which were not working due to a PyO3 version bump. A CI workflow issue
    made it so that the wheel wasn't tested before publishing. This is now fixed: starting in v2.14.3, we no longer publish GraalPy 3.11
    wheels, and GraalPy 3.13 wheels are now published together with the existing 3.12 one.

    ##### Performance

  • Improve schema generation for fixed type handlers by @&#8203;alexmojaki in #&#8203;14130

  • Skip general schema dispatch for builtin scalars by @&#8203;alexmojaki in #&#8203;14141

  • Skip annotation handler setup when annotations are empty by @&#8203;alexmojaki in #&#8203;14149

  • Fix quadratic serialization time with per-index include/exclude on sequences by @&#8203;Viicos in #&#8203;14160

  • Avoid type lookups when checking for None during serialization by @&#8203;Viicos in #&#8203;14167

  • Improve performance of model serialization by @&#8203;Viicos in #&#8203;14171

  • Improve performance of dict serialization by @&#8203;Viicos in #&#8203;14172

  • Improve performance of type inference during serialization by @&#8203;Viicos in #&#8203;14173

  • Avoid cloning the field name when using the default value during validation by @&#8203;Viicos in #&#8203;14175

  • Do not evaluate model_config annotations by @&#8203;Viicos in #&#8203;14195

  • Avoid slow runtime Protocol check when expanding GroupedMetadata annotations by @&#8203;Viicos in #&#8203;14196

  • Use a lightweight @contextmanager implementation internally by @&#8203;Viicos in #&#8203;14199
  • ##### Fixes

  • Fix various issues about GC tracking in pydantic-core by @&#8203;Viicos in #&#8203;13819

  • Include null in serialization JSON Schema for unless-none field serializers by @&#8203;Kropiunig in #&#8203;13848

  • Fix RecursionError when copying or unpickling models with defer_build by @&#8203;Viicos in #&#8203;14115

  • Remove dead default_factory check in unsupported Field() attribute by @&#8203;owtaylor in #&#8203;14129

  • Disallow non string extra keys during validation by @&#8203;Viicos in #&#8203;14135

  • Fix deeply nested data being reported as a cyclic reference by @&#8203;Viicos in #&#8203;14164
  • ##### New Contributors

  • @&#8203;owtaylor made their first contribution in #&#8203;14129
  • v2.14.2

    GitHub release

    ##### What's Changed

    ##### Packaging

  • Bump PyO3 to 0.30.1, jiter to 0.18.0, use PyFrozenDict by @&#8203;Viicos in #&#8203;14003

  • Bump speedate to v0.18.0 by @&#8203;Viicos in #&#8203;14007

  • Publish pydantic-core wheels for PyPy 8.0 (pp80 ABI) by @&#8203;Viicos in #&#8203;14083
  • ##### Performance

  • Avoid Python tuple allocation during model fields validation by @&#8203;Viicos in #&#8203;13955

  • Lazily call repr of values during nested union serialization by @&#8203;Viicos in #&#8203;14082

  • Skip decorator field checks when no field decorators exist by @&#8203;alexmojaki in #&#8203;14111

  • Avoid heap allocation for small JSON model field buffers by @&#8203;alexmojaki in #&#8203;14113
  • ##### Fixes

  • Make JSON validation by iteration consistent with Python approach by @&#8203;davidhewitt in #&#8203;13275.
  • JSON validation now handles field lookup and extra data the same way as Python validation. In particular, keys that only match an
    unused alias or field name are now treated as extra data, instead of being silently dropped:

      from pydantic import BaseModel, ConfigDict
      from pydantic.alias_generators import to_camel
    
      class Page(BaseModel):
          model_config = ConfigDict(extra='forbid', alias_generator=to_camel)
    
          page_size: int = 10
    
      Page.model_validate_json('{"page_size": 50}')
      # Before: Page(page_size=10)
      # After: ValidationError (extra_forbidden)
      

    See the pull request for the full list of behavior changes.

  • Fix unpickling of generic classes defined in separate module by @&#8203;Viicos in #&#8203;13994
  • Support explicit by_alias overriding validate_by_alias in validation JSON schemas by @&#8203;Viicos in #&#8203;13997
  • Fix mypy plugin crash on deferred empty model by @&#8203;ilevkivskyi in #&#8203;14027
  • Fix infinite recursion when validating an invalid default with PydanticUseDefault by @&#8203;Viicos in #&#8203;14028
  • Implement recursion guard for validate_strings() by @&#8203;Viicos in #&#8203;14029
  • Support named tuples in Sequence serialization by @&#8203;Viicos in #&#8203;14033
  • Take preserve_empty_path into account in URL types equality by @&#8203;Viicos in #&#8203;14035
  • Fix pickling of PydanticCustomError and ValidationErrors containing custom errors by @&#8203;Viicos in #&#8203;14051
  • Do not extract attribute docstrings from nested classes and functions by @&#8203;Viicos in #&#8203;14052
  • Fix forward annotations evaluation and type variables substitution when rebuilding parametrized generic models by @&#8203;Viicos in #&#8203;14054
  • Fix Self resolution in parametrized generics by @&#8203;Viicos in #&#8203;14065
  • Ignore extra data matching a field name in TypedDict and dataclasses with extra=allow by @&#8203;Viicos in #&#8203;14090
  • Check mapping max_length constraint during validation by @&#8203;Viicos in #&#8203;14092
  • Fix deep copy of self-referential models by @&#8203;Viicos in #&#8203;14116
  • v2.14.1

    GitHub release

    ##### What's Changed

    ##### Performance

  • Avoid Python tuple allocation during model fields validation by @&#8203;Viicos in #&#8203;13955

  • Avoid unnecessary extra dict allocation in model validation by @&#8203;Viicos in #&#8203;13956
  • ##### Fixes

  • Fix arguments-v3 schema with variadic keywords by @&#8203;Viicos in #&#8203;13954

  • Fix TypeError on ForwardRef on Python 3.10.0 by @&#8203;Viicos in #&#8203;13964

  • Support closed and extra_items via inheritance in TypedDict by @&#8203;Viicos in #&#8203;13967

  • Enforce the max_digits whole-digits limit in the Python Decimal validator by @&#8203;Viicos in #&#8203;13972

  • Reject out-of-range int inputs for timedelta by @&#8203;Viicos in #&#8203;13973

  • Support named tuples in Sequence validation by @&#8203;Viicos in #&#8203;13978
  • v2.14.0

    GitHub release

    ##### What's Changed

    The highlights of the v2.14 release are available in the blog post.
    Several minor changes (considered non-breaking changes according to our versioning policy)
    are also included in this release. Make sure to look into them before upgrading.

    This release drops support for Python 3.9 and adds support for Python 3.15.

    ##### New Features

  • Add support for multiple_of constraint in fraction and timedelta core schemas by @&#8203;Viicos in #&#8203;13873

  • Add __namespace__ parameter to create_model() by @&#8203;Viicos in #&#8203;13895
  • ##### Changes

  • Add an ordered-dict core schema by @&#8203;Viicos in #&#8203;13796

  • Add a counter core schema by @&#8203;Viicos in #&#8203;13824

  • Do not mutate model_config attribute by @&#8203;Viicos in #&#8203;13825

  • Reject newlines in NameEmail validation by @&#8203;Viicos in #&#8203;13897
  • ##### Fixes

  • Call enum constructors in both validation modes by @&#8203;Viicos in #&#8203;13792

  • Fix documentation examples not raising and remove unused string_sub_type unused error code by @&#8203;Viicos in #&#8203;13821

  • Catch OverflowError during ByteSize validation by @&#8203;Viicos in #&#8203;13850

  • Require multiple_of constraints to be positive by @&#8203;Viicos in #&#8203;13862

  • Always pop field name and model type stacks during schema generation by @&#8203;saquibjawedbit in #&#8203;13859

  • Handle TypeError gracefully during docstring extraction by @&#8203;Viicos in #&#8203;13874

  • Fix config propagation of stdlib dataclasses and TypedDicts in JSON Schema by @&#8203;Viicos in #&#8203;13891

  • Don't apply ser_json_timedelta to all datetime types in serialization inference by @&#8203;Viicos in #&#8203;13892

  • Encode JSON Schema defaults with a consistent configuration by @&#8203;Viicos in #&#8203;13893

  • Propagate init and kw_only=False from Field() to stdlib dataclass fields by @&#8203;Viicos in #&#8203;13898

  • Respect propagated extra config in the JSON Schema of stdlib dataclasses by @&#8203;Viicos in #&#8203;13899

  • Handle OS errors during ZoneInfo validation by @&#8203;Viicos in #&#8203;13912

  • Handle exceptions during Decimal validation by @&#8203;Viicos in #&#8203;13940

  • Rebuild incomplete types during serialization inference by @&#8203;Viicos in #&#8203;13922

  • Reject large exponents in Fraction validation by @&#8203;Viicos in #&#8203;13944

  • Avoid validating URL prefix multiple times in multi host URLs by @&#8203;Viicos in #&#8203;13945
  • ##### New Contributors

  • @&#8203;saquibjawedbit made their first contribution in #&#8203;13859
  • v2.13.5

    v2.13.4

    GitHub release

    ##### What's Changed

    ##### Packaging

  • Bump libc from 0.2.155 to 0.2.185 by @&#8203;Viicos in #&#8203;13109

  • Adapt pydantic-core linker flags on macOS by @&#8203;washingtoneg and @&#8203;Viicos in #&#8203;13147
  • ##### Fixes

  • Preserve RootModel core metadata by @&#8203;Viicos in #&#8203;13129
  • v2.13.3

    GitHub release

    ##### What's Changed

    ##### Fixes

  • Handle AttributeError subclasses with from_attributes by @&#8203;Viicos in #&#8203;13096
  • v2.13.2

    GitHub release

    ##### What's Changed

    ##### Fixes

  • Fix ValidationInfo.field_name missing with model_validate_json() by @&#8203;Viicos in #&#8203;13084
  • v2.13.1

    GitHub release

    ##### What's Changed

    ##### Fixes

  • Fix ValidationInfo.data missing with model_validate_json() by @&#8203;davidhewitt in #&#8203;13079
  • v2.13.0

    GitHub release

    The highlights of the v2.13 release are available in the blog post.
    Several minor changes (considered non-breaking changes according to our versioning policy)
    are also included in this release. Make sure to look into them before upgrading.

    This release contains the updated pydantic.v1 namespace, matching version 1.10.26 which includes support for Python 3.14.

    ##### What's Changed

    See the beta releases for all changes sinces 2.12.

    ##### New Features

  • Allow default factories of private attributes to take validated model data by @&#8203;Viicos in #&#8203;13013
  • ##### Changes

  • Warn when serializing fixed length tuples with too few items by @&#8203;arvindsaripalli in #&#8203;13016
  • ##### Fixes

  • Change type of Any when synthesizing _build_sources for BaseSettings.__init__() signature in the mypy plugin by @&#8203;Viicos in #&#8203;13049

  • Fix model equality when using runtime extra configuration by @&#8203;Viicos in #&#8203;13062
  • ##### Packaging

  • Add zizmor for GitHub Actions workflow linting by @&#8203;Viicos in #&#8203;13039

  • Update jiter to v0.14.0 to fix a segmentation fault on musl Linux by @&#8203;Viicos in #&#8203;13064
  • ##### New Contributors

  • @&#8203;arvindsaripalli made their first contribution in #&#8203;13016
  • </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Enabled.

    ♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    Need help?


    You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjEuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjIzOS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJ1cGRhdGUtbWlub3IiXX0=-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: skl Review duration: 15108m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3257"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%
    Repository