mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 14:10:23 +08:00
Update pip install calls in scripts to use uv. And messages to reference current executable (#13597)
This commit is contained in:
+1
-1
@@ -507,7 +507,7 @@ def setup_virtual_environments(distributions: dict[str, PackageDependencies], ar
|
||||
print(colored(f"took {venv_elapsed_time:.2f} seconds", "blue"))
|
||||
|
||||
# STAGE 3: For each {virtual_environment: requirements_set} pairing,
|
||||
# `pip install` the requirements set into the virtual environment
|
||||
# `uv pip install` the requirements set into the virtual environment
|
||||
pip_start_time = time.perf_counter()
|
||||
|
||||
# Limit workers to 10 at a time, since this makes network requests
|
||||
|
||||
+6
-1
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user