Bug 2377233 - copr-keygen: Stop using deprecated %py3_build/%py3_install macros
Summary: copr-keygen: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: copr-keygen
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Copr Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 14:03 UTC by Miro Hrončok
Modified: 2025-09-30 02:25 UTC (History)
5 users (show)

Fixed In Version: copr-keygen-2.2-1.fc43 copr-keygen-2.2-1.fc42 copr-keygen-2.2-1.fc41
Clone Of:
Environment:
Last Closed: 2025-09-30 00:18:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 14:03:13 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 Jakub Kadlčík 2025-08-28 08:00:03 UTC
Moving upstream: https://github.com/fedora-copr/copr/issues/3843

Comment 2 Fedora Update System 2025-09-21 11:40:15 UTC
FEDORA-2025-7fa0012402 (Copr server packages) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7fa0012402

Comment 3 Fedora Update System 2025-09-21 11:40:19 UTC
FEDORA-2025-1a2ba4323b (Copr server packages) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1a2ba4323b

Comment 4 Fedora Update System 2025-09-21 11:40:22 UTC
FEDORA-EPEL-2025-47910ff95a (Copr server packages) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-47910ff95a

Comment 5 Fedora Update System 2025-09-21 11:40:26 UTC
FEDORA-2025-8194f6bedd (Copr server packages) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-8194f6bedd

Comment 6 Fedora Update System 2025-09-21 11:40:29 UTC
FEDORA-EPEL-2025-260408b717 (Copr server packages) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-260408b717

Comment 7 Fedora Update System 2025-09-22 01:50:08 UTC
FEDORA-2025-8194f6bedd 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-8194f6bedd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8194f6bedd

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

Comment 8 Fedora Update System 2025-09-22 02:22:31 UTC
FEDORA-2025-1a2ba4323b 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-1a2ba4323b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1a2ba4323b

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

Comment 9 Fedora Update System 2025-09-22 02:28:39 UTC
FEDORA-EPEL-2025-260408b717 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-260408b717

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

Comment 10 Fedora Update System 2025-09-22 02:34:29 UTC
FEDORA-2025-7fa0012402 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-7fa0012402`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7fa0012402

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

Comment 11 Fedora Update System 2025-09-22 02:37:53 UTC
FEDORA-EPEL-2025-47910ff95a 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-47910ff95a

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

Comment 12 Fedora Update System 2025-09-30 00:18:11 UTC
FEDORA-2025-8194f6bedd (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.

Comment 13 Fedora Update System 2025-09-30 00:46:34 UTC
FEDORA-EPEL-2025-260408b717 (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 14 Fedora Update System 2025-09-30 00:50:23 UTC
FEDORA-2025-1a2ba4323b (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 15 Fedora Update System 2025-09-30 01:23:12 UTC
FEDORA-2025-7fa0012402 (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 16 Fedora Update System 2025-09-30 02:25:30 UTC
FEDORA-EPEL-2025-47910ff95a (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.


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