Skip to content

Combine and expand the editable and compiled test fixtures - #2155

Merged
edmorley merged 1 commit into
mainfrom
edmorley/simplify-editable-test-fixtures
Oct 9, 2026
Merged

edmorley merged 1 commit into
mainfrom
edmorley/simplify-editable-test-fixtures

Conversation

@edmorley

@edmorley edmorley commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Merges the compiled VCS dependency tests into the editable tests, so that each package manager needs one app deploy instead of two, which speeds up the integration tests. The fixtures are renamed and restructured to match the CNB's *_editable_git_compiled fixtures: each now installs the root project in editable mode (using the package manager's default build backend and layout where it has one), plus a compiled VCS dependency (extension.dist) instead of a pure Python one.

The pip fixture is the most comprehensive, since pip has no build backend of its own, so users end up picking from the variety of alternatives. It also covers a flat layout package that only has a setup.py, and hatchling in its default and dev-mode-exact modes. The latter isn't supported yet, since bin/compile doesn't rewrite the paths in its hook module, so the fixture, spec and bin/compile have TODOs for it to be fixed in a later PR.

GUS-W-24373194.

@edmorley edmorley self-assigned this Oct 9, 2026
Merges the compiled VCS dependency tests into the editable tests, so
that each package manager needs one app deploy instead of two, which
speeds up the integration tests. The fixtures are renamed and
restructured to match the CNB's `*_editable_git_compiled` fixtures: each
now installs the root project in editable mode (using the package
manager's default build backend and layout where it has one), plus a
compiled VCS dependency (`extension.dist`) instead of a pure Python one.

The pip fixture is the most comprehensive, since pip has no build
backend of its own, so users end up picking from the variety of
alternatives. It also covers a flat layout package that only has a
`setup.py`, and hatchling in its default and `dev-mode-exact` modes. The
latter isn't supported yet, since `bin/compile` doesn't rewrite the
paths in its hook module, so the fixture, spec and `bin/compile` have
`TODO`s for it to be fixed in a later PR.

GUS-W-24373194.
@edmorley
edmorley force-pushed the edmorley/simplify-editable-test-fixtures branch from cad5ccb to 63c89f0 Compare October 9, 2026 13:03
@edmorley
edmorley marked this pull request as ready for review October 9, 2026 13:06
@edmorley
edmorley requested a review from a team as a code owner October 9, 2026 13:06
@edmorley
edmorley enabled auto-merge (squash) October 9, 2026 13:06
@edmorley
edmorley merged commit ca40f20 into main Oct 9, 2026
10 checks passed
@edmorley
edmorley deleted the edmorley/simplify-editable-test-fixtures branch October 9, 2026 13:13
@heroku-linguist heroku-linguist Bot mentioned this pull request Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants