Skip to content

Remove core schema validation #1715

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Viicos
Copy link
Member

@Viicos Viicos commented May 19, 2025

The code used to generate the self schema is inspecting annotations in a way that isn't compatible with Python 3.14.

Change Summary

The code used to generate the self schema is inspecting annotations
in a way that isn't compatible with Python 3.14.

Fixes #1601.

Related issue number

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

The code used to generate the self schema is inspecting annotations
in a way that isn't compatible with Python 3.14.
@Viicos Viicos force-pushed the remove-schema-validation branch from 4259faf to 79cbb1a Compare May 19, 2025 11:09
Copy link
Contributor

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

I love this cleanup, awesome 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove validate_core_schema logic around ~pydantic v2.13
2 participants