Skip to content

Add pydantic compatibility tests - #4073

Merged
r4victor merged 15 commits into
masterfrom
issue_1844_pydantic_v2_compat_tests
Jul 30, 2026
Merged

Add pydantic compatibility tests#4073
r4victor merged 15 commits into
masterfrom
issue_1844_pydantic_v2_compat_tests

Conversation

@r4victor

Copy link
Copy Markdown
Collaborator

Part of #1844

Adds temporary safety-net tests for Pydantic v2 migration. Run with pytest src/tests/_internal/pydantic_compat --pydantic-compat. Test model serialization and parsing across all surfaces (db, responses, requests, backends, runner, gateway, proxy, etc).

Merged so that it can be maintained and stay up-to-date in master for pydantic v1 and merged into the pydantic v2 brach. Will be removed after the pydantic v2 migration.

@r4victor
r4victor merged commit ccef71f into master Jul 30, 2026
22 checks passed
@r4victor
r4victor deleted the issue_1844_pydantic_v2_compat_tests branch July 30, 2026 08:28
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