Was trying to install apache-airflow with the latest requirements and version 25.5.0 of structlog was installed but then the following error happen:
Error:
from structlog.dev import ConsoleRenderer, Styles
ImportError: cannot import name 'Styles' from 'structlog.dev'
More context:
In version 25.4.0 of structlog in dev.py line 129 I see: Styles = Union[_Styles, Type[_Styles]]
In version 25.5.0 this looks like it was removed.