rules_python
rules_python copied to clipboard
Bazel Python Rules
# 🚀 feature request ### Relevant Rules Mostly all the rules included in bazelbuild/rules_python repository (hermetic python toolchain, pip_parse, ...) ### Description There is currently no support to build natively...
# 🐞 bug report ### Affected Rule `sphinx_docs_library` ### Is this a regression? No. I don't believe `sphinx_docs_library` has ever supported this attribute but it seems like it should. ###...
Currently `pip_parse` supports a feature to "fix" cycles among third-party packages, for example: ``` pip_parse( ... experimental_requirement_cycles = { "airflow": [ "apache-airflow", "apache-airflow-providers-common-sql", "apache-airflow-providers-sqlite", "apache-airflow-providers-ftp", "apache-airflow-providers-http", "apache-airflow-providers-imap", ], }, )...
In our project we don't use `experimental_index_url`, but through pulling in `rules_mypy` which does use it here https://github.com/theoremlp/rules_mypy/blob/c7c113c3608bc7569493c2abbff9aaa18119e145/MODULE.bazel#L29, our project's root pip.parse uses stopped working, because a platform specific variant...
# 🚀 feature request ### Relevant Rules `pip.parse()` (not a rule, but the module extension tag) ### Description Just putting this out there to gather feedback and see if it's...
Currently if you're writing custom rules that depend on python, it can be useful to extract things from the underlying python toolcahin like `toolchain.py3_runtime.interpreter`. I think it would be useful...
Bazel test for wrapping binaries fails on py_binary with rules_python 0.36.0 on Windows. To reproduce run `bazel test //src/test/py/bazel:runfiles_test` on Windows (with the test enabled). Error output: ``` $TEST_TMPDIR defined:...
Upgrading rules_python in Bazel and running tests again version 0.36.0 showed problems with coverage support. To reproduce run `bazel test //src/test/shell/bazel:bazel_coverage_hermetic_py_test` from Bazel repository. It fails saying the test has...
PR Instructions/requirements * Title uses `type: description` format. See CONTRIBUTING.md for types. * Common types are: build, docs, feat, fix, refactor, revert, test * Update `CHANGELOG.md` as applicable * Breaking...
# Context This is a tracking issue to recognise the lack of support for Remote Execution (RBE) when using the [support for third party dependencies from PyPI](https://rules-python.readthedocs.io/en/latest/pypi-dependencies.html) (or similar indexes/mirrors)....