Skip to content

Commit ee2cc93

Browse files
authored
examples(pip_parse): fix circular deps with sphinx by breaking cycles (bazel-contrib#1596)
When the pip_parse example was updated to use sphinx to demonstrate circular deps, its MODULE.bazel config was forgotten to also be updated to use the requirement_cycles feature to break the circular deps. Fixes bazel-contrib#1595
1 parent a1169f1 commit ee2cc93

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

examples/pip_parse/MODULE.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ python.toolchain(
1313

1414
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
1515
pip.parse(
16+
experimental_requirement_cycles = {
17+
"sphinx": [
18+
"sphinx",
19+
"sphinxcontrib-serializinghtml",
20+
"sphinxcontrib-qthelp",
21+
"sphinxcontrib-htmlhelp",
22+
"sphinxcontrib-devhelp",
23+
"sphinxcontrib-applehelp",
24+
],
25+
},
1626
hub_name = "pypi",
1727
python_version = "3.9",
1828
requirements_lock = "//:requirements_lock.txt",

0 commit comments

Comments
 (0)