diff --git a/docs/pip_repository.md b/docs/pip_repository.md index 853605276f..f58d90c396 100644 --- a/docs/pip_repository.md +++ b/docs/pip_repository.md @@ -2,27 +2,6 @@ - - -## pip_hub_repository_bzlmod - -
-pip_hub_repository_bzlmod(name, repo_mapping, repo_name, whl_library_alias_names) -- -A rule for bzlmod mulitple pip repository creation. PRIVATE USE ONLY. - -**ATTRIBUTES** - - -| Name | Description | Type | Mandatory | Default | -| :------------- | :------------- | :------------- | :------------- | :------------- | -| name | A unique name for this repository. | Name | required | | -| repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry
"@foo": "@bar"
declares that, for any time this repository depends on @foo
(such as a dependency on @foo//some:target
, it should actually resolve that dependency within globally-declared @bar
(@bar//some:target
). | Dictionary: String -> String | required | |
-| repo_name | The apparent name of the repo. This is needed because in bzlmod, the name attribute becomes the canonical name. | String | required | |
-| whl_library_alias_names | The list of whl alias that we use to build aliases and the whl names | List of strings | required | |
-
-
## pip_repository
@@ -101,31 +80,6 @@ py_binary(
| timeout | Timeout (in seconds) on the rule's execution duration. | Integer | optional | 600
|
-
-
-## pip_repository_bzlmod
-
--pip_repository_bzlmod(name, repo_mapping, repo_name, requirements_darwin, requirements_linux, - requirements_lock, requirements_windows) -- -A rule for bzlmod pip_repository creation. Intended for private use only. - -**ATTRIBUTES** - - -| Name | Description | Type | Mandatory | Default | -| :------------- | :------------- | :------------- | :------------- | :------------- | -| name | A unique name for this repository. | Name | required | | -| repo_mapping | A dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<p>For example, an entry
"@foo": "@bar"
declares that, for any time this repository depends on @foo
(such as a dependency on @foo//some:target
, it should actually resolve that dependency within globally-declared @bar
(@bar//some:target
). | Dictionary: String -> String | required | |
-| repo_name | The apparent name of the repo. This is needed because in bzlmod, the name attribute becomes the canonical name | String | required | |
-| requirements_darwin | Override the requirements_lock attribute when the host platform is Mac OS | Label | optional | None
|
-| requirements_linux | Override the requirements_lock attribute when the host platform is Linux | Label | optional | None
|
-| requirements_lock | A fully resolved 'requirements.txt' pip requirement file containing the transitive set of your dependencies. If this file is passed instead of 'requirements' no resolve will take place and pip_repository will create individual repositories for each of your dependencies so that wheels are fetched/built only for the targets specified by 'build/run/test'. | Label | optional | None
|
-| requirements_windows | Override the requirements_lock attribute when the host platform is Windows | Label | optional | None
|
-
-
## whl_library