rules_python
rules_python copied to clipboard
Bazel Python Rules
Bumps [setuptools](https://github.com/pypa/setuptools) from 65.6.3 to 78.1.1. Changelog Sourced from setuptools's changelog. v78.1.1 Bugfixes More fully sanitized the filename in PackageIndex._download. (#4946) v78.1.0 Features Restore access to _get_vc_env with a warning....
GitHub actions support specially formatted output that can then show up in the ui: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-a-warning-message So the idea would be: have a bazel flag and/or sphinx plugin that transforms warning/error...
With #2768 optional, it is possible to have zero `.py` files or the `main` is not used or specify `main_module`. Then I get errors: ``` providers = py_executable_impl( File "/home/ignas-anikevicius/.cache/bazel/_bazel_ignas-anikevicius/e1764a0ec8835154284d951e9bb11b85/external/rules_python+/python/private/py_executable.bzl",...
Revisit this closed issue, https://github.com/bazel-contrib/rules_python/issues/1217. We still face the same issue. Inspired by the comments in the issue thread, we add a `COVERAGE_RCFILE` environment variable to be able to pass...
Bump deps with `bazel run //tools/private/update_deps:update_pip_deps`
See https://github.com/bazelbuild/bazel-central-registry/pull/4539#discussion_r2080143661 for some context. This value is needed to create python extensions. Note that there are a few different names that can be used, for example `.so`, `.abi3.so`, and...
# 🐞 bug report ### Affected Rule py_binary ### Is this a regression? Yes, in that prior to 8ff4386335e5c50d9507fe364b4f0cc6a90f02e6 packaging was successful (but I haven't confirmed whether the output was...
According to https://github.com/bazel-contrib/rules_python/blob/a4b946bbe1b3e83ca4602a0d059fea823b0ded65/python/packaging.bzl#L102, py_wheel only supports pure python wheels. However, looking around it seems to me that this comment is outdated, so I thought I'd ask if this is still...
# 🐞 bug report ### Affected Rule `pip.parse` and the underlying code ### Is this a regression? Not that I can tell. ### Description When using python package index that...