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