rules_python
rules_python copied to clipboard
Bazel Python Rules
**feat(bzlmod): Specify base_url and tool-version in bzlmod** close https://github.com/bazelbuild/rules_python/issues/1172
# 🐞 bug report ### Affected Rule pip_parse ### Is this a regression? unknown ### Description The pip_parse example runs properly when executed from the repository on windows, linux and...
The `--python_top` flag is being removed, so those codepaths in the rules also need to be removed. This is to track applying the same change to rules_python that is being...
# 🐞 bug report ### Affected Rule ``` bazel_dep(name = "rules_python", version = "0.32.2") pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "pip_deps", python_version = "3.11", requirements_lock = "//:requirements.txt", ) use_repo(pip,...
This makes it easier to know how to manually define `py_exec_tools_toolchain()`. Also doc the `inherit` value for the `pyc_collection` attribute.
# 🐞 bug report ### Affected Rule The issue is caused by the rule: pypi__installer/installer/destinations.py", line 170, in write_to_fs raise FileExistsError(message) FileExistsError: File already exists: ./bin/salt ### Is this a...
# 🚀 feature request ### Description Gazelle should allow for the configuration and resolution of pytest fixtures. In pytest, fixtures are method parameters that are automatically discovered and injected into...
Before the PR users would not be able to override various things configured by `rules_python` when it comes to downloading toolchains. In the WORKSPACE world, they would be able to...
Setting `PYTHONSAFEPATH` has an unintentional side effect of propagating to child processes/non-`py_binary` instances of the Python interpreter that rely on the non-safepath behavior. The best example of this is the...
Bumps [docutils](https://docutils.sourceforge.io) from 0.19 to 0.21.2. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...