File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ END_UNRELEASED_TEMPLATE
9393 ([ #3099 ] ( https://github.com/bazel-contrib/rules_python/issues/3099 ) ).
9494* (pypi) Expose pypi packages only common to all Python versions in ` all_requirements `
9595 ([ #2921 ] ( https://github.com/bazel-contrib/rules_python/issues/2921 ) ).
96+ * (repl) Normalize the path for the ` REPL ` stub to make it possible to use the
97+ default stub template from outside ` rules_python ` ({gh-issue}` 3101 ` ).
9698
9799{#v0-0-0-added}
98100### Added
Original file line number Diff line number Diff line change 55
66from python .runfiles import runfiles
77
8- STUB_PATH = "%stub_path%"
8+ # runfiles.py will reject paths which aren't normalized, which can happen when the REPL rules are
9+ # used from a remote module.
10+ STUB_PATH = os .path .normpath ("%stub_path%" )
911
1012
1113def start_repl ():
You can’t perform that action at this time.
0 commit comments