Title: Release 2.3.1 wheel includes broken code · Issue #323 · googleapis/python-api-core · GitHub
Open Graph Title: Release 2.3.1 wheel includes broken code · Issue #323 · googleapis/python-api-core
X Title: Release 2.3.1 wheel includes broken code · Issue #323 · googleapis/python-api-core
Description: The google_api_core-2.3.1-py2.py3-none-any.whl file from PyPI includes what appears to be a patch failure: 13059 12-15-2021 16:16 google/api_core/retry_BACKUP_3939795.py 12781 12-15-2021 16:16 google/api_core/retry_BASE_3939795.py 12770 ...
Open Graph Description: The google_api_core-2.3.1-py2.py3-none-any.whl file from PyPI includes what appears to be a patch failure: 13059 12-15-2021 16:16 google/api_core/retry_BACKUP_3939795.py 12781 12-15-2021 16:16 goog...
X Description: The google_api_core-2.3.1-py2.py3-none-any.whl file from PyPI includes what appears to be a patch failure: 13059 12-15-2021 16:16 google/api_core/retry_BACKUP_3939795.py 12781 12-15-2021 16:16 goog...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/323
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Release 2.3.1 wheel includes broken code","articleBody":"The `google_api_core-2.3.1-py2.py3-none-any.whl` file from PyPI includes what appears to be a patch failure:\r\n\r\n```\r\n 13059 12-15-2021 16:16 google/api_core/retry_BACKUP_3939795.py\r\n 12781 12-15-2021 16:16 google/api_core/retry_BASE_3939795.py\r\n 12770 12-15-2021 16:16 google/api_core/retry_LOCAL_3939795.py\r\n 12786 12-15-2021 16:16 google/api_core/retry_REMOTE_3939795.py\r\n```\r\n\r\nThis is causing my Cloud Function build to fail (log below).\r\n\r\n#### Environment details\r\n\r\n - OS type and version: Google Cloud Build environment and local Linux (NixOS 21.05)\r\n - Python version: 3.9.9\r\n - pip version: 21.2.4\r\n - `google-api-core` version: 2.3.1\r\n\r\n#### Steps to reproduce\r\n\r\n 1. Try to deploy a Cloud Function with `google-api-core` in the dependency tree, eg. via a dependency on `google-cloud-aiplatform` in `requirements.txt`.\r\n 2. Look Cloud Logs and see build failure.\r\n\r\n#### Cloud Build log\r\n```\r\nBuild failed: *** Error compiling './pip/google/api_core/retry_BACKUP_3939795.py'...\r\nSorry: IndentationError: expected an indented block (retry_BACKUP_3939795.py, line 204)\r\n```\r\n\r\nCurrent workaround is adding `google-api-core==2.3.0` to `requirements.txt`.\r\n\r\nRef #319.","author":{"url":"https://github.com/rhys-adams","@type":"Person","name":"rhys-adams"},"datePublished":"2021-12-16T02:00:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/323/python-api-core/issues/323"}
| 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:0a4b0d4e-94c8-11de-abfb-c1f4e9073609 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAE4:49C5:F3D5B:1636ED:6A4DFB32 |
| html-safe-nonce | 7ae897393e477d3f690afec198ca418c493d5cf22ee354f958da27872a3f2588 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUU0OjQ5QzU6RjNENUI6MTYzNkVEOjZBNERGQjMyIiwidmlzaXRvcl9pZCI6IjY0NjAwODE0OTQ0NzU3OTkzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ed14207570cd79e1316591818f2c94ea8a99e2e03f7c6a510ff251eff1adb96e |
| hovercard-subject-tag | issue:1081688498 |
| 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/323/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff6f2d804f891631919adf8fa8d61a79efb7efce08a9b7dc4c006866d80ef5a0/googleapis/python-api-core/issues/323 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff6f2d804f891631919adf8fa8d61a79efb7efce08a9b7dc4c006866d80ef5a0/googleapis/python-api-core/issues/323 |
| og:image:alt | The google_api_core-2.3.1-py2.py3-none-any.whl file from PyPI includes what appears to be a patch failure: 13059 12-15-2021 16:16 google/api_core/retry_BACKUP_3939795.py 12781 12-15-2021 16:16 goog... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rhys-adams |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| 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 | 4314b1df11fa8a565684f3a72dc971e3785da365 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width