rules_python
rules_python copied to clipboard
Bazel Python Rules
# 🐞 bug report ### Affected Rule pip.parse ### Is this a regression? No ### Description Through various issues it has been recommended that I use `experimental_index_url` to get improved...
In a non-bazel venv, distributions make executables available by putting them in `$venv/bin`, which gets added to PATH. In older versions of rules python, py_binary's were generated for these. It...
``` (03:49:12) WARNING: Option 'project_id' is deprecated: Use --bes_instance_name instead (03:49:12) WARNING: Option 'remote_default_platform_properties' is deprecated: --remote_default_platform_properties has been deprecated in favor of --remote_default_exec_properties. (03:49:12) WARNING: /workdir/docs/BUILD.bazel:202:6: target '//docs:bazel_repo_tools' is...
It's common for projects to have dev-only dependencies. We should document how to do similar using pip.parse. The basic steps are: * Have a separate `@dev_pypi` hub * Separate requirements.txt...
Bump versions: + `rules_go` from 0.41.0 to 0.55.0 + `gazelle` from 0.31.0 (or 0.33.0 for bzlmod) to 0.40.0 + `go` from 1.19.4 to 1.22.0 Fixes #2956. + Run `go get...
`bazel run //:gazelle_update_repos` modifies `gazelle/deps.bzl` incorrectly: ```diff diff --git a/gazelle/deps.bzl b/gazelle/deps.bzl index a6789ea3..98fda041 100644 --- a/gazelle/deps.bzl +++ b/gazelle/deps.bzl @@ -14,7 +14,11 @@ "This file managed by `bazel run //:gazelle_update_repos`" -load("@bazel_gazelle//:deps.bzl",...
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.32.4. Release notes Sourced from requests's releases. v2.32.4 2.32.4 (2025-06-10) Security CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve...
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.32.4. Release notes Sourced from requests's releases. v2.32.4 2.32.4 (2025-06-10) Security CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve...
# 🚀 feature request ### Relevant Rules `py_binary`, `py_test` (from @rules_python) ### Description When building Python binaries or tests using Bazel (specifically with py_binary and py_test), we encounter an **"Argument...
Bumps [django](https://github.com/django/django) from 4.2.20 to 4.2.22. Commits 7275cc5 [4.2.x] Bumped version for 4.2.22 release. ac03c5e [4.2.x] Fixed CVE-2025-48432 -- Escaped formatting arguments in `log_response... c62f4ee [4.2.x] Added stub release notes...