Bug 2378312 - python-urwidtrees: Stop using deprecated %py3_build/%py3_install macros
Summary: python-urwidtrees: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-urwidtrees
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Tomecek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 15:16 UTC by Miro Hrončok
Modified: 2025-11-13 01:23 UTC (History)
2 users (show)

Fixed In Version: python-urwidtrees-1.0.4-1.fc43 python-urwidtrees-1.0.4-1.fc42 python-urwidtrees-1.0.4-1.fc41
Clone Of:
Environment:
Last Closed: 2025-11-13 00:50:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 15:16:09 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 Dick Marinus 2025-11-01 07:31:09 UTC
I've submitted a fix for this in https://src.fedoraproject.org/rpms/python-urwidtrees/pull-request/3

https://copr.fedorainfracloud.org/coprs/meeuw/python-urwidtrees/

As this is a dependency for alot feel free to add me as a maintainer for this package.

Comment 2 Tomas Tomecek 2025-11-03 11:16:16 UTC
Thanks for cleaning this up, I missed this issue.

Comment 3 Fedora Update System 2025-11-04 19:09:42 UTC
FEDORA-2025-fb9fd40106 (python-urwidtrees-1.0.4-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-fb9fd40106

Comment 4 Fedora Update System 2025-11-04 19:09:45 UTC
FEDORA-2025-0f6da5dd5e (python-urwidtrees-1.0.4-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0f6da5dd5e

Comment 5 Fedora Update System 2025-11-04 19:09:49 UTC
FEDORA-2025-f5b95b1628 (python-urwidtrees-1.0.4-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f5b95b1628

Comment 6 Fedora Update System 2025-11-05 00:55:12 UTC
FEDORA-2025-0f6da5dd5e has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0f6da5dd5e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0f6da5dd5e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-11-05 02:12:18 UTC
FEDORA-2025-fb9fd40106 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-fb9fd40106`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-fb9fd40106

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-11-05 04:17:43 UTC
FEDORA-2025-f5b95b1628 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f5b95b1628`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f5b95b1628

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-11-13 00:50:40 UTC
FEDORA-2025-fb9fd40106 (python-urwidtrees-1.0.4-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-11-13 01:10:15 UTC
FEDORA-2025-0f6da5dd5e (python-urwidtrees-1.0.4-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-11-13 01:23:30 UTC
FEDORA-2025-f5b95b1628 (python-urwidtrees-1.0.4-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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