feluelle edited a comment on pull request #8669:
URL: https://github.com/apache/airflow/pull/8669#issuecomment-622402788


   I am also wondering why I get this error when testing the backported version.
   
   ```
   _______________________________________________________ ERROR collecting 
tests/providers/amazon/aws/operators/test_imap_attachment_to_s3_system.py 
_______________________________________________________
   ImportError while importing test module 
'/opt/airflow/tests/providers/amazon/aws/operators/test_imap_attachment_to_s3_system.py'.
   Hint: make sure your test modules/packages have valid Python names.
   Traceback:
   /usr/local/lib/python3.6/site-packages/_pytest/python.py:513: in 
_importtestmodule
       mod = self.fspath.pyimport(ensuresyspath=importmode)
   /usr/local/lib/python3.6/site-packages/py/_path/local.py:701: in pyimport
       __import__(modname)
   /usr/local/lib/python3.6/site-packages/_pytest/assertion/rewrite.py:152: in 
exec_module
       exec(co, module.__dict__)
   
tests/providers/amazon/aws/operators/test_imap_attachment_to_s3_system.py:20: 
in <module>
       from 
airflow.providers.amazon.aws.example_dags.example_imap_attachment_to_s3 import 
S3_DESTINATION_KEY
   E   ModuleNotFoundError: No module named 'airflow.providers'
   ```
   
   2.0.0 works fine.
   
   I ran the prepare backport script `./scripts/ci/ci_prepare_packages.sh 
amazon postgres mysql`.
   
   @turbaszek do you have an idea?
   
   EDIT:
   
   @potiuk do you have any idea? I recreated the whole breeze env i.e. cleaned 
docker (`docker system prune --all`) ..because it now also fails when testing 
the `google_api_to_s3_transfer_system.py` from the other PR in backported 
1.10.10


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