potiuk commented on code in PR #54262:
URL: https://github.com/apache/airflow/pull/54262#discussion_r2262509558
##########
providers/standard/src/airflow/providers/standard/utils/python_virtualenv.py:
##########
@@ -55,6 +56,13 @@ def _use_uv() -> bool:
def _generate_uv_cmd(tmp_dir: str, python_bin: str, system_site_packages:
bool) -> list[str]:
"""Build the command to install the venv via UV."""
+ if python_bin == "python" or python_bin == "python3":
Review Comment:
Shoudl we only print the warning IF it is not found on the path (we could
run shutil.which()
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]