On 29. 01. 22 22:11, Miro Hrončok wrote:
Hello Pythonistas,

today, I've looked up packages in rawhide providing python3dist(...) = 0 and I opened bugzillas for them:

https://bugzilla.redhat.com/showdependencytree.cgi?id=python3dist0

While version 0 (or equal versions like 0.0 or 0.0.0) is probably technically valid, it most certainly indicates a packaging error (most likely but not necessarily a downstream packaging error).

Should we prevent this error from happening by explicitly erroring (and failing the build) when it happens? I think it would make the dependency generators more robust.

In an unlikely scenario when packagers actually want to package version 0, they can reach out and we can allow it via some configuration (but [YAGNI], so I don't want to clutter the generator with yet another option right away).

[YAGNI] https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it


Sounds like a great idea.
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to