fix(--debugger): Ensure that imports or venv_site_package files are propagated for debugger target by shayanhoshyari · Pull Request #3483 · bazel-contrib/rules_python
added 2 commits
December 26, 2025 21:02github-merge-queue bot pushed a commit that referenced this pull request
Dec 28, 2025…ropagated for debugger target (#3483) a94bd0f recently added support for injecting dependencies for easier use of debugger. It allows injecting deps via `--@rules_python//python/config_settings:debugger=<target>`. While the runfiles from `<target>` were inherited in the final binary, the `imports` or `venv_site_packages` were missing. Hence making the debugger target unusable for various corner cases (e.g. when it uses `imports = ...` or when it is coming from pip hub and `venv_site_packages` are on). This PR fixes that, and extends the unit test to include this situation. Fixes: #3481 --------- Co-authored-by: Shayan Hoshyari <hoshyari@adobe.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters