"Requires Python" metadata is not put to PyPI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Fix Released
|
Medium
|
Ben Nemec |
Bug Description
Hi there, I'm trying out PBR for the first time today because I like the idea of getting all that crap out of the setup.py file. However I faced an issue where the "Requires Python" metadata, which pip uses to know whether to download a distribution or not, was not appearing on PyPI.
"python_requires" is a setuptools keyword arg, it's a string corresponding to a version specifier (as defined in PEP 440) for the Python version, used to specify the Requires-Python defined in PEP 345.
Here's the distribution I created with PBR, which is missing the "Requires Python":
https:/
https:/
And here's one I created without, which does correctly display this metadata on PyPI:
https:/
https:/
Both distributions were uploaded to PyPI with twine. I followed the example of PBR itself to specify the tag like this. What am I missing here?
Changed in pbr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Confirmed. Funny that even pbr's setup.cfg tries to use it as "requires-python" but it doesn't work.