Bug 2378139

Summary: python-qutepart: Stop using deprecated %py3_build/%py3_install macros
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-qutepartAssignee: Raphael Groner <projects.rg>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kde-sig, projects.rg, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-30 19:13:39 UTC 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: 2377200, 2377893, 2377981, 2376118, 2377251, 2377824    

Description Miro Hrončok 2025-07-08 15:04:32 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 Raphael Groner 2025-07-26 18:52:12 UTC
> %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.

So we can expect another 5 years? Rawhide is currently for Fedora 43.

Comment 2 Miro Hrončok 2025-07-27 20:28:41 UTC
(In reply to Raphael Groner from comment #1)
> > %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.
> 
> So we can expect another 5 years? Rawhide is currently for Fedora 43.

That's ~1 year, not five, until this breaks in rawhide.

Comment 3 Raphael Groner 2025-07-28 18:31:43 UTC
(In reply to Miro Hrončok from comment #2)

> That's ~1 year, not five, until this breaks in rawhide.

Joking with years to wait. Well, I've already orphaned some packages and worth to think about even more orphans. That's not the fair way to expect maintainers to implement a general fix, anyways thanks for the migration tool on GitHub.

In case of qutepart (last commit is –3 years old) but enki (some monthes), upstream is not that active.

Comment 4 Miro Hrončok 2025-07-28 22:54:49 UTC
> That's not the fair way to expect maintainers to implement a general fix

Please do let me know what can be improved. Do you want a pull request from me?

Comment 5 Raphael Groner 2025-07-29 15:19:24 UTC
(In reply to Miro Hrončok from comment #4)

> Please do let me know what can be improved. Do you want a pull request from
> me?

yw