Skip to content

Conversation

Viicos
Copy link
Member

@Viicos Viicos commented Jun 10, 2025

Change Summary

Fixes #11905, closes #11906.

Technically this is a breaking change since the signature from the added test was unexpectedly working, but this wasn't documented at all and the fix is straightforward. What do you think?

Need to document the change (see #12110) in blog post and changelog.

Related issue number

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@github-actions github-actions bot added the relnotes-fix Used for bugfixes. label Jun 10, 2025
@Viicos Viicos added relnotes-change Used for changes to existing functionality which don't have a better categorization. third-party-tests Add this label on a PR to trigger 3rd party tests and removed relnotes-fix Used for bugfixes. labels Jun 10, 2025
@Viicos Viicos closed this Jun 10, 2025
@Viicos Viicos reopened this Jun 10, 2025
@Viicos Viicos force-pushed the no-classmethod-aftervalidator branch from b2ee66f to 7620df4 Compare June 10, 2025 13:28
Copy link

cloudflare-workers-and-pages bot commented Jun 10, 2025

Deploying pydantic-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8a074b4
Status:⚡️  Build in progress...

View logs

Copy link

codspeed-hq bot commented Jun 10, 2025

CodSpeed Performance Report

Merging #11957 will not alter performance

Comparing no-classmethod-aftervalidator (8a074b4) with main (bcd10f7)

Summary

✅ 46 untouched benchmarks

Copy link
Contributor

github-actions bot commented Jun 10, 2025

Coverage report

This PR does not seem to contain any modification to coverable code.

@Viicos Viicos enabled auto-merge (squash) June 12, 2025 19:43
@Viicos Viicos merged commit f0e1d04 into main Jun 12, 2025
85 of 86 checks passed
@Viicos Viicos deleted the no-classmethod-aftervalidator branch June 12, 2025 19:49
@Viicos Viicos added the needs-blogpost-entry This PR needs to be documented in the release notes blog post label Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-blogpost-entry This PR needs to be documented in the release notes blog post relnotes-change Used for changes to existing functionality which don't have a better categorization. third-party-tests Add this label on a PR to trigger 3rd party tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

incorrect model_validator(mode="after") method definition?
2 participants