Don't use isolated builds when building an sdist for a pipeline package supplied in --setup_file option. #31070
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Starting from Apache Beam 2.52.0, building a pipeline package provided in the
--setup_file
pipeline option happens inside an isolated build environment, which requires downloadingsetuptools >= 40.8.0
at pipeline submission time.Using isolated builds requires internet connection, which might otherwise not be necessary and not available in some scenarios.
This PR will fix the issue staring from Beam 2.56.0. Affected users could work around the issue by either:
--sdk_container_image
pipeline option or by building the package manually and passing it using the--extra_package
option instead of using the--setup_file
pipeline option.