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

https://github.com/bazel-contrib/rules_go/releases/tag/v0.55.0 was just released. I'm hoping that https://github.com/bazel-contrib/rules_go/pull/4298 included in that release will fix the root issue that caused us to migrate to dougthor42/go-tree-sitter in https://github.com/bazel-contrib/rules_python/pull/2496. IF this works, then...

gazelle

This PR ensures that py_binary rules are not indexed into Gazelle's IndexMap when there is a corresponding py_library rule with the same srcs. When both py_library and py_binary targets share...

It looks like the `python_zip_file` output group is not documented. Let's document it. ```starlark filegroup( name = some_binary_zip", srcs = [":some_binary"], # the py_binary target to make into a zip,...

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4715#019733f8-ff88-4965-93af-5c4522467312 Platform: Ubuntu Logs: ``` ERROR: no such package '@@[unknown repo 'local_config_platform' requested from @@+internal_dev_deps+buildkite_config]//': The repository '@@[unknown repo 'local_config_platform' requested from @@+internal_dev_deps+buildkite_config]' could not be resolved: No repository...

The https://github.com/smacker/go-tree-sitter library seems dead and we should switch to the official https://github.com/tree-sitter/go-tree-sitter. I know there's already a lot of discussion around tree-sitter in `rules_python/gazelle`, I thought I should bring...

This is a task related to eventual cleanup of WORKSPACE support. This will happen when the minimum supported version is bazel 9, that is the first version that removes the...

cleanup

Right now, sphinxdocs runs as a fresh process every time. For iterative development, this adds unnecessary overhead in the setup and execution of sphinx. It also creates barriers to make...

type: feature request
sphinxdocs

Summary from https://github.com/bazel-contrib/rules_python/discussions/2564 ```starlark pip.parse( experimental_bazel_downloader = True, experimental_index_url_overrides = {"package": "https//baz.com/simple", ...}, requirements_lock = "requirements.txt", ... ``` If `requirements.txt` has: ``` --index_url https://foo/simple --extra-index-url https://bar/simple --extra-index-url https://foobar/simple package==1.2.3 \...

Sphinx has change detection to facilitate incremental rebuilding, but it's timestamp based. Bazel doesn't reliably preserve timestamps, nor are timestamps highly reliable, so this functionality isn't usable. This means sphinx...

type: feature request
sphinxdocs

This is just a laundry list for the flag to be flipped by default and enable better dependency graph construction using the marker settings. - [ ] Add `expressions_any` to...

type: pip