potiuk commented on code in PR #38366: URL: https://github.com/apache/airflow/pull/38366#discussion_r1537426133
########## airflow/utils/docs.py: ########## @@ -16,10 +16,12 @@ # under the License. from __future__ import annotations -try: - import importlib_metadata -except ImportError: - from importlib import metadata as importlib_metadata # type: ignore[no-redef] +import sys + +if sys.version_info >= (3, 10): + from importlib import metadata Review Comment: Any more comments ? Or should we merge it for 2.9? -- 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]
