Bug 2451956

Summary: llvm20: Stop using deprecated %py3_build/%py3_install macros
Product: [Fedora] Fedora Reporter: Carl George 🎩 <carl>
Component: llvm20Assignee: Tom Stellard <tstellar>
Status: POST --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmalcolm, extras-qa, fedora-llvm-team, jakub, jchecahi, jistone, kkleine, mhroncok, npopov, scottt.tw, sergesanspaille, siddharth.kde, suraj.ghimire7, tbaeder, tstellar, tuliom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: 2377317 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2376118    

Description Carl George 🎩 2026-03-26 21:34:09 UTC
+++ This bug was initially created as a clone of Bug #2377317 +++

Dear package maintainer,

this bugzilla is automated becasue the number of impacted packages it too high to go trough manually.


It appears that your package uses the deprecated %py3_build and/or %py3_install macro.

See https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros for why the macros are deprecated.

%py3_install expands to python setup.py install. This has been a deprecated command for 5 years and will likely stop working in Fedora 45.



Please migrate to %pyproject_buildrequires + %pyproject_wheel + %pyproject_install macros instead.

See https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros#Migrating_to_%pyproject_macros for migration guide.

See https://github.com/hroncok/pyprojectize/ for a tool that can help you automate the migration.


Thank you. Let me know if you need help.

--- Additional comment from Konrad Kleine on 2025-08-04 08:13:16 CDT ---

I've created PR for this here: https://src.fedoraproject.org/rpms/llvm/pull-request/454

See also https://issues.redhat.com/browse/FC-1797

--- Additional comment from Nikita Popov on 2025-08-29 03:59:34 CDT ---

https://src.fedoraproject.org/rpms/llvm/pull-request/454 has been merged, so closing this.

Comment 1 Carl George 🎩 2026-03-26 21:46:28 UTC
https://src.fedoraproject.org/rpms/llvm20/pull-request/3