You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(bootstrap): add --multiple-versions flag to bootstrap all matching versions
Add --multiple-versions flag to bootstrap command that enables bootstrapping
all versions matching a requirement specification, rather than only the highest
version. This is useful for creating comprehensive build environments with
multiple versions of the same package.
Key changes:
- Add return_all_versions parameter to BootstrapRequirementResolver.resolve()
with type-safe overloads using @overload decorators
- Modify Bootstrapper.bootstrap() to iterate over all resolved versions when
--multiple-versions flag is enabled
- Implement continue-on-error behavior: failed versions are logged, tracked,
and reported at the end without stopping the bootstrap process
- Add DependencyGraph.remove_dependency() to clean up failed nodes from graph
- Apply recursively to entire dependency chain (not just top-level)
Testing:
- Add 4 unit tests for resolver return_all_versions behavior
- Add unit test for continue-on-error and graph cleanup behavior
- Add e2e test using tomli>=2.0,<2.1 with constraints to verify multiple
versions are bootstrapped successfully
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments