Skip to content

Conversation

Gentle
Copy link
Contributor

@Gentle Gentle commented Oct 5, 2025

this allows linking pydantic into a pyo3 project that statically embeds cpython which is useful on target platforms without a filesystem or dynamic linking

Change Summary

mod _pydantic_core => pub mod _pydantic_core

with this tiny change I can successfully build a static cpython that doesn't require dynlib to run pydantic

this allows linking pydantic into a pyo3 project that statically embeds
cpython which is useful on target platforms without a filesystem or
dynamic linking
Copy link

codecov bot commented Oct 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link

codspeed-hq bot commented Oct 5, 2025

CodSpeed Performance Report

Merging #1820 will not alter performance

Comparing Gentle:feat-pubmod (3332cfa) with main (70bd6f9)

Summary

✅ 163 untouched

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.

Thanks, makes sense.

@davidhewitt davidhewitt merged commit d90cdd1 into pydantic:main Oct 6, 2025
32 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