Skip to content

Requests for PyPI packages that are not found on GitLab should be forwarded to pypi.org

Problem to solve

Python developers often use a combination of private, in-house built packages and packages that are publically available in the public PyPI registry.

However, we do not currently help users with pulling packages from this popular, remote repository.

Intended users

Proposal

When a user tries to download a PyPI package using their Project/Group/Instance-level endpoint and the package is NOT found, forward the request to pypi.org and, if possible, download the package.

Further details

This feature is part of our effort to deliver a virtual registry for the PyPI repository that will proxy and cache requests for packages outside of GitLab.

Edited by Tim Rizzi