Bug 2378139 - python-qutepart: Stop using deprecated %py3_build/%py3_install macros
Summary: python-qutepart: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-qutepart
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2377200 2377893 2377981 2376118 2377251 2377824
TreeView+ depends on / blocked
 
Reported: 2025-07-08 15:04 UTC by Miro Hrončok
Modified: 2025-07-30 19:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-07-30 19:13:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-qutepart pull-request 1 0 None None None 2025-07-30 10:39:19 UTC

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


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