Skip to content

Conversation

paulmikulskis
Copy link
Collaborator

@paulmikulskis paulmikulskis commented Jan 23, 2025

Fix Test Suite and Pydantic V2 Compatibility Issues

Overview

Resolved test suite failures and Pydantic V2 compatibility issues across the SDK. Addressed missing test dependencies and deprecated field definitions.

General SDK Changes

Testing Stuff

  • Added requests-mock package for HTTP request mocking in tests, wasn't working w/o this with newer pytest
  • Fixed pytest fixture availability for RPC and integration tests
  • Standardized test mock implementations with decorators for the mocked fixtures

Pydantic Model Updates

  • Updated Field definitions to comply with Pydantic V2 schema (using None and stuff)
  • Corrected type hints for optional fields

All tests are passing

Screenshot 2025-01-23 at 10 13 22 AM

@paulmikulskis paulmikulskis requested a review from jfmyers January 23, 2025 14:14
Copy link

vercel bot commented Jan 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sdk ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 3:08pm

@jfmyers jfmyers merged commit ae761cd into main Jan 26, 2025
6 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.

2 participants