pipenv requirements should support the usage of pypi-mirror
Author: mtreffert-bhsCreated Aug 17, 2022Updated Oct 4, 2024
LabelsType: Enhancement :bulb:Category: Private PyPIs :sunglasses:Contributor Candidate
pipenv requirements, that replaced pipenv lock --requirements... does not support the usage of pypi-mirrors anymore
Problem
Sometimes one needs to install packages from a different index than pypi.org
Desired Solution
A pypi mirror can be used with the pipenv requirements command as with other commands by supporting the --pypi-mirror flag and/or the environment variable PIPENV_PYPI_MIRROR
Source: pypa/pipenv