Update URL scheme for packages hosted on PyPI
What does this MR do and why?
Updates the URL scheme for hyperlinking Python packages in requirements.txt
files.
GitLab makes hyperlinks for Python packages listed in requirements.txt
to PyPI, the Python Package Index, a public service by the Python Foundation.
Those packages used to be hosted on http://pypi.python.org, but the hostname (and webserver implementation) changed a few years ago. PyPI is now available at https://pypi.org, packages are referred to with the /project/
path, and the URL path always has a trailing slash.
Screenshots or screen recordings
The above screenshot shows that the Python packages listed in a requirements.txt
file are currently hyperlinked with the old PyPI URL scheme.
How to set up and validate locally
- Fire up the GitLab web interface
- Visit a repository with a Python project having a
requirements.txt
file
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.