Skip to content

package info: display and resolve via new source: config #1400

Closed

Description

@rd4398

Part of #1294 (Phase 8 of epic #1254). Branch: new-resolver-config.

What needs to happen

Update _resolve_fromager() in src/fromager/commands/package.py:

  1. Display: when pbi.source_resolver is present, show the source: config (provider name, resolves_prebuilt_wheel, min_release_age) instead of / alongside the legacy resolver_dist / download_source fields.
  2. Resolve: the function currently calls overrides.find_and_invoke("get_resolver_provider", ...) directly, bypassing the new config. Switch it to sources.get_source_provider(), which already dispatches on pbi.source_resolver and falls back to the legacy path.

Tests

  • package info on a source:-config package shows the source block and resolves via the configured provider
  • Legacy-config packages display unchanged

Notes

Independent of the other #1294 sub-issues; can be worked on in any order.

Activity

  1. added a commit that references this issue on Nov 2, 2026
    13ed2c8
  2. self-assigned this
    on Nov 2, 2026
  3. added a commit that references this issue on Nov 2, 2026
    c625217
  4. LalatenduMohanty commented on Nov 2, 2026

    @LalatenduMohanty
    Member

    #1407 has merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions