Skip to content

Commit c19da83

Browse files
committed
add migration
1 parent b45d79d commit c19da83

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ artifact or a version fetched from the internet, run this from this
3030
directory:
3131

3232
```sh
33-
OVERRIDE="--override_repository=rules_py=$(pwd)/rules_py"
33+
OVERRIDE="--override_repository=aspect_rules_py=$(pwd)/rules_py"
3434
echo "common $OVERRIDE" >> ~/.bazelrc
3535
```
3636

37-
This means that any usage of `@rules_py` on your system will point to this folder.
37+
This means that any usage of `@aspect_rules_py` on your system will point to this folder.
3838

3939
## Releasing
4040

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ However we try to maintain compatibility with rules_python's rules for most use
1414
| toolchain: fetch hermetic interpreter | rules_python | rules_python |
1515
| pip.parse: fetch and install deps from pypi | rules_python | rules_python |
1616
| gazelle: generate BUILD files | rules_python | [`aspect configure`] |
17-
| rules: BUILD file UI | rules_python | **rules_py** |
17+
| rules: user-facing implementations | rules_python | **rules_py** |
18+
19+
Watch our video series for a quick tutorial on how rules_py makes it easy to do Python with Bazel:
20+
[![youtube playlist](https://i.ytimg.com/vi/Ms9qX0Yyn0s/hqdefault.jpg)](https://www.youtube.com/playlist?list=PLLU28e_DRwdu46fldnYzyFYvSJLjVFICd)
1821

1922
_Need help?_ This ruleset has support provided by https://aspect.dev.
2023

@@ -33,8 +36,8 @@ We think you'll love rules_py because it fixes many issues with rules_python's r
3336
- [sys.path[0] breaks out of runfile tree.](https://github.com/bazelbuild/rules_python/issues/382)
3437
- [User site-packages directory should be ignored](https://github.com/bazelbuild/rules_python/issues/1059)
3538
- We create a python-idiomatic virtualenv to run actions, which means better compatibility with userland implementations of [importlib](https://docs.python.org/3/library/importlib.html).
36-
- Thanks to the virtualenv, you can open the project in an editor like PyCharm and have working auto-complete, jump-to-definition, etc. Fixes:
37-
- [Smooth IDE support for python_rules](https://github.com/bazelbuild/rules_python/issues/1401)
39+
- Thanks to the virtualenv, you can open the project in an editor like PyCharm or VSCode and have working auto-complete, jump-to-definition, etc.
40+
- Fixes [Smooth IDE support for python_rules](https://github.com/bazelbuild/rules_python/issues/1401)
3841

3942
> [!NOTE]
4043
> What about the "starlarkification" effort in rules_python?

docs/migrating.md

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)