Skip to content

Commit

Permalink
Merge pull request #444 from shubhbapna/fix-sdist-type-override
Browse files Browse the repository at this point in the history
fix sdist type to be override if provider plugin is defined
  • Loading branch information
mergify[bot] authored Sep 25, 2024
2 parents 00370ce + e84b10e commit 3bcfceb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fromager/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def get_source_type(ctx: context.WorkContext, req: Requirement) -> str:
if (
overrides.find_override_method(req.name, "download_source")
or overrides.find_override_method(req.name, "resolve_source")
or overrides.find_override_method(req.name, "get_resolver_provider")
or pbi.download_source_url(resolve_template=False)
):
source_type = "override"
Expand Down

0 comments on commit 3bcfceb

Please sign in to comment.