We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6493118 commit 4b03c9fCopy full SHA for 4b03c9f
google/api_core/_python_version_support.py
@@ -151,9 +151,10 @@ def _flatten_message(text: str) -> str:
151
return " ".join(textwrap.dedent(text).strip().split())
152
153
154
-# TODO(https://github.com/googleapis/python-api-core/issues/835): Remove once we
155
-# no longer support Python 3.7
156
-if sys.version_info < (3, 8):
+# TODO(https://github.com/googleapis/python-api-core/issues/835):
+# Remove once we no longer support Python 3.9.
+# `metadata.packages_distributions()` is only supported in Python 3.10 and newer
157
+if sys.version_info < (3, 10):
158
159
def _get_pypi_package_name(module_name): # pragma: NO COVER
160
"""Determine the PyPI package name for a given module name."""
0 commit comments