You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/05 08:07:51 UTC

[GitHub] [airflow] mik-laj opened a new issue #8715: Lack of documentation on the mechanism of loading packages in Python / Airflow

mik-laj opened a new issue #8715:
URL: https://github.com/apache/airflow/issues/8715


   **Description**
   
   A guide is missing to answer the following questions.
   * How does Python load packages? 
      sys.path and [intelligent its content](https://stackoverflow.com/questions/897792/where-is-pythons-sys-path-initialized-from/38403654#38403654)
   * How does Airflow modify this behavior? 
      3 new directories - https://github.com/apache/airflow/issues/8647
   * When and how do you affect the module loading mechanism? PYTHONPATH + Pip packages
   * How to create python package with operators/plugins? Short guide + link to [python guide](https://packaging.python.org/tutorials/packaging-projects/)
   * How to use PYTHONPATH?
   * How do you check the contents of the sys.path variable? - `airflow info` command
   * How to use PYTHONPATH and Docker? Discussion of a real example.
   
   Best regards,
   Kamil
   
   


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

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



[GitHub] [airflow] mik-laj closed issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
mik-laj closed issue #8715:
URL: https://github.com/apache/airflow/issues/8715


   


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



[GitHub] [airflow] potiuk commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-997215742


   I think we can close that Kamil ? 


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



[GitHub] [airflow] mik-laj commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-671087782


   It's related to:
   https://github.com/apache/airflow/issues/9498
   https://github.com/apache/airflow/issues/9507
   So I added this to the Airflow 2.0 milestone


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

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



[GitHub] [airflow] mik-laj commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-672147126


   New file in the root directory - `docs/`


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

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



[GitHub] [airflow] potiuk commented on issue #8715: Documentation on the mechanism of loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-623923039


   Absolutely needed ! Fully agree.


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

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



[GitHub] [airflow] rootcss commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
rootcss commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-672108560


   @mik-laj where do you think we should put this doc? a new file in the root of docs or somewhere else?


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

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



[GitHub] [airflow] mik-laj commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-671088716


   @rootcss Could you please leave a comment so I can assign you to this ticket?


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

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



[GitHub] [airflow] mik-laj commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-671169617


   @rootcss I assigned you to this ticket.


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

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



[GitHub] [airflow] mik-laj edited a comment on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-672147126


   The new file in the root directory - `docs/` sounds good to me.


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

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



[GitHub] [airflow] rootcss commented on issue #8715: Documentation about loading packages in Python / Airflow

Posted by GitBox <gi...@apache.org>.
rootcss commented on issue #8715:
URL: https://github.com/apache/airflow/issues/8715#issuecomment-671142928


   @mik-laj yes, can you assign this issue to me? 


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

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