Skip to content

chore(deps): drop redundant pydantic_core pin - #362

Merged
gadievron merged 1 commit into
masterfrom
chore/drop-pydantic-core-pin
Aug 27, 2026
Merged

chore(deps): drop redundant pydantic_core pin#362
gadievron merged 1 commit into
masterfrom
chore/drop-pydantic-core-pin

Conversation

@gadievron

Copy link
Copy Markdown
Collaborator

What

Removes the pydantic_core==2.46.4 line from requirements.txt.

Why

  • pydantic pins its core exactly (2.13.4pydantic-core==2.46.4); nothing in the repo imports pydantic_core directly, and CI installs with plain pip install -r — the resolver already determines the core version deterministically from pydantic's own == constraint. The explicit pin adds zero reproducibility.
  • It creates a real failure class: when pydantic-core releases without a paired stable pydantic (as just happened — core 2.48.0 vs pydantic 2.13.4), renovate proposes an unpaired core bump that is permanently unresolvable (closed chore(deps): update dependency pydantic_core to v2.48.0 #338). Dropping the pin makes pydantic bumps self-contained and ends that PR class structurally.

Verification

  • grep -rn pydantic_core --include='*.py' → zero hits; GitHub code search → requirements.txt only
  • No lockfile / constraints file / --no-deps / --require-hashes anywhere in CI or docs; pyproject.toml declares only pydantic>=2.0.0
  • CI on this branch exercises the install (tests workflow installs from this file)

pydantic pins its core exactly (2.13.4 requires pydantic-core==2.46.4),
nothing in this repo imports pydantic_core directly, and CI installs
via plain 'pip install -r', so the resolver already determines core
deterministically from pydantic's own == constraint. The explicit pin
adds no reproducibility and creates a failure class: whenever
pydantic-core releases without a paired stable pydantic, renovate
proposes an unpaired core bump that can never resolve (see closed
#338). Dropping the pin makes pydantic bumps self-contained and ends
that PR class structurally.
@gadievron
gadievron merged commit 222f522 into master Aug 27, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant