Bug 2378427

Summary: quodlibet: Stop using deprecated %py3_build/%py3_install macros
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: quodlibetAssignee: hannes <johannes.lips>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: johannes.lips, priv.luk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-08 16:35:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2376118    

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