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

Bug 909873

Summary: app-emulation/diskimage-builder: needs to use PEP517 build (DistutilsNonPEP517Build)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal CC: openstack
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:45:18 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:54 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-09 16:28:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4677f3d07bc35a26ccca21ee998f8c5a070601

commit 5c4677f3d07bc35a26ccca21ee998f8c5a070601
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2023-07-09 16:27:31 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-07-09 16:28:04 +0000

    app-emulation/diskimage-builder: move to pep517
    
    Closes: https://bugs.gentoo.org/909873
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 .../diskimage-builder-3.30.0-r1.ebuild             | 41 ++++++++++++++++++++++
 .../diskimage-builder-9999.ebuild                  |  3 +-
 2 files changed, 43 insertions(+), 1 deletion(-)