Bug 2378305 - python-unidiff: Stop using deprecated %py3_build/%py3_install macros
Summary: python-unidiff: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-unidiff
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Focko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 15:15 UTC by Miro Hrončok
Modified: 2025-07-18 01:06 UTC (History)
1 user (show)

Fixed In Version: python-unidiff-0.7.5-8.fc43 python-unidiff-0.7.5-8.el9 python-unidiff-0.7.5-8.fc42
Clone Of:
Environment:
Last Closed: 2025-07-09 20:53:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 15:15:40 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 Fedora Update System 2025-07-09 10:05:14 UTC
FEDORA-2025-5819ac071c (python-unidiff-0.7.5-8.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-5819ac071c

Comment 2 Fedora Update System 2025-07-09 10:18:47 UTC
FEDORA-2025-49ac683ef5 (python-unidiff-0.7.5-8.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-49ac683ef5

Comment 3 Fedora Update System 2025-07-09 10:19:59 UTC
FEDORA-EPEL-2025-a3fcf081f8 (python-unidiff-0.7.5-8.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a3fcf081f8

Comment 4 Fedora Update System 2025-07-09 20:53:43 UTC
FEDORA-2025-5819ac071c (python-unidiff-0.7.5-8.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2025-07-10 15:10:46 UTC
FEDORA-EPEL-2025-a3fcf081f8 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a3fcf081f8

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

Comment 6 Fedora Update System 2025-07-10 16:01:33 UTC
FEDORA-2025-49ac683ef5 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-49ac683ef5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-49ac683ef5

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

Comment 7 Fedora Update System 2025-07-18 00:26:06 UTC
FEDORA-EPEL-2025-a3fcf081f8 (python-unidiff-0.7.5-8.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-07-18 01:06:40 UTC
FEDORA-2025-49ac683ef5 (python-unidiff-0.7.5-8.fc42) has been pushed to the Fedora 42 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.