Skip to content

refactor build so that pgo is part of normal pathway#3257

Draft
davidhewitt wants to merge 4 commits into
PyO3:mainfrom
davidhewitt:pgo-cleanup
Draft

refactor build so that pgo is part of normal pathway#3257
davidhewitt wants to merge 4 commits into
PyO3:mainfrom
davidhewitt:pgo-cleanup

Conversation

@davidhewitt

Copy link
Copy Markdown
Member

I noticed that PGO can misalign with actual wheel builds. I tried to fix this by removing the dedicated PGO wheel-building functions and instead introducing a build_single_unit helper which either runs a PGO cycle or does a single build.

I also added some additional testing.

AI Disclosure

I used AI to factor this out, in particular the additional test cases for multiple interpreters using uv.

@davidhewitt davidhewitt changed the title refactor build so that pgo is part of normal pathway @davidhewitt refactor build so that pgo is part of normal pathway Jul 10, 2026
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