So let's say we've got a developer who develops an...
# pex
g
So let's say we've got a developer who develops an airflow plugin and drops it into the appropriate path for airflow to find it. But said plugin needs to import modules that exist inside the airflow pex. How much one approach that sanely? IE.
Copy code
[2016-07-29 12:00:51,392] {plugins_manager.py:76} ERROR - Failed to import plugin /opt/airflow/plugins/jdbc_fix_plugin.py
[2016-07-29 12:00:51,394] {plugins_manager.py:75} ERROR - No module named jaydebeapi
Traceback (most recent call last):
  File "/root/.pex/install/airflow-1.7.1.3-py2-none-any.whl.5b7337894333d23579dff75e56e0b101e6a9dca0/airflow-1.7.1.3-py2-none-any.whl/airflow/plugins_manager.py", line 64, in <module>
    m = imp.load_source(namespace, filepath)
  File "/opt/airflow/plugins/jdbc_fix_hook.py", line 10, in <module>
    import jaydebeapi, sys, logging
ImportError: No module named jaydebeapi