pypa / bandersnatch

A PyPI mirror client according to PEP 381 http://www.python.org/dev/peps/pep-0381/
Academic Free License v3.0
448 stars 141 forks source link

Generate data-requires-python attributes in index.html does not work for all packages #201

Closed konetzed closed 5 years ago

konetzed commented 5 years ago

Bandersnatch 3.3.0

I have run bandersnatch mirror --force-check to verify everything was correct. I have noticed that some of the pages have the data-requires-python such as gallery-dl but more-itertools does not.

One major difference I have noticed between these two packages is gallary-dl has the option set on all packages where more-itertools only has it set on some.

more-itertools links https://pypi.org/simple/more-itertools/

gallery-dl links view-source:https://pypi.org/simple/gallery-dl/

Files from my mirror

gallery-dl.html.txt gallery-dl.json.txt itertools.html.txt more-itertools.json.txt

bandersnatch.conf JIC I dont have my options correct. bandersnatch.conf.txt

Willing to help test or debug more. I just don't know what else would be helpful.

konetzed commented 5 years ago

You can close this. I figured out how to create a small subset mirror with just more-itertools and gallery-dl and the pages were generated correctly. Not sure why my mirror isn't updating right.

cooperlees commented 5 years ago

Ok - glad it worked out! Feel free to reopen if you find out why it's not working correctly.