rules_python
rules_python copied to clipboard
Bazel Python Rules
# 🐞 bug report ### Affected Rule The issue is caused by the rule: py_binary ### Is this a regression? Yes, the previous version in which this bug was not...
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.13 to 1.26.18. Release notes Sourced from urllib3's releases. 1.26.18 Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other"...
# 🔍 Question ### Relevant Rules `py_binary` ### Description Many moons ago in response to not particularly liking the Bazel `.runfiles` model of laying out dependencies I developed https://git.arrdem.com/arrdem/rules_zapp which...
Add an example of using a `src` dir and separate `tests` dir and having gazelle generate targets correctly so that tests can be run. Fixes #1775.
# 🐞 bug report ### Affected Rule N/A. This isn't a rule-related bug, but rather a bug with the pre-commit hook `update-deleted-packages`. ### Is this a regression? No. ### Description...
# 🐞 bug report ### Affected Rule gazelle extension ### Is this a regression? No, previous versions also has this issue ### Description After enabling python extension in gazelle https://github.com/xytan0056/cgo_test/blob/30a62b2654561f0d08e98dbf14c2e6a7c8d55e74/BUILD.bazel#L22...
Add a README.md to the examples/pip_repository_annotations directory
See comment https://github.com/bazelbuild/rules_python/pull/1593#discussion_r1424725021 for context. The outline of the potential API is: ```starlark pip.register_platform( name = "linux_x86_64", cpu = "@platforms//cpu:x86_64", os = "@platforms//os:linux", ) ``` By default `rules_python` could register...
# 🐞 bug report ### Affected Rule The issue is caused by the rule: ```bzl load("@py_deps_tools_ruff//:requirements.bzl", "entry_point") ``` ### Is this a regression? I don't know. ### Description A clear...
# 🚀 feature request ### Description I'm wondering if there's a way to generate python runfiles in an action. This is probably a Bazel request but so far I've only...