Skip to content

CI runs the suite against the built wheel - #17

Merged
tmoosting merged 1 commit into
mainfrom
wheel-tests
Nov 19, 2026
Merged

tmoosting merged 1 commit into
mainfrom
wheel-tests

Conversation

@tmoosting

Copy link
Copy Markdown
Member

The gates job tests the source tree, installed editable, but PyPI gets the wheel. A file the build leaves out would pass there and fail for every user, and PyPI keeps every version.

  • A wheel job builds the wheel on Python 3.12 (the floor). It checks the wheel holds every tracked file under src/onlyworlds and nothing else. It installs the wheel into the locked dev environment in place of the project, asserts onlyworlds imports from site-packages, and runs the whole suite.
  • Watched failing (locally): a wheel built with _walk excluded fails the contents check, which names the three files, and the suite, with a FileNotFoundError. The source run passes on the same tree. On the clean build: 63 of 63 files, 2156 passed against the wheel.

🤖 Generated with Claude Code

The gates job tests the source tree, installed editable, while PyPI gets the wheel: a file the build leaves out passes there and fails for every user. A wheel job builds it on Python 3.12, checks it holds every tracked file of the package and nothing else, installs it into the locked dev environment in place of the project, asserts the import comes from site-packages, and runs the whole suite. Watched failing: a wheel built without the vendored folder checker fails the contents check (three files named) and the suite (FileNotFoundError), where the source run passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmoosting
tmoosting merged commit 78ac75f into main Nov 19, 2026
11 checks passed
@tmoosting
tmoosting deleted the wheel-tests branch November 19, 2026 01:59
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