Skip to content

Commit 520c980

Browse files
committed
docs changes
1 parent f1a68ab commit 520c980

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ END_UNRELEASED_TEMPLATE
102102
* (pypi) Starlark-based evaluation of environment markers (requirements.txt conditionals)
103103
available (not enabled by default) for improved multi-platform build support.
104104
Set the `RULES_PYTHON_ENABLE_PIPSTAR=1` environment variable to enable it.
105+
* (utils) Add a way to run a REPL for any `rules_python` target that returns
106+
a `PyInfo` provider.
105107

106108
{#v0-0-0-removed}
107109
### Removed

docs/repl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Getting a REPL or Interactive Shell
22

33
rules_python provides a REPL to help with debugging and developing. The goal of
4-
the REPL is to present an environment identical to what a `py_binary` creates
4+
the REPL is to present an environment identical to what a {bzl:obj}`py_binary` creates
55
for your code.
66

77
## Usage
@@ -29,7 +29,7 @@ and [Environment Variables](environment-variables) for more settings.
2929
## Importing Python targets
3030

3131
The `//python/bin:repl_dep` command line flag gives the REPL access to a target
32-
that provides the `PyInfo` provider.
32+
that provides the {bzl:obj}`PyInfo` provider.
3333

3434
```console
3535
$ bazel run @rules_python//python/bin:repl --@rules_python//python/bin:repl_dep=@rules_python//tools:wheelmaker

0 commit comments

Comments
 (0)