Skip to content

autonomy.cli.packages

Override for packages command.

lock_packages

@package_manager.command(name="lock")
@click.option(
    "--check",
    is_flag=True,
    help="Check that fingerprints in packages.json match the local packages",
)
@click.option(
    "--skip-missing",
    is_flag=True,
    help="Skip packages missing from the `packages.json` file.",
)
@pass_ctx
def lock_packages(ctx: Context, check: bool, skip_missing: bool) -> None

Lock local packages.

get_package_manager

def get_package_manager(packages_dir: Path) -> BasePackageManager

Get package manager.

_PackageManagerWithServicePatch Objects

class _PackageManagerWithServicePatch(BasePackageManager)

Patch package manager for service component.

update_dependencies

def update_dependencies(package_id: PackageId) -> None

Update dependencies.

check_dependencies

def check_dependencies(
    configuration: PackageConfiguration
) -> List[Tuple[PackageId, DepedencyMismatchErrors]]

Update dependencies.

PackageManagerV0 Objects

class PackageManagerV0(BasePackageManagerV0, _PackageManagerWithServicePatch)

Patch package manager for service component.

PackageManagerV1 Objects

class PackageManagerV1(BasePackageManagerV1, _PackageManagerWithServicePatch)

Patch package manager for service component.