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

Hi folks, thank you so much for the amazing work :) I have currently set up a toolchain to run my build with a specific Python version (3.9.10) in a...

type: feature request

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

Can Close?

Hi! Following rule ```python py_wheel( ... strip_path_prefixes = ["prefix"], ) ``` creates wheel with RECORD file containing following records: ``` /blabla/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 /blabla/language_detect.py,sha256=RTufRn4WInDHn_5W4CThkFp6RV0ZYaserNa1rBLJJ-s,445 /blabla/morph.py,sha256=54gzoFL3oJQWq-cKuhJfXojEOU6Knw0ZR4peX8u7zaY,845 /blabla/regex.py,sha256=LqhF6JmKWihvi02XIFMFZOvmzqMxyixIUl1aaYn0BkQ,1488 /blabla/utils.py,sha256=kYW4zrRvksvXzardHjlZgwOLCPJrfVjG72k-gmIqzf4,2726 package-1.0.4.dist-info/METADATA,sha256=ogEnrEFMwzwSuA9V_uCzMViGbgnxb-UQDHLatLVBUgM,462 package-1.0.4.dist-info/RECORD,, package-1.0.4.dist-info/WHEEL,sha256=sobxWSyDDkdg_rinUth-jxhXHqoNqlmNMJY3aTZn2Us,91 ``` The...

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

Can Close?

# 🐞 bug report ### Affected Rule The issue is caused by the rule: py_test() ## 🔬 Minimal Reproduction [debug.zip](https://github.com/bazelbuild/rules_python/files/8938713/debug.zip) ## 🔥 Exception or Error import os print(os.getcwd()) should be...

Can Close?

# 🚀 feature request ### Relevant Rules `pip_repository` and by extension `pip_parse`. ### Description Because `pip_repository` is a repository rule, it somewhat awkwardly uses several attributes to override the default...

type: feature request
type: pip

When using the python rule for building, there are duplicate python libs symlinks for example: `bazel-out/darwin-fastbuild/bin//app.runfiles/pypi__Jinja2_2_8` and `bazel-out/darwin-fastbuild/bin//app.runfiles/__main__/external/pypi__Jinja2_2_8` both of them are the symlinks of the lib exists on my...

type: bug
untriaged

# 🚀 feature request ### Relevant Rules `py_wheel` ### Description PEP 566 added the ability to use different formats markup syntax's in the package description, by introducing the [`Description-Content-Type`](https://packaging.python.org/en/latest/specifications/core-metadata/#description-content-type) field...

type: feature request

## PR Checklist Please check if your PR fulfills the following requirements: - [x] Does not include precompiled binaries, eg. `.par` files. See [CONTRIBUTING.md](https://github.com/bazelbuild/rules_python/blob/master/CONTRIBUTING.md) for info - [x] Tests for...

cla: yes

# 🐞 bug report ### Affected Rule gazelle_binary ### Is this a regression? First time setup ### Description There is a failure to find the py3wrapper.sh after setting up the...