refactor(deps): one modernizer facade with data-driven tool tables, pyproject conform family (flext-5fxu6.4.15)
Merged
MA
3mo ago+4279+4279+0123456789012345678901234567890123456789-5348-5348-0123456789012345678901234567890123456789
Summary by cubic
Refactors the deps modernizer into one facade with a data-driven tool-table phase, replacing seven per-tool pyproject phases, and removes the obsolete per-tool phase classes from the public API. Also fixes codegen so workspace-root projects render internal flext-* dependencies as bare names instead of direct Git requirements, which was breaking the fleet gen fixed point.
Refactors
FlextInfraToolTablesPhaserenders every config-owned tool table as a direct projection ofconfig.Infra.tooling.- The modernizer implementation lives in
deps/_modernizer;FlextInfraPyprojectModernizerstays as the public facade. pyproject_conform.pybecomes a facade over_utilities/_pyproject, and TOML phase application is nowu.Infra.apply_toml_phases.ProjectRenderContextnow carriesworkspace_context_root; bare names render at the root and standalone members keep direct Git requirements.- Gates share one parse-result finalization helper, and markdown format command builders avoid tuple unpacking.
- Tests use public facades and the new tool-table phase instead of removed per-tool classes.
Migration
- Replace imports of the removed
deps.phases.ensure_*classes withFlextInfraToolTablesPhase. - If you used
FlextInfraTomlPhaseService, switch tou.Infra.apply_toml_phases.