This is an automated email from the ASF dual-hosted git repository.
shunping pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 5702872d9ae Disable build isolation for pip by default. (#38700)
5702872d9ae is described below
commit 5702872d9ae64798cc6dc20ab9b7ced46b25d986
Author: Shunping Huang <[email protected]>
AuthorDate: Fri May 29 09:49:01 2026 -0400
Disable build isolation for pip by default. (#38700)
Users can re-enable it by using experiment "pip_use_build_isolation".
---
sdks/python/container/boot.go | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sdks/python/container/boot.go b/sdks/python/container/boot.go
index f5a37c9cca0..82d11dc89cb 100644
--- a/sdks/python/container/boot.go
+++ b/sdks/python/container/boot.go
@@ -190,12 +190,12 @@ func launchSDKProcess() error {
experiments := getExperiments(options)
logger.Printf(ctx, "Experiments=%v", experiments)
- pipNoBuildIsolation = false
- if slices.Contains(experiments, "pip_no_build_isolation") {
- pipNoBuildIsolation = true
- logger.Printf(ctx, "Build isolation disabled when installing
packages with pip")
- } else {
+ pipNoBuildIsolation = true
+ if slices.Contains(experiments, "pip_use_build_isolation") {
+ pipNoBuildIsolation = false
logger.Printf(ctx, "Build isolation enabled when installing
packages with pip")
+ } else {
+ logger.Printf(ctx, "Build isolation disabled when installing
packages with pip")
}
// (2) Retrieve and install the staged packages.