You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "drajguru (via GitHub)" <gi...@apache.org> on 2024/02/27 00:31:43 UTC

[PR] Wrap AIRFLOW_HOME env var lookup in Path [airflow]

drajguru opened a new pull request, #37733:
URL: https://github.com/apache/airflow/pull/37733

   When testing the change with AIRFLOW_HOME env var set.
   related: #37697 
   
   ❯ breeze cleanup                        
   Removing cache of parameters, and cleans up docker cache
   Removing unused networks
   
   Are you sure with the removal of unused docker networks? 
   Press y/N/q: 
   Pruning docker images
   
   Are you sure with the removal of docker images? 
   Press y/N/q: 
   Removing build cache dir /home/dylanr/code/airflow/.build
   
   Are you sure with the removal? 
   Press y/N/q: 
   Uninstalling airflow and removing configuration
   
   Are you sure with the uninstall / remove? 
   Press y/N/q: y
   Traceback (most recent call last):
     File "/home/dylanr/.local/bin/breeze", line 8, in <module>
       sys.exit(main())
     File "/home/dylanr/.local/share/pipx/venvs/apache-airflow-breeze/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
       return self.main(*args, **kwargs)
     File "/home/dylanr/.local/share/pipx/venvs/apache-airflow-breeze/lib/python3.10/site-packages/rich_click/rich_command.py", line 126, in main
       rv = self.invoke(ctx)
     File "/home/dylanr/.local/share/pipx/venvs/apache-airflow-breeze/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
     File "/home/dylanr/.local/share/pipx/venvs/apache-airflow-breeze/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
       return ctx.invoke(self.callback, **ctx.params)
     File "/home/dylanr/.local/share/pipx/venvs/apache-airflow-breeze/lib/python3.10/site-packages/click/core.py", line 783, in invoke
       return __callback(*args, **kwargs)
     File "/home/dylanr/code/airflow/dev/breeze/src/airflow_breeze/commands/main_command.py", line 296, in cleanup
       AIRFLOW_HOME_DIR.mkdir(exist_ok=True, parents=True)
   AttributeError: 'str' object has no attribute 'mkdir'
   
   
   
   


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


Re: [PR] Wrap AIRFLOW_HOME env var lookup in Path [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #37733:
URL: https://github.com/apache/airflow/pull/37733


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


Re: [PR] Wrap AIRFLOW_HOME env var lookup in Path [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #37733:
URL: https://github.com/apache/airflow/pull/37733#issuecomment-1966476318

   I just rebased it for. You. whenever you see unrelated issues, and you are behind latest main, first thing to do is to rebase your PR.


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