On Wed, 2026-08-12 at 10:53 +0200, Miro Hrončok via python-devel wrote: > Hello Pythonistas. > > tl;dr The python(abi) Requires are currently only generated for .py or .so > files. I think that restriction is not useful and would like to drop it. > > > I opened > https://src.fedoraproject.org/rpms/python-rpm-generators/pull-request/80 in > response to > https://src.fedoraproject.org/rpms/python-coverage_pth/blob/0401cae6/f/python-coverage_pth.spec#_30 > > It extends the generated python(abi) Requires for any (all?) files in > pythonX.Y > directory regardless of their extension or type. > > It does not matter if the package installs .py, .so or different files. > > Packages that simply drop a .pth file to site-packages or even only carry > dist-info folder still need to Require the package that owns > /usr/lib(64)/pythonX.Y. > > Since the PR was opened couple months ago and received no feedback, I decided > to share it here as well. WDYT? > > -- > Miro Hrončok > -- > Phone: +420777974800
I agree with your assessment. In particular I fail to see (my fault surely :-) ) about what are the use cases where this is worth. On the other hand nothing precludes that new python version have differences that affect the way as those files, not `.py` and not `.so`, are handled by python. Best regards, -- José Matos <[email protected]> -- _______________________________________________ python-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
