Taragolis commented on issue #28679:
URL: https://github.com/apache/airflow/issues/28679#issuecomment-1370663222

   #28555: This only affect CI and it pass
   
   #28507, #27775,  #27858: Working fine
   
   #28279: Check on AWS environment, work fine
   
   #28505 - @potiuk I've found that  we try to import `numpy` before `pandas` 
we got ModuleNotFoundError raised instead of 
AirflowOptionalProviderFeatureException. `numpy` is a core dependency for 
`pandas` and it is not a dependency of airflow itself.  Check on slim image of 
airflow 2.3.4, 2.4.3 and 2.5.0. It is not critical - no raise any error during 
airflow services starts
   
   
https://github.com/apache/airflow/blob/8cb69bb05417075adebef19cd28b2409dbba3f33/airflow/providers/amazon/aws/transfers/sql_to_s3.py#L25-L32
   
   ```console
   
     File "/opt/airflow/dags/example_aws.py", line 5, in <module>
       from airflow.providers.amazon.aws.transfers.sql_to_s3 import 
SqlToS3Operator
     File 
"/home/airflow/.local/lib/python3.9/site-packages/airflow/providers/amazon/aws/transfers/sql_to_s3.py",
 line 25, in <module>
       import numpy as np
   ModuleNotFoundError: No module named 'numpy'
   ```
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to