Symptoms: the "simple.html" page retrieved by the /api/pypi/pypi-repo/simple/ API call is filled with incorrect package names that lead to duplicate packages.
Steps to reproduce:
- Use a working Pypi project, and modify the setup.py file:
from setuptools import setup
with open('README.md') as f:
readme = f.read()
- Upload multiple versions of the package, at least 4
- Recalculate the PyPi index
Observe that the package names in the HTML file are incorrect:
3.5" href="example-proj" rel="internal" >example-proj
The behavior is somewhat difficult to reproduce, multiple uploads should trigger it. There look to be problems processing multiple setup.py files with the "python_requires" field.