Bug 2378427 - quodlibet: Stop using deprecated %py3_build/%py3_install macros
Summary: quodlibet: Stop using deprecated %py3_build/%py3_install macros
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: quodlibet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: hannes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376118
TreeView+ depends on / blocked
 
Reported: 2025-07-08 15:24 UTC by Miro Hrončok
Modified: 2025-07-08 17:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-07-08 16:35:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-07-08 15:24:15 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 Łukasz Patron 2025-07-08 16:35:26 UTC
Addressed via https://src.fedoraproject.org/rpms/quodlibet/c/787b22a2735f78034e9a8457902996dc69781bab

However I cannot fedkpg build on rawhide (builds fine on F42) due to unrelated regression.

Comment 2 Miro Hrončok 2025-07-08 17:01:33 UTC
Thanks.

Comment 3 Łukasz Patron 2025-07-08 17:45:08 UTC
(In reply to Łukasz Patron from comment #1)
> Addressed via
> https://src.fedoraproject.org/rpms/quodlibet/c/
> 787b22a2735f78034e9a8457902996dc69781bab
> 
> However I cannot fedkpg build on rawhide (builds fine on F42) due to
> unrelated regression.

Builds with the following workaround:

```
diff --git a/quodlibet.spec b/quodlibet.spec
index e4ca85d..961f0e7 100644
--- a/quodlibet.spec
+++ b/quodlibet.spec
@@ -116,7 +116,7 @@ desktop-file-install \
 
 
 %check
-%pytest -m "not network"
+NO_AT_BRIDGE=1 %pytest -m "not network"
 
 
 %files

```

Issue reported upstream @ https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/198


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