Update pip install calls in scripts to use uv. And messages to reference current executable (#13597)

This commit is contained in:
Avasam
2025-03-27 09:55:38 +01:00
committed by GitHub
parent 4fff7b7d01
commit 11929debd4
4 changed files with 19 additions and 10 deletions
+6 -1
View File
@@ -124,7 +124,12 @@ def main() -> None:
print("\nRunning pytype...")
pytype_result = subprocess.run([sys.executable, "tests/pytype_test.py", path])
else:
print(colored("\nSkipping pytype on Windows. You need to install it first: `pip install pytype`.", "yellow"))
print(
colored(
f"\nSkipping pytype on Windows. You need to install it first: `{sys.executable} -m pip install pytype` .",
"yellow",
)
)
cases_path = test_cases_path(stub if folder == "stubs" else "stdlib")
if not cases_path.exists():