dstandish commented on issue #5857: [AIRFLOW-5251] add missing 
typing-extensions dep for py37
URL: https://github.com/apache/airflow/pull/5857#issuecomment-546574664
 
 
   It seems this may be causing a problem with alembic.  Since you run alembic 
from `<root>/airflow` directory, when it tries to import `typing_extensions`, 
it then tries to open `typing`, which resolves to this typing module and not 
the actual one.
   
   That's probably confusing, but basically if I run `alembic revision -m 
"something"` I get import error from tying module.
   
   If I run from repo root (specifying config file and changing 
`script_location` I don't get this error.  (i get `ERROR - Multiple heads are 
present;`)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to