You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setup.py only reports successful builds if one or more stdlib modules are missing #93692
print("The necessary bits to build these optional modules were not "
"found:")
print_three_column(self.missing)
print("To find the necessary bits, look in setup.py in"
" detect_modules() for the module's name.")
print()
Either we print it every time the build succeeds:
diff --git a/setup.py b/setup.py
index 4c497346e8..e87da57a47 100644
--- a/setup.py+++ b/setup.py@@ -538,5 +538,9 @@ def print_three_column(lst):
- if self.missing:+ if not self.failed:
print()
print("Python build finished successfully!")
+ print()++ if self.missing:+ print()
print("The necessary bits to build these optional modules were not "
Activity
erlend-aasland commentedon Jun 10, 2022
cc. @tiran
erlend-aasland commentedon Jun 10, 2022
Come to think of it, we might want to adjust the "To find the necessary bits, look in setup.py in detect_modules() for the module's name." also.
pythongh-93692: setup.py now reports successful builds if the build s…
gh-93692: remove "build finished successfully" message from setup.py (#…
pythongh-93692: remove "build finished successfully" message from set…
pythongh-93692: remove "build finished successfully" message from set…
gh-93692: remove "build finished successfully" message from setup.py (G…
gh-93692: remove "build finished successfully" message from setup.py (G…
Revert 30935 defer bpo45162 to 312 (#94285)