rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Bazel Python Rules

Results 459 rules_python issues
Sort by recently updated
recently updated
newest added

A side-effect of no longer propagating import paths using the `PYTHONPATH` envvar is that subprocesses don't inherit the paths. This is usually a good thing, but ends up breaking plain...

# 🚀 feature request ### Relevant Rules The `pip` repository and `pip_compile`. ### Description We have a few wheels that need to be compiled (eg. cocotb and apytypes). These require...

WIP: stacked on #2987 This is adding `constraint_values` attribute to `pip.configure` and is threading it all the way down to the generation of `BUILD.bazel` file of for config settings used...

Stacked on #2988 With this PR we can support arbitrary target settings instead of just plain `constraint_values`. We still have custom logic to ensure that all of the tests pass....

Parse env markers in pip.parse using starlark Summary: - Allow switching to the Starlark implementation of the marker evaluation function. - Add a way for users to modify the `env`...

# 🐞 bug report ### Affected Rule `//python/private/pypi:evaluate_markers.bzl` --> `evaluate_markers_py` ### Is this a regression? No (AFAIK), this likely never worked. ### Description Because of how runfiles are managed, `evaluate_markers_py()`...

It was fixed in #3001 where this comment/idea was floated: https://github.com/bazel-contrib/rules_python/pull/3001#issuecomment-2981231509 The ideal way would be to ask users to use toolchain lookup instead but we need to ensure that...

core-rules
cleanup

# 🐞 bug report ### Affected Rule The issue is caused by the rule: py_test ### Is this a regression? Yes, the previous version in which this bug was not...

core-rules

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4745#01977c12-ec35-4d5c-a802-775bf9bcf803 Platform: Windows Logs: ``` (04:09:35) ERROR: Traceback (most recent call last): File "C:/b/gwgutza2/external/rules_nodejs++node+nodejs_toolchains/defs.bzl", line 15, column 20, in resolved_toolchain = rule( Error in rule: rule() got unexpected keyword...

Fixes `bazel vendor` support for requirements files that contain environment markers. During a vendored `bazel build`, when evaluate_markers_py() is run it needs PYTHONHOME set to properly find the home of...