Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.58 KB

pip.md

File metadata and controls

49 lines (34 loc) · 1.58 KB
title `glab dependency-firewall pip`
stage AI Clients
group Developer Clients
info To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments>

Run Pip through the GitLab Dependency Firewall. (BETA)

Synopsis

Run the Pip binary through the GitLab Dependency Firewall. The command checks each package download and upload against the policy for the current project, refuses blocked packages, and summarizes the results after the run.

The command uses your package manager's registry or index configuration, and does not modify it.

Package names are normalized as described in PEP 503, so Flask_Login and flask-login are treated as the same package.

All arguments are forwarded to pip verbatim.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab dependency-firewall pip <pip args> [flags]

Examples

# Install a package through the Dependency Firewall
glab dependency-firewall pip install requests

# Install from a requirements file through the Dependency Firewall
glab dependency-firewall pip install -r requirements.txt

Options inherited from parent commands

  -h, --help   Show help for this command.