commit | d71053962315ba901a49bbd947045588fbb1e0eb | [log] [tgz] |
---|---|---|
author | Sitaktif <sitaktif@gmail.com> | Mon Jul 08 10:01:31 2024 +0100 |
committer | GitHub <noreply@github.com> | Mon Jul 08 09:01:31 2024 +0000 |
tree | 218e546ce23ecaa6e63d0569daa1470982b42ce1 | |
parent | 945cea46c88ca93fe66203aa92d3f481c3d7fbe2 [diff] |
refactor: use http_archive for the stdlib list (#2037) The `http_file` repo rules relied on Github-specific per-file HTTP API. Change this to use an `http_archive` repo rule, which refers to a simple URL containing the source tarball for stdlib-list. The release version of pypi/stdlib-list this is now pointing to is [v0.10.0](https://github.com/pypi/stdlib-list/releases/tag/v0.10.0). This tag is slightly older than the original commit it was pointing to (`8cbc2067a4a0f9eee57fb541e4cd7727724b7db4`) but, as discussed in https://github.com/pypi/stdlib-list/issues/122, the only differences are build or doc related, there are no differences in the sources (see the [diff](https://github.com/pypi/stdlib-list/compare/v0.10.0...8cbc2067a4a0f9eee57fb541e4cd7727724b7db4)). (Creating an associated issue didn't feel particularly useful but happy to do it if it's a mandatory part of the process!)
This repository is the home of the core Python rules -- py_library
, py_binary
, py_test
, py_proto_library
, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.