On 08/17/2016 10:09 AM, Todd Rme wrote:
Fedora is implementing a system to automatically add reliable, distro-agnostic provides to their python packages [1]. This apparently originally came from Mandriva and Mageia, according to the mailing list discussion [2]. They are also adding macros to make these easier to use, so you can use the macros to depend on the right provides automatically.
This seems like something that would make it much easier to handle python packages in a distro-agnostic manner. The downside is it requires rebuilding all python packages to work, which may limit its applicably to previous openSUSE/SLE releases.
What does everything think about implementing this on our end as well? I am not exactly clear from the discussion what exactly it would entail.
I am supportive of the idea, but with a caveat. As I understand from the first link provided, they are using a "canonical name" in the "Provides" tag. This canonical name "can differ slightly from the name displayed, for example, on PyPI". If this is the case, we would be setting ourselves up for a situation where at some point (if not already) two packages made for different PyPi distributions end up having the same Provides tag. PyPi is the de facto standard for Python distributions, and beyond that PEP 426 specifically defines what a metadata "name" for a distribution is. To go against PyPi and PEP 426 would be, IMO incorrect. The PEP 426 name can only be letters, digits, underscores, hyphens and periods and must start and end with a letter or digit. Can the Provides tag not include such a token? -- Jason Craig -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org