Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

setup.py only reports successful builds if one or more stdlib modules are missing #93692

Closed
Labels
3.12only security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error
@erlend-aasland

Description

@erlend-aasland

"Python build finished successfully!" is only printed if there were missing modules:

cpython/setup.py

Lines 539 to 547 incf730b5

ifself.missing:
print()
print("Python build finished successfully!")
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.pyindex 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 "

Or we just remove that line fromsetup.py.

I'm fine with either.

Originally reported by@izumiberat in#93659 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp