Title: Remove unused setuptools runtime dependency · Issue #338 · googleapis/python-api-core · GitHub
Open Graph Title: Remove unused setuptools runtime dependency · Issue #338 · googleapis/python-api-core
X Title: Remove unused setuptools runtime dependency · Issue #338 · googleapis/python-api-core
Description: Problem Specifically for my use-case, I'm trying to remove setuptools from my application dependencies (so I can use pip-tools with pip install --no-deps, as per pip's recommendation) Suggested solution Remove setuptools requirement from...
Open Graph Description: Problem Specifically for my use-case, I'm trying to remove setuptools from my application dependencies (so I can use pip-tools with pip install --no-deps, as per pip's recommendation) Suggested sol...
X Description: Problem Specifically for my use-case, I'm trying to remove setuptools from my application dependencies (so I can use pip-tools with pip install --no-deps, as per pip's recommendation) Sugge...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/338
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove unused setuptools runtime dependency","articleBody":"### Problem\r\nSpecifically for my use-case, I'm trying to remove `setuptools` from my application dependencies (so I can use [`pip-tools`](https://pypi.org/project/pip-tools/1.8.0/) with [`pip install --no-deps`](https://pip.pypa.io/en/stable/cli/pip_install/#install-no-deps), as per [pip's recommendation](https://pip.pypa.io/en/stable/topics/repeatable-installs/))\r\n\r\n### Suggested solution\r\nRemove [setuptools requirement](https://github.com/googleapis/python-api-core/blob/ef6f0fcfdfe771172056e35e3c990998b3b00416/setup.py#L36) from install_requires\r\n\r\n### Alternative solutions\r\nFor my use, use `pip-tools --allow-unsafe`, or `pip install` without `--no-deps`, but this doesn't solve the underlying issue\r\n\r\n### Additional context\r\nSetuptools is only used in the `google-api-core` package during build-time (as the [legacy](https://pip.pypa.io/en/stable/reference/build-system/setup-py/) build backend), and not during runtime (a [repository search](https://github.com/googleapis/python-api-core/search?q=setuptools) confirms this)\r\n\r\nRelated issues:\r\n* googleapis/google-auth-library-python#595 (resolved by googleapis/google-auth-library-python#913)\r\n* #325","author":{"url":"https://github.com/EpicWink","@type":"Person","name":"EpicWink"},"datePublished":"2022-02-02T04:51:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/338/python-api-core/issues/338"}
| 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:8c9492f5-570e-4291-9d4e-5d2b332b7bea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0D4:216A08:9A01B4:D0A1A8:6A4DDC5B |
| html-safe-nonce | 68bc43cf8a29b5dec788852ecf3379658f45ab58d259b9535d07a916c92d20e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEQ0OjIxNkEwODo5QTAxQjQ6RDBBMUE4OjZBNEREQzVCIiwidmlzaXRvcl9pZCI6IjE4MjIyMjY4MTE1NDQ1MjU5MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7dabf3dd9bbbf9c30e006c92646e784725cfd425992ee46b6dc47cd28e7af100 |
| hovercard-subject-tag | issue:1121506526 |
| 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/338/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36d66b8bbd6e83f00063dca95afd3b9c530c3015df9b63ba27d923830b753528/googleapis/python-api-core/issues/338 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36d66b8bbd6e83f00063dca95afd3b9c530c3015df9b63ba27d923830b753528/googleapis/python-api-core/issues/338 |
| og:image:alt | Problem Specifically for my use-case, I'm trying to remove setuptools from my application dependencies (so I can use pip-tools with pip install --no-deps, as per pip's recommendation) Suggested sol... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EpicWink |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width