Alien2150 opened a new issue #13019:
URL: https://github.com/apache/airflow/issues/13019
**Apache Airflow version**: 1.14
**Kubernetes version (if you are using kubernetes)** (use `kubectl
version`): 1.17
**Environment**:
- **Cloud provider or hardware configuration**: Kubernetes
- **OS** (e.g. from /etc/os-release):
- **Kernel** (e.g. `uname -a`):
- **Install tools**:
- **Others**:
**What happened**:
Plugins will be broken when importlib-metadata is not installed with
python3.8 base image.
**What you expected to happen**:
This is the stack-trace:
```
[2020-12-11 14:12:29,757] {plugins_manager.py:159} ERROR - Failed to import
plugin AirflowPrometheus
│
│ Traceback (most recent call last):
│
│ File
"/home/airflow/.local/lib/python3.8/site-packages/airflow/plugins_manager.py",
line 150, in load_entrypoint_plugins
│
│ plugin_obj.__usable_import_name = entry_point.module
│
│ AttributeError: 'EntryPoint' object has no attribute 'module'
```
**How to reproduce it**:
Put `airflow-exporter==1.3.2` into requirements.txt and start the scheduler.
**Anything else we need to know**:
Already figured out a workaround solution:
https://twitter.com/ApacheAirflow/status/1337415983447814144
----------------------------------------------------------------
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]