Abacn opened a new issue, #25966: URL: https://github.com/apache/beam/issues/25966
### What needs to happen? Currently, Python PostCommit use `--sdk_location` to upload the Python SDK subjected to testing to Dataflow. It is found that building the wheels for the SDK is very slow: ``` 2023/03/24 15:31:16 Executing: /usr/local/bin/pip install --disable-pip-version-check /var/opt/google/staged/dataflow_python_sdk.tar[gcp] 2023/03/24 15:31:16 Processing /var/opt/google/staged/dataflow_python_sdk.tar 2023/03/24 15:31:17 Preparing metadata (setup.py): started 2023/03/24 15:31:35 Preparing metadata (setup.py): finished with status 'done' 2023/03/24 15:31:37 Building wheels for collected packages: apache-beam 2023/03/24 15:31:37 Building wheel for apache-beam (setup.py): started 2023/03/24 15:32:42 Building wheel for apache-beam (setup.py): still running... 2023/03/24 15:33:44 Building wheel for apache-beam (setup.py): still running... 2023/03/24 15:34:49 Building wheel for apache-beam (setup.py): still running... 2023/03/24 15:35:04 Building wheel for apache-beam (setup.py): finished with status 'done' 2023/03/24 15:35:04 Successfully built apache-beam 2023/03/24 15:35:04 Installing collected packages: apache-beam 2023/03/24 15:35:07 Successfully installed apache-beam-2.47.0.dev0 ``` it takes 4 minutes to install apache beam from source, where 3 and half minutes is used to build the wheel. It should be able to build a wheel locally, whenever possible (host machine generates manylinux wheel, which is the case of Jenkins). This would cut the running time of Python PostCommit on Dataflow by half. ### Issue Priority Priority: 2 (default / most normal work should be filed as P2) ### Issue Components - [X] Component: Python SDK - [ ] Component: Java SDK - [ ] Component: Go SDK - [ ] Component: Typescript SDK - [ ] Component: IO connector - [ ] Component: Beam examples - [ ] Component: Beam playground - [ ] Component: Beam katas - [ ] Component: Website - [ ] Component: Spark Runner - [ ] Component: Flink Runner - [ ] Component: Samza Runner - [ ] Component: Twister2 Runner - [ ] Component: Hazelcast Jet Runner - [ ] Component: Google Cloud Dataflow Runner -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
