From e84b10ef0718d379c6983d1df1f70c93ad10f7be Mon Sep 17 00:00:00 2001 From: Shubh Bapna Date: Wed, 25 Sep 2024 16:44:14 -0400 Subject: [PATCH] fix sdist type to be override if provider override is defined Signed-off-by: Shubh Bapna --- src/fromager/sources.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fromager/sources.py b/src/fromager/sources.py index d6978685..258f7593 100644 --- a/src/fromager/sources.py +++ b/src/fromager/sources.py @@ -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"