Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909858 - app-admin/ansible-core: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: app-admin/ansible-core: needs to use PEP517 build (DistutilsNonPEP517Build)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:45 UTC by Michał Górny
Modified: 2024-03-12 05:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-07-08 06:45:03 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-06 15:30:18 UTC
Final ping.  Please note that we will not hesitate to last rite low profile packages over this.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-08 04:29:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17301a0d3be5a056502f827ed5e699fe5695d6f8

commit 17301a0d3be5a056502f827ed5e699fe5695d6f8
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2024-03-08 04:28:12 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2024-03-08 04:28:12 +0000

    app-admin/ansible-core: switch to pep517 based eclass path
    
    Closes: https://bugs.gentoo.org/909858
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 app-admin/ansible-core/ansible-core-2.14.13.ebuild | 2 +-
 app-admin/ansible-core/ansible-core-2.15.8.ebuild  | 2 +-
 app-admin/ansible-core/ansible-core-2.16.2.ebuild  | 2 +-
 app-admin/ansible-core/ansible-core-2.16.4.ebuild  | 2 +-
 app-admin/ansible-core/ansible-core-9999.ebuild    | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-03-12 05:16:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5d4b6b9797f87a06e4fc6ef79313caab942721

commit 1d5d4b6b9797f87a06e4fc6ef79313caab942721
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-12 05:09:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-12 05:15:37 +0000

    app-admin/ansible-core: revbump for PEP517 change
    
    diff is OK:
    ```
     * CMP: =app-admin/ansible-core-2.16.4 with app-admin/ansible-core-2.16.4/image
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/entry_points.txt
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/requires.txt
     *  FILES:-usr/lib/python3.10/site-packages/ansible_core-*-py3.10.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.10/site-packages/ansible_core-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.10/site-packages/ansible_core-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.10/site-packages/ansible_core-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.10/site-packages/ansible_core-*.dist-info/entry_points.txt
     *  FILES:+usr/lib/python3.10/site-packages/ansible_core-*.dist-info/top_level.txt
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/entry_points.txt
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/requires.txt
     *  FILES:-usr/lib/python3.11/site-packages/ansible_core-*-py3.11.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.11/site-packages/ansible_core-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.11/site-packages/ansible_core-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.11/site-packages/ansible_core-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.11/site-packages/ansible_core-*.dist-info/entry_points.txt
     *  FILES:+usr/lib/python3.11/site-packages/ansible_core-*.dist-info/top_level.txt
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/entry_points.txt
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/requires.txt
     *  FILES:-usr/lib/python3.12/site-packages/ansible_core-*-py3.12.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.12/site-packages/ansible_core-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.12/site-packages/ansible_core-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.12/site-packages/ansible_core-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.12/site-packages/ansible_core-*.dist-info/entry_points.txt
     *  FILES:+usr/lib/python3.12/site-packages/ansible_core-*.dist-info/top_level.txt
     * ------> FILES(+15,-21)
    ```
    
    Fixes: 17301a0d3be5a056502f827ed5e699fe5695d6f8
    Bug: https://bugs.gentoo.org/909858
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{ansible-core-2.14.13.ebuild => ansible-core-2.14.13-r1.ebuild}       | 0
 .../{ansible-core-2.15.8.ebuild => ansible-core-2.15.8-r1.ebuild}         | 0
 .../{ansible-core-2.16.2.ebuild => ansible-core-2.16.2-r1.ebuild}         | 0
 .../{ansible-core-2.16.4.ebuild => ansible-core-2.16.4-r1.ebuild}         | 0
 4 files changed, 0 insertions(+), 0 deletions(-)