| commit | 4e610311c34ae39945766f0a74b082a66fefe1ca | [log] [tgz] |
|---|---|---|
| author | Richard Levasseur <rlevasseur@google.com> | Sun Nov 10 23:51:26 2024 -0800 |
| committer | GitHub <noreply@github.com> | Mon Nov 11 07:51:26 2024 +0000 |
| tree | 75fa3cfb8a9e18cb7d6792d0fd40a4582dcb1a7d | |
| parent | daed352c843f714d4c27ed1c7e555ab3ecfbbf87 [diff] |
feat: add attrs/fields for the runtime's ABI flags (#2390) This adds attributes and fields for storing the runtimes ABI flags value, i.e. `sys.abiflags`. For freethreaded interpreters, the abi flags contain `t`, which is used creating e.g. virtualenvs. The attribute can be directly specified, or if it's not, will be computed based on the `--py_freethreaded` flag.
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.