Public repository rule API re-exports
lock_repo_model_pdm(project_file, lock_file, default, optional_groups, all_optional_groups, development_groups, all_development_groups, require_static_urls)
PARAMETERS
lock_repo_model_poetry(project_file, lock_file)
PARAMETERS
Name | Description | Default Value |
---|---|---|
project_file | - |
none |
lock_file | - |
none |
lock_repo_model_uv(project_file, lock_file, default, optional_groups, all_optional_groups, development_groups, all_development_groups, require_static_urls)
PARAMETERS
pycross_lock_repo(name, lock_model, kwargs)
Create a repo containing packages described by an imported lock.
PARAMETERS
pycross_register_for_python_toolchains(name, python_toolchains_repo, platforms, glibc_version, macos_version)
Register target environments and toolchains for a given list of Python versions.
PARAMETERS
pycross_lock_file_repo(name, lock_file, repo_mapping)
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this repository. | Name | required | |
lock_file | The generated bzl lock file. | Label | required | |
repo_mapping | In WORKSPACE context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.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 ).This attribute is not supported in MODULE.bazel context (when invoking a repository rule inside a module extension's implementation function). |
Dictionary: String -> String | optional |