We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f707c33 commit 91d2f5bCopy full SHA for 91d2f5b
src/scikit_build_core/program_search.py
@@ -2,6 +2,7 @@
2
3
import contextlib
4
import json
5
+import os
6
import shutil
7
import subprocess
8
import sys
@@ -33,7 +34,11 @@ def __dir__() -> list[str]:
33
34
35
36
# Make sure we don't wait forever for programs to respond
-TIMEOUT = 10 if sys.platform.startswith("win") else 5
37
+# CI services can be really slow under load
38
+if os.environ.get("CI", ""):
39
+ TIMEOUT = 20
40
+else:
41
+ TIMEOUT = 10 if sys.platform.startswith("win") else 5
42
43
44
class Program(NamedTuple):
0 commit comments