Bug 2377284 - home-assistant-cli: Stop using deprecated %py3_build/%py3_install macros
Summary: home-assistant-cli: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: home-assistant-cli
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Milnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2390672 2390691
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 14:06 UTC by Miro Hrončok
Modified: 2025-09-04 20:07 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 14:06:44 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 Daniel Milnes 2025-09-04 20:05:44 UTC
Need to sort bug 2390672 before I can do this. `python-netdisco` being retired means we're FTBFS right now


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