Bug 2451956 - llvm20: Stop using deprecated %py3_build/%py3_install macros
Summary: llvm20: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm20
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Stellard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2026-03-26 21:34 UTC by Carl George 🎩
Modified: 2026-03-26 21:46 UTC (History)
16 users (show)

Fixed In Version:
Clone Of: 2377317
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.