milton0825 commented on issue #5041: [AIRFLOW-4208][WIP] Replace 
@abstractproperty by @abstractmethod
URL: https://github.com/apache/airflow/pull/5041#issuecomment-482868293
 
 
   Somehow I still see python2.7 usage in the CI.
   ```
   +kubectl logs airflow-8c6c5db65-nrq4w init
   + ./tmp/airflow-test-env-init.sh
   + cd /usr/local/lib/python2.7/dist-packages/airflow
   + airflow initdb
   Traceback (most recent call last):
     File "/usr/local/bin/airflow", line 21, in <module>
       from airflow import configuration
     File "/usr/local/lib/python2.7/dist-packages/airflow/__init__.py", line 
37, in <module>
       from airflow.models import DAG
     File "/usr/local/lib/python2.7/dist-packages/airflow/models/__init__.py", 
line 21, in <module>
       from airflow.models.baseoperator import BaseOperator  # noqa: F401
     File 
"/usr/local/lib/python2.7/dist-packages/airflow/models/baseoperator.py", line 
34, in <module>
       from airflow.models.dag import DAG
     File "/usr/local/lib/python2.7/dist-packages/airflow/models/dag.py", line 
43, in <module>
       from airflow.dag.base_dag import BaseDag
     File "/usr/local/lib/python2.7/dist-packages/airflow/dag/base_dag.py", 
line 28
       class BaseDag(metaclass=ABCMeta):
                              ^
   SyntaxError: invalid syntax
   +'[' 1 = 1 ']'
   ```

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