mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-06 11:58:02 +00:00
Display sys.executable
names in check system jobs (#14656)
Cherry-picked from https://github.com/astral-sh/uv/pull/14652 This is useful for debugging
This commit is contained in:
parent
eaff96e5dc
commit
1f49fbd53c
1 changed files with 4 additions and 2 deletions
|
@ -24,7 +24,7 @@ def install_package(*, uv: str, package: str):
|
|||
check=True,
|
||||
)
|
||||
|
||||
logging.info(f"Checking that `{package}` can be imported.")
|
||||
logging.info(f"Checking that `{package}` can be imported with `{sys.executable}`.")
|
||||
code = subprocess.run(
|
||||
[sys.executable, "-c", f"import {package}"],
|
||||
cwd=temp_dir,
|
||||
|
@ -82,7 +82,9 @@ if __name__ == "__main__":
|
|||
)
|
||||
|
||||
# Ensure that the package (`pylint`) is installed.
|
||||
logging.info("Checking that `pylint` is installed.")
|
||||
logging.info(
|
||||
f"Checking that `pylint` is installed with `{sys.executable} -m pip`."
|
||||
)
|
||||
code = subprocess.run(
|
||||
[sys.executable, "-m", "pip", "show", "pylint"],
|
||||
cwd=temp_dir,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue