potiuk edited a comment on issue #9789:
URL: https://github.com/apache/airflow/issues/9789#issuecomment-657590804


   It's expected. Why do you want to use mypy in 2.7 in Airflow? 
   
    MyPy is purely a development dependency and it's not installed with Airflow 
when you install it without [devel] extra. Python 2.7 is already past the end 
of life and many tools like MyPy will not work with it any more. In fact MyPy 
is clear about it in their documentation 
https://github.com/python/mypy/blob/v0.3.1/README.md#requirements 
   
   > You need Python 3.2 or later to run mypy
   
   Airflow 1.10 supports Python 2.7, 3.5, 3.6. 3.7 (see 
https://github.com/apache/airflow/blob/master/README.md#requirements) so Python 
3.5 + requirement is expected.
   


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


Reply via email to