ashb commented on a change in pull request #20049:
URL: https://github.com/apache/airflow/pull/20049#discussion_r763882965
##########
File path: tests/plugins/test_plugins_manager.py
##########
@@ -30,24 +30,14 @@
from tests.test_utils.config import conf_vars
from tests.test_utils.mock_plugins import mock_plugin_manager
-importlib_metadata_string = 'importlib_metadata'
-
-try:
+if sys.version_info[:2] >= (3, 8):
Review comment:
Yeah, someone (i forget who, maybe Martjin Peiters? sp?) recommended the
approach TP says -- always try the third part first, as that API is stable and
predictable.)
--
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]