Skip to content

Commit 4aec1ea

Browse files
committed
Strict failure on missing dependencies, too
1 parent f77e1ff commit 4aec1ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,9 @@ def print_three_column(lst):
665665
print("Custom linker flags may require --with-openssl-rpath=auto")
666666
print()
667667

668-
if os.environ.get("PYTHONSTRICTEXTENSIONBUILD") and (self.failed or self.failed_on_import):
668+
if os.environ.get("PYTHONSTRICTEXTENSIONBUILD") and (
669+
self.failed or self.failed_on_import or self.missing
670+
):
669671
raise RuntimeError("Failed to build some stdlib modules")
670672

671673
def build_extension(self, ext):

0 commit comments

Comments
 (0)