Skip to content

fix: python/cloudflare/pydantic incompatibility - #21

Open
ethanholz wants to merge 1 commit into
omsf-eco-infra:mainfrom
ethanholz:backport/fix/python-pin
Open

fix: python/cloudflare/pydantic incompatibility#21
ethanholz wants to merge 1 commit into
omsf-eco-infra:mainfrom
ethanholz:backport/fix/python-pin

Conversation

@ethanholz

Copy link
Copy Markdown
Contributor

Closes #18. However, it does also upgrade to the latest pixi lockfile version (v7) that was crated in pixi 0.71.0.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project’s Python dependencies to avoid the Cloudflare SDK pulling in (or importing through) Pydantic v1 compatibility paths that are not compatible with Python 3.14+, aligning the Pixi environment solve with Pydantic v2.

Changes:

  • Bump the Cloudflare SDK dependency to cloudflare>=5.4.0.
  • Add an explicit constraint pydantic>=2,<3 to prevent a Pydantic v1 solve.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@4ae5ffe). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage        ?   99.79%           
=======================================
  Files           ?       19           
  Lines           ?     3386           
  Branches        ?        0           
=======================================
  Hits            ?     3379           
  Misses          ?        7           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ethanholz
ethanholz requested a review from dwhswenson July 20, 2026 19:45
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.

Fix Python 3.14 Pydantic v1 dependency collision

2 participants