check for extra-index-url to determine special deps

This commit is contained in:
Ashwin Bharambe 2025-08-26 13:31:33 -07:00
parent 360522969c
commit bdf932ebd3
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ def get_provider_dependencies(
normal_deps = []
special_deps = []
for package in deps:
if "--no-deps" in package or "--index-url" in package:
if any(f in package for f in ["--no-deps", "--index-url", "--extra-index-url"]):
special_deps.append(package)
else:
normal_deps.append(package)