Skip to content

chore(deps): update pydantic requirement from >=2.6.0 to >=2.13.5 - #74

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/pydantic-gte-2.13.5
Open

chore(deps): update pydantic requirement from >=2.6.0 to >=2.13.5#74
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/pydantic-gte-2.13.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown

Updates the requirements on pydantic to permit the latest version.

Release notes

Sourced from pydantic's releases.

v2.13.5 (2026-08-28)

What's Changed

Fixes

  • Allow reuse of validators when plugins are set by @​Viicos in #13535
  • Fix missing GC traversal on some pydantic-core struct fields by @​Viicos in #13624
  • Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer by @​Viicos in #13629
  • Count validated model fields once in smart unions by @​tamird in #13731
Changelog

Sourced from pydantic's changelog.

v2.13.5 (2026-08-28)

GitHub release

What's Changed

Fixes

  • Allow reuse of validators when plugins are set by @​Viicos in #13535
  • Fix missing GC traversal on some pydantic-core struct fields by @​Viicos in #13624
  • Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer by @​Viicos in #13629
  • Count validated model fields once in smart unions by @​tamird in #13731

v2.13.4 (2026-05-06)

GitHub release

What's Changed

Packaging

Fixes

v2.13.3 (2026-04-20)

GitHub release

What's Changed

Fixes

v2.13.2 (2026-04-17)

GitHub release

What's Changed

Fixes

  • Fix ValidationInfo.field_name missing with model_validate_json() by @​Viicos in #13084

v2.13.1 (2026-04-15)

... (truncated)

Commits
  • 001dea0 Bump pypa/gh-action-pypi-publish action to v1.14.2
  • 558379f Bump twine to v7.0.0
  • 2cfd5d3 Do not check for docs build
  • a735bee Fix more Clippy lints
  • 7eed4a1 Fix Clippy 0.1.95 warnings
  • b353bbb Prepare release v2.13.5
  • 63d2ccc Count validated model fields once in smart unions
  • a53ec2e Speed up PyPy CI tests
  • d65e0f9 Workaround circular import error in Mypy
  • 47a6dbf Fix missing GC traversal in pydantic-core for GeneralFieldsSerializer
  • Additional commits viewable in compare view

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 commands and options

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)

Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/v2.13.5/HISTORY.md)
- [Commits](pydantic/pydantic@v2.6.0...v2.13.5)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.13.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates python Pull requests that update python code labels Aug 31, 2026
@dependabot dependabot Bot added dependencies Dependency updates python Pull requests that update python code labels Aug 31, 2026

@srpatcha srpatcha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review — eDB#74 "chore(deps): update pydantic requirement from >=2.6.0 to >=2.13.5"

head: 352deb9 author: app/dependabot ci: green but hollow — the test matrix never ran on this PR (finding #1)

Verdict: The bump itself is safe — I installed pydantic 2.13.5 against this repo and the full unit and functional suites pass. The problem is that nothing in this PR's own CI demonstrates that, because the jobs that could have are not triggered on this branch at all.

Findings

# Severity File:line Finding Recommended fix
1 Medium .github/workflows/ci.yml:3-8 at this head The Test (Python …) matrix and Build Python Package never ran on this PR, so its green check list is not evidence. This branch forks from 5e436bd (2026-08-25), where ci.yml triggers on pull_request: branches: [main] — and this PR targets master. master was added to the trigger later, in f3b1ab0 ("ci: run the build-and-test workflow on master"), which is not in this branch. checks.txt reflects exactly that: Analyze (Python), CodeQL and assign ran (their own workflows have their own triggers); nothing that executes the package did. Rebase onto current master so the trigger applies and the matrix actually runs. Do this after eDB#82, otherwise the matrix fails at pip install -r requirements.txt for a file that does not exist and tells you nothing about pydantic.
2 Low pyproject.toml:29 This raises the floor on a runtime dependency, not a dev tool, so it narrows the supported range for anything installing edb. No CVE, no API requirement and no changelog entry justifies 2.13.5 specifically over the 2.6.0 that was there. Master design §23.2 makes the package-metadata schema a versioned compatibility contract; moving a runtime floor by seven minor versions with no recorded reason is a compatibility decision being made by a bot. Either record the reason (a needed API, a CVE) in the PR, or keep the floor at the oldest version actually supported and constrain the tested version through the CI matrix instead. If the intent is "we only support current pydantic", say so once in pyproject.toml rather than per-bump.

Dependabot's own comment about the missing npm/github-actions labels does not apply to this PR and is not repeated here.

Architecture conformance

Conforms. Dependency-metadata change confined to Tier 3 eDB (master design §21). One line in [project].dependencies; no source file, import or manifest entry, so §5.1 dependency direction is untouched and no lower tier gains a dependency on a higher one. .github/STANDARDS.md is unaffected — no tag, release-branch or compliance-assertion change.

Proposed changes

No change to the diff itself. Sequence: land eDB#82 (CI install fix) → rebase this branch onto master → let the matrix run → merge on real evidence rather than on an empty check list.

Verification I ran

In a clean venv on Python 3.12.14, Linux, built from pyproject.toml's dev extra (uv pip install -e ".[dev]", rc 0), the resolver selected pydantic 2.13.5 — the exact floor this PR proposes:

  • python -m pytest tests/unit/ -q --tb=short23 passed
  • python -m pytest tests/functional/ -q --tb=short1 passed

So the repo's own tests pass on the proposed floor. (The unit command exits 1 under --cov=. because of the unrelated fail_under = 100 gate in .coveragerc:14; the 23 tests themselves pass. See eDB#82.)

fastapi 0.141.1 and pydantic-settings resolved alongside it without conflict.

Not checked

  • This PR's head was never built or tested. Everything above was run against eDB#82's head, which shares master's source tree; it is evidence about pydantic 2.13.5 and this codebase, not about this branch as it stands.
  • Python 3.10 and 3.11 were not exercised, nor macOS or Windows. Only 3.12 on Linux.
  • No downstream consumer of edb was checked for whether the raised floor breaks its own resolution — finding #2 is a compatibility observation, not a measured break.
  • I did not read the pydantic 2.6→2.13 changelog for behavioural changes affecting src/edb; the passing suite is the only evidence offered, and its coverage is 46.93%.

Automated architecture review of 352deb9ddfaa — scheduled, model claude-opus-5, checked against the EmbeddedOS Master Design v2.0. Advisory only: this reviewer never approves, requests changes, or merges. Reply here to discuss or push back — a wrong finding is a bug worth reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant