jscheffl commented on code in PR #53431:
URL: https://github.com/apache/airflow/pull/53431#discussion_r2211203674


##########
providers/standard/src/airflow/providers/standard/utils/python_virtualenv.py:
##########
@@ -56,9 +55,7 @@ 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."""
-    cmd = ["uv", "venv", "--allow-existing", "--seed"]
-    if python_bin is not None:
-        cmd += ["--python", python_bin]
+    cmd = ["uv", "venv", "--allow-existing", "--seed", "--python", python_bin]

Review Comment:
   Rationale here is consistent with the change in line 70 - even though mypy 
did not complaint here.



-- 
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]

Reply via email to