You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_Need help?_ This ruleset has support provided by https://aspect.dev.
25
30
26
31
## Differences
27
32
28
33
We think you'll love rules_py because it fixes many issues with rules_python's rule implementations:
29
34
30
35
- The launcher uses the Bash toolchain rather than Python, so we have no dependency on a system interpreter. Fixes:
31
36
-[py_binary with hermetic toolchain requires a system interpreter](https://github.com/bazelbuild/rules_python/issues/691)
32
-
- We don't mess with the Python `sys.path`/`$PYTHONPATH`. Instead we use the standard `site-packages` folder layout produced by `pip_install`. This avoids problems like package naming collisions with built-ins (e.g. `collections`) or where `argparse` comes from a transitive dependency instead. Fixes:
37
+
- We don't mess with the Python `sys.path`/`$PYTHONPATH`. Instead we use the standard `site-packages` folder layout produced by `uv pip install`. This avoids problems like package naming collisions with built-ins (e.g. `collections`) or where `argparse` comes from a transitive dependency instead. Fixes:
33
38
-[Issues with PYTHONPATH resolution in recent python/rules_python versions](https://github.com/bazelbuild/rules_python/issues/1221)
34
39
- We run python in isolated mode so we don't accidentally break out of Bazel's action sandbox. Fixes:
35
40
-[pypi libraries installed to system python are implicitly available to builds](https://github.com/bazelbuild/rules_python/issues/27)
0 commit comments