rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Bazel Python Rules

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

Change #2089 breaks multi-platform builds. The contents of `libpython.dylib` differ depending on which host machine runs the build, since `if "darwin" in platform and "osx" == repo_utils.get_platforms_os_name(rctx)` checks the host...

type: toolchain
need: upstream support

Migrating the the official bindings might resolve the Windows errors. See also https://github.com/bazelbuild/bazel-central-registry/pull/6529#issuecomment-3534338114

dependencies
go
gazelle

These updates are mainly needed for compatibility with bazel 9: - Update version of `rules_cc` to [0.2.10](https://github.com/bazelbuild/rules_cc/releases/tag/0.2.10) to fix [the cyclic dependency error](https://buildkite.com/bazel/rules-python-python/builds/13441#019a01d8-d32f-429a-b465-66caee545ab7) while testing with bazel 9 pre-release -...

Bumps the pip group with 1 update in the /tools/publish directory: [urllib3](https://github.com/urllib3/urllib3). Updates `urllib3` from 2.5.0 to 2.6.0 Release notes Sourced from urllib3's releases. 2.6.0 🚀 urllib3 is fundraising for...

dependencies
python

# 🐞 bug report ### Affected Rule `py_binary() / py_test()` that invokes python as subprocess. When using `--@rules_python//python/config_settings:bootstrap_impl=system_python` (default) `--@rules_python//python/config_settings:bootstrap_impl=script` does not reproduce this issue. ### Is this a regression?...

Opening a ticket to dump in all questions for triage, per suggestion of Slack message. In this thread https://github.com/bazel-contrib/rules_python/issues/2949#issuecomment-3448011820 it was suggested that `experimental_index_url` would fix any issues I was...

need: discussion

# 🚀 feature request ### Relevant Rules Adding information to `PyExecutableInfo` (impacts `py_binary`, `py_test`). ### Description Adding something to PyExecutableInfo that helps communicate "here's extra stuff for the binary that...

All uses need to be through rules_cc, because C++ will be removed from Bazel.

When specifying `data_files` in `py_wheel`, allow just the directory to be specified (with a trailing slash), in which case it will use the existing filename. This avoids duplicating (potentially platform-specific)...

Bumps [astroid](https://github.com/pylint-dev/astroid) from 3.3.11 to 4.0.1. Release notes Sourced from astroid's releases. v4.0.1 What's New in astroid 4.0.1? Release date: 2025-10-11 Suppress SyntaxWarning for invalid escape sequences and return in...

dependencies
python