Title: Remove bundled setuptools · Issue #95299 · python/cpython · GitHub
Open Graph Title: Remove bundled setuptools · Issue #95299 · python/cpython
X Title: Remove bundled setuptools · Issue #95299 · python/cpython
Description: Feature or enhancement Remove the bundled setuptools so that ensurepip and python -m venv only installs pip. Context The setup.py install command of setuptools is deprecated. However, in an environment where setuptools is installed but w...
Open Graph Description: Feature or enhancement Remove the bundled setuptools so that ensurepip and python -m venv only installs pip. Context The setup.py install command of setuptools is deprecated. However, in an environ...
X Description: Feature or enhancement Remove the bundled setuptools so that ensurepip and python -m venv only installs pip. Context The setup.py install command of setuptools is deprecated. However, in an environ...
Opengraph URL: https://github.com/python/cpython/issues/95299
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove bundled setuptools","articleBody":"# Feature or enhancement\r\n\r\nRemove the bundled setuptools so that `ensurepip` and `python -m venv` only installs pip.\r\n\r\n# Context\r\n\r\nThe `setup.py install` command of `setuptools` is deprecated.\r\n\r\nHowever, in an environment where `setuptools` is installed but `wheel` is not (such as one created with `python -m venv`), pip falls back on running the deprecated and non-standard `setup.py install`.\r\n\r\nSince version 22.1 pip works correctly by default in environments where `setuptools` is not installed, by enabling its PEP 517 mode automatically, leading to unsurprising installations in most cases.\r\n\r\nSo, in order to progressively expose more users to standard-based installation workflows, we (the pip team) would like that virtual environments are created without `setuptools` by default.\r\n\r\nUsers faced with failing installations following this change (likely due to packages with customized `setup.py` that do not support building a wheel) can easily `pip install setuptools` to solve the issue.\r\n\r\n# Previous discussion\r\n\r\nhttps://github.com/pypa/pip/issues/8102#issuecomment-1195566597 and following comments has some more context.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-101039\n* gh-103316\n* gh-103613\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sbidoul","@type":"Person","name":"sbidoul"},"datePublished":"2022-07-26T20:37:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/95299/cpython/issues/95299"}
| 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:dac6b529-859c-9faf-ae21-2d21516c123c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED00:212C07:A9B281:EE8E07:696A5627 |
| html-safe-nonce | 617ee64c240620af9f02c25976c23e3cde19cc88609327935b8af665864ee2a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDAwOjIxMkMwNzpBOUIyODE6RUU4RTA3OjY5NkE1NjI3IiwidmlzaXRvcl9pZCI6IjU2NTQwNzI4NjkyNDMyMTMzNTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3cefe34221dcb755d2b4a2a7ed6b7b0dbcc5d2ad9bf953b279752514c043539e |
| hovercard-subject-tag | issue:1318727628 |
| 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/python/cpython/95299/issue_layout |
| twitter:image | https://opengraph.githubassets.com/21cd83c408fe2c7270ed86af909f5acf286a097dc254a180638e25e6b70ca108/python/cpython/issues/95299 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/21cd83c408fe2c7270ed86af909f5acf286a097dc254a180638e25e6b70ca108/python/cpython/issues/95299 |
| og:image:alt | Feature or enhancement Remove the bundled setuptools so that ensurepip and python -m venv only installs pip. Context The setup.py install command of setuptools is deprecated. However, in an environ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sbidoul |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width