Title: missing python_requires: v2.28 introduces breaking change for python 3.9 · Issue #860 · googleapis/python-api-core · GitHub
Open Graph Title: missing python_requires: v2.28 introduces breaking change for python 3.9 · Issue #860 · googleapis/python-api-core
X Title: missing python_requires: v2.28 introduces breaking change for python 3.9 · Issue #860 · googleapis/python-api-core
Description: Hi 👋 This PR introduces a call to packages_distributions: python-api-core/google/api_core/_python_version_support.py Line 165 in c97b3a0 module_to_distributions = metadata.packages_distributions() This function was introduced in python 3...
Open Graph Description: Hi 👋 This PR introduces a call to packages_distributions: python-api-core/google/api_core/_python_version_support.py Line 165 in c97b3a0 module_to_distributions = metadata.packages_distributions() ...
X Description: Hi 👋 This PR introduces a call to packages_distributions: python-api-core/google/api_core/_python_version_support.py Line 165 in c97b3a0 module_to_distributions = metadata.packages_distributions() ...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/860
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"missing python_requires: v2.28 introduces breaking change for python 3.9","articleBody":"Hi 👋 \r\n\r\nThis PR introduces a call to `packages_distributions`: https://github.com/googleapis/python-api-core/blob/c97b3a004044ebf8b35c2a7ba97409d7795e11b0/google/api_core/_python_version_support.py#L165 \r\n\r\nThis function was introduced in python 3.10 ([docs](https://docs.python.org/3.14/library/importlib.metadata.html#importlib.metadata.packages_distributions)).\r\n\r\nThis is a breaking change for python 3.9 installing google-api-core `v2.28.*`:\r\n\r\n\u003e An error occurred: module 'importlib.metadata' has no attribute 'packages_distributions'\r\n\r\nCan you bump python_requires to \u003e=3.10 and yank all existing `2.28.*` versions from PyPI?\r\n\r\nUntil yanking is complete, I'm adding `\"google-api-core\u003c2.28;python_version\u003c'3.10\"` to our requirements.\r\n\r\nExample CI failure: https://github.com/piskvorky/smart_open/actions/runs/18954411130/job/54127375199\r\n\r\n_Originally posted by @ddelange in https://github.com/googleapis/python-api-core/issues/832#issuecomment-3470137771_\r\n\r\n ","author":{"url":"https://github.com/ddelange","@type":"Person","name":"ddelange"},"datePublished":"2025-11-07T12:13:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/860/python-api-core/issues/860"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a8b9043c-739b-8483-983b-0e61ceb75aec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 986C:3885D3:1D942F:2AA5DB:6A4DFF13 |
| html-safe-nonce | 23dd8b0d6f11db5dc8c0aaf658f66ac6c4662afc006acb83af0a37afd2eb4eaf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODZDOjM4ODVEMzoxRDk0MkY6MkFBNURCOjZBNERGRjEzIiwidmlzaXRvcl9pZCI6IjIzNDM1MzY4OTgxMTczMzY4NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b37bd4fe7b3cdc9f3be1ad659b724d808ea26211950c361551cf80a159c87f08 |
| hovercard-subject-tag | issue:3600073639 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-api-core/860/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b23a98466b8cc29c59f7811a309a7265002518b632cbdf9f298bc69123890ad/googleapis/python-api-core/issues/860 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b23a98466b8cc29c59f7811a309a7265002518b632cbdf9f298bc69123890ad/googleapis/python-api-core/issues/860 |
| og:image:alt | Hi 👋 This PR introduces a call to packages_distributions: python-api-core/google/api_core/_python_version_support.py Line 165 in c97b3a0 module_to_distributions = metadata.packages_distributions() ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ddelange |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52bde38e24398476f8eb1e0760c81346c6a00812 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width