Title: Remove dependency on `six` · Issue #15845 · googleapis/google-cloud-python · GitHub
Open Graph Title: Remove dependency on `six` · Issue #15845 · googleapis/google-cloud-python
X Title: Remove dependency on `six` · Issue #15845 · googleapis/google-cloud-python
Description: Describe the solution you'd like We added a dependency on six in googleapis/python-ndb#912 because without it, importing the module fails. But it's only needed from the days when we supported Python 2.7 (which we no longer do) and so we'...
Open Graph Description: Describe the solution you'd like We added a dependency on six in googleapis/python-ndb#912 because without it, importing the module fails. But it's only needed from the days when we supported Pytho...
X Description: Describe the solution you'd like We added a dependency on six in googleapis/python-ndb#912 because without it, importing the module fails. But it's only needed from the days when we support...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/15845
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove dependency on `six`","articleBody":" **Describe the solution you'd like**\r\nWe added a dependency on `six` in googleapis/python-ndb#912 because without it, importing the module fails. But it's only needed from the days when we supported Python 2.7 (which we no longer do) and so we'd rather get rid of it.\r\n\r\nThis will require both:\r\n\r\na) removing it from setup.py and the testing constraints files\r\nb) Rewriting all code that imports `six`\r\n\r\nThe latter can likely be accomplished in many cases by inlining the definitions and removing anything that only works/is needed on Python 2\r\n\r\n **Additional context**\r\n\r\nSee also googleapis/python-ndb#911 where it was first noticed that we had an undeclared dependency\r\n","author":{"url":"https://github.com/bw-yuhogg","@type":"Person","name":"bw-yuhogg"},"datePublished":"2023-09-14T16:32:52Z","url":"https://github.com/googleapis/google-cloud-python/issues/15845"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:76b28623-5980-6783-7f03-5f914d9e2b14 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E254:2A087:D7160C:120CF2B:6B0055F0 |
| html-safe-nonce | a3f9c21d1fa7168bc88ee4b7c9175419b751bc31457befc85575e51c5cd2bb52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjU0OjJBMDg3OkQ3MTYwQzoxMjBDRjJCOjZCMDA1NUYwIiwidmlzaXRvcl9pZCI6IjM5MjIzNTYxMjU4MzU0ODI2MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4282f235674f95719da11f3b7b0430d4b15d7b15bbe28152c90f4985245ba5ee |
| hovercard-subject-tag | issue:4011528093 |
| 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/google-cloud-python/15845/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b450a56b0143d787996b06dc93458d89076b84f97f1b187f607750a5eaf106b1/googleapis/google-cloud-python/issues/15845 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b450a56b0143d787996b06dc93458d89076b84f97f1b187f607750a5eaf106b1/googleapis/google-cloud-python/issues/15845 |
| og:image:alt | Describe the solution you'd like We added a dependency on six in googleapis/python-ndb#912 because without it, importing the module fails. But it's only needed from the days when we supported Pytho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bw-yuhogg |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width