You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "renzepost (via GitHub)" <gi...@apache.org> on 2023/06/01 08:24:27 UTC

[GitHub] [airflow] renzepost commented on a diff in pull request #31653: Fix deletion of Airflow source dir in virtualenv installation script

renzepost commented on code in PR #31653:
URL: https://github.com/apache/airflow/pull/31653#discussion_r1212782244


##########
scripts/tools/initialize_virtualenv.py:
##########
@@ -112,7 +112,7 @@ def main():
     Setup local virtual environment.
     """
     airflow_home_dir = Path(os.environ.get("AIRFLOW_HOME", Path.home() / "airflow"))
-    airflow_sources = Path(__file__).parents[2]
+    airflow_sources = Path(__file__).parents[2].absolute()

Review Comment:
   Thanks! I've replaced it with `resolve`



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org