pulp / pulp_python

A Pulp plugin to support Python packages
GNU General Public License v2.0
37 stars 76 forks source link

Update pkginfo library to support newer python packages #683

Open dralley opened 3 months ago

dralley commented 3 months ago

closes #682

dralley commented 3 months ago

Might need some fields added as well

dralley commented 3 months ago

I need to find a package that uses metadata version 2.3 and also uses this dynamic field, so that we can properly test it.

edit: or maybe we need to make one. Is there anything in pulp_python currently like the test I added to pulp_rpm that uses a package constructed specifically to exercise every field available, and then checks the API response once uploaded / synced to verify that they match?

dralley commented 3 months ago

Looks like the twine package happens to have dynamic set.

gerrod3 commented 3 months ago

No we don't have any dynamic fixtures to create packages with specified fields.

dralley commented 3 months ago

I don't mean dynamic fixtures necessarily, even a pre-generated package in the fixtures would be fine

But I assume the answer there is also probably no. That's fine, I can make do