Bug 2377317 - llvm: Stop using deprecated %py3_build/%py3_install macros
Summary: llvm: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Konrad Kleine
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 14:09 UTC by Miro Hrončok
Modified: 2025-08-29 08:59 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-29 08:59:34 UTC
Type: ---
Embargoed:
tstellar: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1797 0 None None None 2025-07-09 13:59:51 UTC

Description Miro Hrončok 2025-07-08 14:09:00 UTC
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.

Comment 1 Konrad Kleine 2025-08-04 13:13:16 UTC
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

Comment 2 Nikita Popov 2025-08-29 08:59:34 UTC
https://src.fedoraproject.org/rpms/llvm/pull-request/454 has been merged, so closing this.


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