Bug 2378523 - python-copr: Stop using deprecated %py3_build/%py3_install macros
Summary: python-copr: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-copr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 15:30 UTC by Miro Hrončok
Modified: 2025-09-12 19:22 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-06 02:12:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 15:30:47 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 Miroslav Suchý 2025-07-09 20:45:57 UTC
Upstream PR https://github.com/fedora-copr/copr/pull/3780

Comment 2 Fedora Update System 2025-08-28 07:53:53 UTC
FEDORA-EPEL-2025-d3f5eb1702 (Copr server packages) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-d3f5eb1702

Comment 3 Fedora Update System 2025-08-28 07:54:10 UTC
FEDORA-2025-b9355eccbb (Copr server packages) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b9355eccbb

Comment 4 Fedora Update System 2025-08-29 01:20:53 UTC
FEDORA-2025-24fc6d6306 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-24fc6d6306`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-24fc6d6306

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

Comment 5 Fedora Update System 2025-08-29 02:06:21 UTC
FEDORA-2025-b9355eccbb 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-b9355eccbb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b9355eccbb

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

Comment 6 Fedora Update System 2025-08-29 02:20:00 UTC
FEDORA-EPEL-2025-d3f5eb1702 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-d3f5eb1702

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

Comment 7 Fedora Update System 2025-08-29 02:24:44 UTC
FEDORA-EPEL-2025-0d8a8f9f56 has been pushed to the Fedora EPEL 8 testing repository.

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

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

Comment 8 Fedora Update System 2025-08-29 02:28:09 UTC
FEDORA-2025-0f9baea7dc 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-0f9baea7dc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0f9baea7dc

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

Comment 9 Fedora Update System 2025-09-06 02:12:49 UTC
FEDORA-2025-0f9baea7dc (Copr server packages) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2025-09-06 02:14:11 UTC
FEDORA-EPEL-2025-d3f5eb1702 (Copr server packages) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-09-06 02:22:36 UTC
FEDORA-EPEL-2025-0d8a8f9f56 (Copr server packages) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2025-09-06 02:37:59 UTC
FEDORA-2025-24fc6d6306 (Copr server packages) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-09-12 19:22:51 UTC
FEDORA-2025-b9355eccbb (Copr server packages) has been pushed to the Fedora 43 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.