Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 909916

Summary: dev-python/ewmh: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 909855    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:48:42 UTC
This package still uses the legacy eclass code paths.  These paths are deprecated and pose a significant maintenance cost.  Please update the package to use PEP517 build mode.  For more information, please see the Python Guide, particularly; https://projects.gentoo.org/python/guide/migration.html#migrating-to-pep-517-builds
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 20:40:56 UTC
[Adding this comment en-masse, sorry for the noise, but it's important.)

1. Please take particular care to check file diffs before/after, possibly using `iwdevtools`. Keep a particular eye out for e.g. config files now missing from /etc and instead being in /usr/lib/python*/site-packages, etc.

2. Please make sure to do the migration in a new revision in ~arch, partly because of 1.
Comment 2 Larry the Git Cow gentoo-dev 2023-07-29 10:16:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5714ecec270dff8a521e2523ad7cc3f65f18be26

commit 5714ecec270dff8a521e2523ad7cc3f65f18be26
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-07-29 10:15:12 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-07-29 10:16:14 +0000

    dev-python/ewmh: update EAPI 7 -> 8, DISTUTILS_USE_PEP517
    
    Closes: https://bugs.gentoo.org/909916
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-python/ewmh/ewmh-0.1.6.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)