hjtran opened a new issue, #35717: URL: https://github.com/apache/beam/issues/35717
### What happened? When specifying a requirements file in the python SDK, the wheels for the extra packages are staged by default in `TEMPDIR/dataflow-requirements-cache` (we should also update this directory name to something dataflow-agnostic). This directory is not cleaned up, probably so we can keep reusing these wheels between runs. The issue is that we later then stage the entire cache directory, even if some of the wheels arent necessary or used for a workflow. https://github.com/apache/beam/blob/4043c901e99464396a318911a996a2338418e799/sdks/python/apache_beam/runners/portability/stager.py#L162 ### Issue Priority Priority: 2 (default / most bugs 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 YAML - [ ] Component: Beam examples - [ ] Component: Beam playground - [ ] Component: Beam katas - [ ] Component: Website - [ ] Component: Infrastructure - [ ] Component: Spark Runner - [ ] Component: Flink Runner - [ ] Component: Samza Runner - [ ] Component: Twister2 Runner - [ ] Component: Hazelcast Jet Runner - [x] 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: github-unsubscr...@beam.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org