[ADC-689] Prove source-wheel public API parity - #636
Draft
wolf75222 wants to merge 3 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
scripts/prove_public_api_parity.py, an executable fail-closed comparison between the current source checkout and one exact release wheel;*.py,*.pyi, andpy.typedbyte, then import both package trees in isolated interpreters and compare canonical public API/typing snapshots;__all__, explicitCase, repeated-Model qualified handles, pure authoring/validate/inspect, and absence of_popsloading and replaced root names;2026-08-02 integration refresh
This stacked base now contains an explicit merge of current
masteratde3f6b56. The two original thematic ADC-689 commits remain intact; there was no squash, rebase, amend, or semantic fallback.Why
The existing architecture test only exercised whichever PoPS package pytest imported. It did not explicitly compare the source checkout with the wheel payload or prove that inline Python typing files were packaged byte-identically.
Validation
git diff --checkpassed on the original source-wheel slice;Deliberate limits
The unit proof uses a synthetic wheel copied from the exact source tree. The real macOS arm64/cp312 release workflow runs the same proof against the produced wheel. Installed-distribution identity and binding to release preflight live in stacked PR #655. No native build or release wheel was produced locally.