Miro Hrončok via python-devel venit, vidit, dixit 2026-08-12 10:53:55:
> 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?

I'm sure you explained it concisely and I'm simply not getting it. But
can you give an example of before vs after? I can't tell whether the
proposal is about *which packages* get those automatic requires, or
*what requires* get generated, or both. An example may help at least me.
Thanks!

Michael
-- 
_______________________________________________
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

Reply via email to