Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909979 - dev-util/gertty: needs to use PEP517 build (DistutilsNonPEP517Build)
Summary: dev-util/gertty: 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 (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pep517-porting
  Show dependency tree
 
Reported: 2023-07-08 06:56 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:56:57 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:52 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:19 UTC
Final ping.  Please note that we will not hesitate to last rite low profile packages over this.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2024-03-08 04:13:09 UTC
This was fixed as well, maybe closes needs to be capitalized.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-12 04:18:03 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #3)
> This was fixed as well, maybe closes needs to be capitalized.

yes, it does.. just use pkgdev commit -c?
Comment 5 Larry the Git Cow gentoo-dev 2024-03-12 05:16:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ccfffa5524eba5950f104e8eb2c9d70e1deca0f

commit 6ccfffa5524eba5950f104e8eb2c9d70e1deca0f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-12 04:21:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-12 05:15:34 +0000

    dev-util/gertty: revbump for PEP517 change
    
    diff is OK:
    ```
     * CMP: =dev-util/gertty-1.6.0-r1 with dev-util/gertty-1.6.0-r1/image
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/entry_points.txt
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/pbr.json
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/requires.txt
     *  FILES:-usr/lib/python3.10/site-packages/gertty-*-py3.10.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/AUTHORS
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/entry_points.txt
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/pbr.json
     *  FILES:+usr/lib/python3.10/site-packages/gertty-*.dist-info/top_level.txt
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/PKG-INFO
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/SOURCES.txt
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/dependency_links.txt
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/entry_points.txt
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/not-zip-safe
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/pbr.json
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/requires.txt
     *  FILES:-usr/lib/python3.11/site-packages/gertty-*-py3.11.egg-info/top_level.txt
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/AUTHORS
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/METADATA
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/RECORD
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/WHEEL
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/entry_points.txt
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/pbr.json
     *  FILES:+usr/lib/python3.11/site-packages/gertty-*.dist-info/top_level.txt
     * ------> FILES(+14,-16)
    ```
    
    Fixes: 56c1fa06eecb61c479c435161bf6cadb37dc2661
    Bug: https://bugs.gentoo.org/909979
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/gertty/{gertty-1.6.0-r1.ebuild => gertty-1.6.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)