rules_python
rules_python copied to clipboard
Bazel Python Rules
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3. Release notes Sourced from jinja2's releases. 3.1.3 This is a fix release for the 3.1.x feature branch. Fix for GHSA-h5c8-rqwp-cp95. You are affected if...
# π bug report This is the rules_python issue for https://github.com/bazelbuild/bazel/issues/18128 ### Affected Rule Import the runfiles library via the `@rules_python//python/runfiles` depending as `import rules_python.python.runfiles` ### Is this a regression?...
# π feature request ### Description I would love `rules_python` to expose a library similar to [@rules_rust//util/label](https://github.com/bazelbuild/rules_rust/blob/0.32.0/util/label/label.rs) which defines a validated representation of a [Label](https://bazel.build/rules/lib/builtins/Label) for users to use in...
PR Instructions/requirements * Title uses `type: description` format. See CONTRIBUTING.md for types. * Common types are: build, docs, feat, fix, refactor, revert, test * Update `CHANGELOG.md` as applicable * Breaking...
When using Python 3.10 or earlier, the first `sys.path` entry is the directory containing the script. This can result in modules being loaded from the source root rather than the...
My default expectation would be that the keys to the `annotations` dictionary passed to `pip_parse` would use the `normalize_name(...)` convention, as is used elsewhere in the API. However, this does...
# π bug report ### Affected Rule I don't know. This is related to packaging the `.dll`s and `.so`s of python requirements. The most similar looking issue is: https://github.com/bazelbuild/rules_python/issues/381 ###...
The Python repository glob includes/excludes may not be sufficiently filtering unnecessary files on Windows. > Iβm guessing we need to add a pattern for windows as well. If you donβt...
# π feature request ### Relevant Rules New feature for `py_proto_library` ### Description `protoc` v3.20 and above supports to generate `.pyi` files from protos. Whould be great if `py_proto_library` would/could...
I'm trying to write a test that runs mypy. I _thought_ I had the following working in rules_python 0.22.0: ```shell $ ls -A .bazelversion BUILD MODULE.bazel WORKSPACE bar.py foo.py lint.bzl...