Skip to content

Commit b67b9b6

Browse files
docs: update changelog for config_settings attribute (#3257)
Add the config_settings and bzlmod/workspace apis to changelog. Along the way, fix the filename for the common deps with pypi guide. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent cdd9338 commit b67b9b6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,14 @@ END_UNRELEASED_TEMPLATE
8585
* (bootstrap) {obj}`--bootstrap_impl=system_python` now supports the
8686
{obj}`main_module` attribute.
8787
* (bootstrap) {obj}`--bootstrap_impl=system_python` now supports the
88-
{any}`RULES_PYTHON_ADDITIONAL_INTERPRETER_ARGS` attribute.
88+
{any}`RULES_PYTHON_ADDITIONAL_INTERPRETER_ARGS` environment variable.
89+
* (rules) The `py_binary`, `py_test`, and `py_wheel` rules now have a
90+
{obj}`config_settings` attribute to control build flags within the build graph.
91+
Custom settings can be added using {obj}`config.add_transition_setting` in
92+
`MODULE.bazel` files, or {obj}`py_repositories(transition_settings=...)` in
93+
`WORKSPACE` files. See the
94+
{ref}`common-deps-with-multiple-pypi-versions` guide on using common
95+
dependencies with multiple PyPI versions` for an example.
8996

9097

9198
{#v1-6-0}

docs/howto/common-deps-with-multipe-pypi-versions.md renamed to docs/howto/common-deps-with-multiple-pypi-versions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
(common-deps-with-multiple-pypi-versions)=
12
# How to use a common set of dependencies with multiple PyPI versions
23

34
In this guide, we show how to handle a situation common to monorepos

0 commit comments

Comments
 (0)