Repository navigation
Remove the polyfill dependency - #20
Merged
Merged
Conversation
grouville
force-pushed
the
polyfill-removal
branch
from
August 13, 2026 02:31
280fa80 to
47b474c
Compare
grouville
force-pushed
the
polyfill-removal
branch
from
August 14, 2026 07:52
47b474c to
5f3814d
Compare
Pytest used dagger/polyfill to find every marked project below the current directory plus the nearest enclosing project. Workspace.findRoots now provides that policy directly. Switch discovery to the native API, remove the polyfill dependency, and bump the engine requirement to v1.0.0-beta.10, the first release that ships findRoots. The marker set and the vendored-tree exclusions are this module's own policy rather than the engine's, so discoveryCheck now pins the exclusions too, and the discovery doc names the native API instead of the polyfill. Signed-off-by: Guillaume de Rouville <[email protected]> Signed-off-by: Yves Brissaud <[email protected]>
eunomie
force-pushed
the
polyfill-removal
branch
from
August 21, 2026 08:31
5f3814d to
d11851f
Compare
eunomie
marked this pull request as ready for review
August 25, 2026 09:48
eunomie
approved these changes
Aug 25, 2026
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.
Pytest no longer needs
dagger/polyfillfor project discovery.Workspace.findRootsnow provides the intended policy directly: find projects below the current directory, or the nearest enclosing project when Dagger starts inside one. The Pytest execution path is unchanged.The marker set (
pytest.ini,pyproject.toml,tox.ini,setup.cfg) and the vendored-tree exclusions are this module's own policy rather than the engine's, sodiscoveryChecknow pins the exclusions as well as the cwd-relative shape, anddocs/cwd-aware-discovery.mdnames the native API instead of the polyfill.engineVersionmoves tov1.0.0-beta.10, the first release that shipsfindRoots.Test
dagger check 'pytest:*'Verified against a
v1.0.0-beta.10engine and CLI. The vendored-tree assertion was checked against its negative: dropping theexcludeargument makesdiscoveryCheckfail with.., app/.venv, app.Workspace.findRootslanded in dagger/dagger#13854 and is available fromv1.0.0-beta.10onward.