Pulp Python package index
This document states basic usage of the Pulp instance hosted on Operate First. The Pulp instance is available at pulp.operate.first.cloud and is used at Red Hat to host Python packages as an alternative to the publicly available PyPI. Unlike PyPI, Pulp hosts multiple Python package indexes that can be specific to teams or user needs.
Minimum requirements: RHEL 7 + SCL Python and pip
Optimal requirements: RHEL 8, UBI 8 or Fedora which is not EOL
Create a request at operate-first/support using the ”New Python package index request” template.
To consume packages from the Pulp Python package index, point pip to it using —index-url:
pip install --index-url https://pulp.operate-first.cloud/pypi/<index-name>/simple/ --extra-index-url https://pypi.org/simple
NOTE: Both cases are prone to dependency confusion attacks so mind dependencies you install.
Currently, only AICoE-CI can publish Python packages to Pulp as Pulp does not support RBAC. Thus AICoE-CI acts as an authority for publishing Python packages to Pulp indexes. Follow instructions in thoth-station/aicoe-ci-pulp-upload-example to see how to configure AICoE-CI to publish Python packages to your Pulp index.