doc: Fix `pip.default` arguments in multi-platform example (#3358)
I was playing around with the [multi-platform PyPI
example](https://rules-python.readthedocs.io/en/latest/howto/multi-platform-pypi-deps.html)
and noticed that the `pip.default` arguments were wrong.
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
diff --git a/docs/howto/multi-platform-pypi-deps.md b/docs/howto/multi-platform-pypi-deps.md
index 6cc7f84..61f3f40 100644
--- a/docs/howto/multi-platform-pypi-deps.md
+++ b/docs/howto/multi-platform-pypi-deps.md
@@ -163,16 +163,16 @@
# A custom platform for CUDA on glibc linux
pip.default(
platform = "linux_x86_64_cuda12.9",
- os = "linux",
- cpu = "x86_64",
+ arch_name = "x86_64",
+ os_name = "linux",
config_settings = ["@//:is_cuda_12_9"],
)
# A custom platform for musl on linux
pip.default(
platform = "linux_aarch64_musl",
- os = "linux",
- cpu = "aarch64",
+ os_name = "linux",
+ arch_name = "aarch64",
config_settings = ["@//:is_musl"],
)