This is an automated email from the ASF dual-hosted git repository.

tvalentyn 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 718af0d7652 Don't use isolated builds when building an sdist for a 
pipeline package supplied in --setup_file option. (#31070)
718af0d7652 is described below

commit 718af0d76528a8b6e6d5dcc99eb3979988960252
Author: tvalentyn <[email protected]>
AuthorDate: Mon Apr 22 14:16:16 2024 -0700

    Don't use isolated builds when building an sdist for a pipeline package 
supplied in --setup_file option. (#31070)
---
 sdks/python/apache_beam/runners/portability/stager.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sdks/python/apache_beam/runners/portability/stager.py 
b/sdks/python/apache_beam/runners/portability/stager.py
index f6207d80a9d..48dabe18aa3 100644
--- a/sdks/python/apache_beam/runners/portability/stager.py
+++ b/sdks/python/apache_beam/runners/portability/stager.py
@@ -791,6 +791,7 @@ class Stager(object):
               Stager._get_python_executable(),
               '-m',
               'build',
+              '--no-isolation',  # Otherwise, we need internet access to PyPI.
               '--sdist',
               '--outdir',
               temp_dir,

Reply via email to