Skip to content

Commit 5702872

Browse files
authored
Disable build isolation for pip by default. (#38700)
Users can re-enable it by using experiment "pip_use_build_isolation".
1 parent 09a1e60 commit 5702872

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

sdks/python/container/boot.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,12 @@ func launchSDKProcess() error {
190190
experiments := getExperiments(options)
191191
logger.Printf(ctx, "Experiments=%v", experiments)
192192

193-
pipNoBuildIsolation = false
194-
if slices.Contains(experiments, "pip_no_build_isolation") {
195-
pipNoBuildIsolation = true
196-
logger.Printf(ctx, "Build isolation disabled when installing packages with pip")
197-
} else {
193+
pipNoBuildIsolation = true
194+
if slices.Contains(experiments, "pip_use_build_isolation") {
195+
pipNoBuildIsolation = false
198196
logger.Printf(ctx, "Build isolation enabled when installing packages with pip")
197+
} else {
198+
logger.Printf(ctx, "Build isolation disabled when installing packages with pip")
199199
}
200200

201201
// (2) Retrieve and install the staged packages.

0 commit comments

Comments
 (0)