Title: setup.py only reports successful builds if one or more stdlib modules are missing · Issue #93692 · python/cpython · GitHub
Open Graph Title: setup.py only reports successful builds if one or more stdlib modules are missing · Issue #93692 · python/cpython
X Title: setup.py only reports successful builds if one or more stdlib modules are missing · Issue #93692 · python/cpython
Description: "Python build finished successfully!" is only printed if there were missing modules: cpython/setup.py Lines 539 to 547 in cf730b5 if self.missing: print() print("Python build finished successfully!") print("The necessary bits to build th...
Open Graph Description: "Python build finished successfully!" is only printed if there were missing modules: cpython/setup.py Lines 539 to 547 in cf730b5 if self.missing: print() print("Python build finished successfully!...
X Description: "Python build finished successfully!" is only printed if there were missing modules: cpython/setup.py Lines 539 to 547 in cf730b5 if self.missing: print() print("Python build finishe...
Opengraph URL: https://github.com/python/cpython/issues/93692
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"setup.py only reports successful builds if one or more stdlib modules are missing","articleBody":"_\"Python build finished successfully!\"_ is only printed if there were missing modules:\r\n\r\nhttps://github.com/python/cpython/blob/cf730b595eea0460a7305205f7dfb6ecf0346351/setup.py#L539-L547\r\n\r\nEither we print it every time the build succeeds:\r\n\r\n```diff\r\ndiff --git a/setup.py b/setup.py\r\nindex 4c497346e8..e87da57a47 100644\r\n--- a/setup.py\r\n+++ b/setup.py\r\n@@ -538,5 +538,9 @@ def print_three_column(lst):\r\n \r\n- if self.missing:\r\n+ if not self.failed:\r\n print()\r\n print(\"Python build finished successfully!\")\r\n+ print()\r\n+\r\n+ if self.missing:\r\n+ print()\r\n print(\"The necessary bits to build these optional modules were not \"\r\n```\r\n\r\nOr we just remove that line from `setup.py`.\r\n\r\nI'm fine with either.\r\n\r\n_Originally reported by @izumiberat in https://github.com/python/cpython/issues/93659#issuecomment-1152435498_","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2022-06-10T18:35:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/93692/cpython/issues/93692"}
| 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:3fe89458-8dd4-7419-62c2-345cb27b0154 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D018:A74F2:998171:CCF8B2:69697DAF |
| html-safe-nonce | 265c9e740e85cd971b35e8fae57a8ce3dbb168174853cfe31d6a733cc9bbaa4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDE4OkE3NEYyOjk5ODE3MTpDQ0Y4QjI6Njk2OTdEQUYiLCJ2aXNpdG9yX2lkIjoiMzgyNDkwMDc4ODEyNjg0MjI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45c41ef05798914eb6b16d5dc2264ace22cb10fb85f11e040cab625462734f97 |
| hovercard-subject-tag | issue:1267885049 |
| 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/93692/issue_layout |
| twitter:image | https://opengraph.githubassets.com/199b0cd3e032ac821aed60e90f8716c886192d5b5cb290a818eb0a0d52d49e89/python/cpython/issues/93692 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/199b0cd3e032ac821aed60e90f8716c886192d5b5cb290a818eb0a0d52d49e89/python/cpython/issues/93692 |
| og:image:alt | "Python build finished successfully!" is only printed if there were missing modules: cpython/setup.py Lines 539 to 547 in cf730b5 if self.missing: print() print("Python build finished successfully!... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| 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 | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width