File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ A brief description of the categories of changes:
25
25
rules_python Starlark implementation, not the one built into Bazel. NOTE: This
26
26
only applies to Bazel 6+; Bazel 5 still uses the builtin implementation.
27
27
28
+ * (pip_parse) The parameter ` experimental_requirement_cycles ` may be provided a
29
+ map of names to lists of requirements which form a dependency
30
+ cycle. ` pip_parse ` will break the cycle for you transparently. This behavior
31
+ is also available under bzlmod as
32
+ ` pip.parse(experimental_requirement_cycles={}) ` .
33
+
28
34
[ 0.XX.0 ] : https://github.com/bazelbuild/rules_python/releases/tag/0.XX.0
29
35
30
36
## [ 0.27.0] - 2023-11-16
@@ -59,11 +65,6 @@ A brief description of the categories of changes:
59
65
` data ` . Note, that the ` @pypi_foo//:pkg ` labels are still present for
60
66
backwards compatibility.
61
67
62
- * (pip_parse) The parameter ` requirement_cycles ` may be provided a map of names
63
- to lists of requirements which form a dependency cycle. ` pip_parse ` will break
64
- the cycle for you transparently. This behavior is also available under bzlmod
65
- as ` pip.parse(requirement_cycles={}) ` .
66
-
67
68
* (gazelle) The flag ` use_pip_repository_aliases ` is now set to ` True ` by
68
69
default, which will cause ` gazelle ` to change third-party dependency labels
69
70
from ` @pip_foo//:pkg ` to ` @pip//foo ` by default.
Original file line number Diff line number Diff line change @@ -161,14 +161,15 @@ ERROR: .../external/pypi_sphinxcontrib_serializinghtml/BUILD.bazel:44:6: in alia
161
161
`-- @pypi_sphinxcontrib_serializinghtml//:pkg (...)
162
162
```
163
163
164
- The ` requirement_cycles ` argument allows you to work around these issues by
165
- specifying groups of packages which form cycles. ` pip_parse ` will transparently
166
- fix the cycles for you and provide the cyclic dependencies simultaneously.
164
+ The ` experimental_requirement_cycles ` argument allows you to work around these
165
+ issues by specifying groups of packages which form cycles. ` pip_parse ` will
166
+ transparently fix the cycles for you and provide the cyclic dependencies
167
+ simultaneously.
167
168
168
169
```
169
170
pip_parse(
170
171
...
171
- requirement_cycles = {
172
+ experimental_requirement_cycles = {
172
173
"sphinx": [
173
174
"sphinx",
174
175
"sphinxcontrib-serializinghtml",
@@ -185,7 +186,7 @@ be a part of the `airflow` cycle. For instance --
185
186
```
186
187
pip_parse(
187
188
...
188
- requirement_cycles = {
189
+ experimental_requirement_cycles = {
189
190
"airflow": [
190
191
"apache-airflow",
191
192
"apache-airflow-providers-common-sql",
You can’t perform that action at this time.
0 commit comments