Skip to content

fix(ci): cap pydantic-ai-slim below 2.34 in unit test requirements - #15701

Merged
mikeldking merged 1 commit into
mainfrom
dustin/pin-pydantic-ai-unit-tests
Aug 28, 2026
Merged

fix(ci): cap pydantic-ai-slim below 2.34 in unit test requirements#15701
mikeldking merged 1 commit into
mainfrom
dustin/pin-pydantic-ai-unit-tests

Conversation

@anticorrelator

Copy link
Copy Markdown
Contributor

Every PR's unit tests currently fail on unit/db/types/test_data_stream_protocol_compatibility.py: the tox unit_tests env installs with uv pip install -U and resolves pydantic-ai-slim fresh, and it now picks 2.34.0, whose source no longer matches the vendored data-stream protocol types in src/phoenix/db/types.

Verified deterministically: with 2.33.0 the three parity tests pass; with 2.34.0 test_vendored_request_types_match_pydantic_ai_source and test_vendored_request_data_has_same_pydantic_schema fail.

This caps the unit-test environment at 2.33 parity as a stopgap. The real fix is re-syncing the vendored types with upstream (the usual weekly dependency-upgrade flow), after which the cap should be lifted.

https://claude.ai/code/session_014gvDFFS2FTKCnjCnQpcdng

The unit-test tox env installs with -U and resolves pydantic-ai-slim
fresh, so it picked up 2.34.0, whose source no longer matches the
vendored data-stream protocol types in src/phoenix/db/types.
test_data_stream_protocol_compatibility now fails on every PR
(verified: 2.33.0 passes, 2.34.0 fails the request-type and schema
parity tests). Cap the unit env at 2.33 parity until the vendored
types are re-synced.

Claude-Session: https://claude.ai/code/session_014gvDFFS2FTKCnjCnQpcdng
@mintlify

mintlify Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
arize-phoenix 🟢 Ready View Preview Aug 28, 2026, 2:20 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@github-project-automation github-project-automation Bot moved this to 📘 Todo in phoenix Aug 28, 2026
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 28, 2026
@claude

claude Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@github-project-automation github-project-automation Bot moved this from 📘 Todo to 👍 Approved in phoenix Aug 28, 2026
@mikeldking
mikeldking merged commit 3d8ca3b into main Aug 28, 2026
52 checks passed
@mikeldking
mikeldking deleted the dustin/pin-pydantic-ai-unit-tests branch August 28, 2026 17:31
@github-project-automation github-project-automation Bot moved this from 👍 Approved to ✅ Done in phoenix Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants