fix(deps): rebind ensure_pyright to the canonical toml-phases owner

Closed
MA
3mo ago
+5-3

The #761 modernizer-facade refactor deleted deps/toml_phase.py but left ensure_pyright importing FlextInfraTomlPhaseService — every gen conform failed at import (ModuleNotFoundError: flext_infra.deps.toml_phase). Rebinds both call sites to the canonical FlextInfraUtilitiesPyprojectTomlPhases.apply_toml_phases (identical payload semantics). Bead: flext-puvml.


Summary by cubic

Rebinds ensure_pyright's TOML phase calls to the canonical toml-phases owner so conform imports no longer fail.

  • The old import pointed at the deleted FlextInfraTomlPhaseService and raised ModuleNotFoundError at import time.
  • Both call sites now use FlextInfraUtilitiesPyprojectTomlPhases.apply_toml_phases with identical payload semantics.