← Back to Pull requests

chore(deps-dev): Update pydantic requirement from <3.0,>=2.14.2 to >=2.14.3,<3.0 in /agent-governance-python/agent-sre #4605

Closed
unknown closed this pull request without merging on Nov 17, 2026 18:57 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 09:18 UTC
Author

Updates the requirements on pydantic to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p>
<blockquote>
<h2>v2.14.3 2026-11-04</h2>
<h2>v2.14.3 (2026-11-04)</h2>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>
<p>Build wheels for GraalPy 3.13 by <a href="https://github.com/msimacek"><code>@​msimacek</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14136">#14136</a>.</p>
<p>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.</p>
</li>
</ul>
<h4>Performance</h4>
<ul>
<li>Improve schema generation for fixed type handlers by <a href="https://github.com/alexmojaki"><code>@​alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14130">#14130</a></li>
<li>Skip general schema dispatch for builtin scalars by <a href="https://github.com/alexmojaki"><code>@​alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14141">#14141</a></li>
<li>Skip annotation handler setup when annotations are empty by <a href="https://github.com/alexmojaki"><code>@​alexmojaki</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14149">#14149</a></li>
<li>Fix quadratic serialization time with per-index <code>include</code>/<code>exclude</code> on sequences by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14160">#14160</a></li>
<li>Avoid type lookups when checking for <code>None</code> during serialization by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14167">#14167</a></li>
<li>Improve performance of model serialization by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14171">#14171</a></li>
<li>Improve performance of dict serialization by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14172">#14172</a></li>
<li>Improve performance of type inference during serialization by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14173">#14173</a></li>
<li>Avoid cloning the field name when using the default value during validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14175">#14175</a></li>
<li>Do not evaluate <code>model_config</code> annotations by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14195">#14195</a></li>
<li>Avoid slow runtime <code>Protocol</code> check when expanding <code>GroupedMetadata</code> annotations by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14196">#14196</a></li>
<li>Use a lightweight <code>@contextmanager</code> implementation internally by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14199">#14199</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Fix various issues about GC tracking in <code>pydantic-core</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13819">#13819</a></li>
<li>Include <code>null</code> in serialization JSON Schema for <code>unless-none</code> field serializers by <a href="https://github.com/Kropiunig"><code>@​Kropiunig</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13848">#13848</a></li>
<li>Fix <code>RecursionError</code> when copying or unpickling models with <code>defer_build</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14115">#14115</a></li>
<li>Remove dead <code>default_factory</code> check in unsupported <code>Field()</code> attribute by <a href="https://github.com/owtaylor"><code>@​owtaylor</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14129">#14129</a></li>
<li>Disallow non string extra keys during validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14135">#14135</a></li>
<li>Fix deeply nested data being reported as a cyclic reference by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/14164">#14164</a></li>
</ul>
<h3>New Contributors</h3>
<ul>
<li><a href="https://github.com/owtaylor"><code>@​owtaylor</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/14129">#14129</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p>
<blockquote>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<h2>v2.14.0 (2026-10-08)</h2>
<p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.14.0">GitHub release</a></p>
<h3>What's Changed</h3>
<p>The highlights of the v2.14 release are available in the <a href="https://pydantic.dev/articles/pydantic-v2-14-release">blog post</a>.
Several minor changes (considered non-breaking changes according to our <a href="https://pydantic.dev/docs/validation/2.14/get-started/version-policy/#pydantic-v2">versioning policy</a>)
are also included in this release. Make sure to look into them before upgrading.</p>
<p>This release drops support for Python 3.9 and adds support for Python 3.15.</p>
<h4>New Features</h4>
<ul>
<li>Add support for <code>multiple_of</code> constraint in <code>fraction</code> and <code>timedelta</code> core schemas by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13873">#13873</a></li>
<li>Add <code>__namespace__</code> parameter to <code>create_model()</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13895">#13895</a></li>
</ul>
<h4>Changes</h4>
<ul>
<li>Add an <code>ordered-dict</code> core schema by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13796">#13796</a></li>
<li>Add a <code>counter</code> core schema by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13824">#13824</a></li>
<li>Do not mutate <code>model_config</code> attribute by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13825">#13825</a></li>
<li>Reject newlines in <code>NameEmail</code> validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13897">#13897</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Call enum constructors in both validation modes by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13792">#13792</a></li>
<li>Fix documentation examples not raising and remove unused <code>string_sub_type</code> unused error code by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13821">#13821</a></li>
<li>Catch <code>OverflowError</code> during <code>ByteSize</code> validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13850">#13850</a></li>
<li>Require <code>multiple_of</code> constraints to be positive by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13862">#13862</a></li>
<li>Always pop field name and model type stacks during schema generation by <a href="https://github.com/saquibjawedbit"><code>@​saquibjawedbit</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13859">#13859</a></li>
<li>Handle <code>TypeError</code> gracefully during docstring extraction by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13874">#13874</a></li>
<li>Fix config propagation of stdlib dataclasses and <code>TypedDict</code>s in JSON Schema by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13891">#13891</a></li>
<li>Don't apply <code>ser_json_timedelta</code> to all datetime types in serialization inference by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13892">#13892</a></li>
<li>Encode JSON Schema defaults with a consistent configuration by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13893">#13893</a></li>
<li>Propagate <code>init</code> and <code>kw_only=False</code> from <code>Field()</code> to stdlib dataclass fields by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13898">#13898</a></li>
<li>Respect propagated extra config in the JSON Schema of stdlib dataclasses by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13899">#13899</a></li>
<li>Handle OS errors during <code>ZoneInfo</code> validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13912">#13912</a></li>
<li>Handle exceptions during <code>Decimal</code> validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13940">#13940</a></li>
<li>Rebuild incomplete types during serialization inference by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13922">#13922</a></li>
<li>Reject large exponents in <code>Fraction</code> validation by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13944">#13944</a></li>
<li>Avoid validating URL prefix multiple times in multi host URLs by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13945">#13945</a></li>
</ul>
<h3>New Contributors</h3>
<ul>
<li><a href="https://github.com/saquibjawedbit"><code>@​saquibjawedbit</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/13859">#13859</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pydantic/pydantic/commit/ea492e04654ab7f7a1f9287ea912419452ead4dd"><code>ea492e0</code></a> Bump pydantic-core to v2.50.4</li>
<li><a href="https://github.com/pydantic/pydantic/commit/4f4a33fe18e4bdf5ba35c01d86adcebc236f4703"><code>4f4a33f</code></a> Prepare release v2.14.3</li>
<li><a href="https://github.com/pydantic/pydantic/commit/dca067b563a0d77f3e99c9ccee4d8a28226a31ac"><code>dca067b</code></a> Benchmark <code>TypedDict</code> schema generation across builds</li>
<li><a href="https://github.com/pydantic/pydantic/commit/a2d1f6c8c50f9d2a27cd44a87147b3a1579ea99b"><code>a2d1f6c</code></a> Skip annotation handler setup when annotations are empty</li>
<li><a href="https://github.com/pydantic/pydantic/commit/3ae0a40c5e27e89899f8fb9fe9769351b79bce7c"><code>3ae0a40</code></a> Construct builtin scalar union schemas directly</li>
<li><a href="https://github.com/pydantic/pydantic/commit/358d36f850f4493b07612a8e3d0de166c376d1ad"><code>358d36f</code></a> Skip general schema dispatch for builtin scalars</li>
<li><a href="https://github.com/pydantic/pydantic/commit/3cc701a03fcd07bf91b4d775fefa6967685b4023"><code>3cc701a</code></a> Improve schema generation for fixed type handlers</li>
<li><a href="https://github.com/pydantic/pydantic/commit/762db7ecb4fbf0a7dc518359d21d8877c35a6dff"><code>762db7e</code></a> Remove redundant None check in union schema generation</li>
<li><a href="https://github.com/pydantic/pydantic/commit/c2149861252590ed3822762eda986760f8478d6e"><code>c214986</code></a> Bump <code>pytest-codspeed</code> to v5.0.4</li>
<li><a href="https://github.com/pydantic/pydantic/commit/038ee972494d838e898a8b1048a7fca27358c03d"><code>038ee97</code></a> Bump <code>typing-inspection</code> to v0.4.5</li>
<li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.14.2...v2.14.3">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: MohammadHaroonAbuomar Review duration: 579m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). 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%
    60%
    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 #4605"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 20.5% · Safe to merge
    20.5%