kishvanchee commented on pull request #11293:
URL: https://github.com/apache/airflow/pull/11293#issuecomment-704216574
I'm not sure how to fix **CI Build / Backport packages (pull_request)**. The
error states
```
Traceback (most recent call last):
File "/import_all_provider_classes.py", line 60, in
import_all_provider_classes
_module = importlib.import_module(module_name)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/usr/local/lib/python3.6/site-packages/airflow/providers/qubole/example_dags/example_qubole.py",
line 24, in <module>
from airflow.operators.dummy import DummyOperator
ModuleNotFoundError: No module named 'airflow.operators.dummy'
```
but this should have failed for imports from other places too right? I don't
see this error popping up in the breeze environment.
```
root@b20475852b92:/opt/airflow# python
Python 3.6.12 (default, Sep 10 2020, 18:03:29)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from airflow.operators.dummy import DummyOperator as d1
>>> from airflow.operators.dummy_operator import DummyOperator as d2
>>> d2.__name__
'DummyOperator'
>>> d1.__name__
'DummyOperator'
```
----------------------------------------------------------------
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]