Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905619 - Several Missing Keywords in Gentoo Prefix for Python 3.11
Summary: Several Missing Keywords in Gentoo Prefix for Python 3.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 886491
  Show dependency tree
 
Reported: 2023-05-02 21:09 UTC by Tom Li
Modified: 2023-05-03 06:44 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 Tom Li 2023-05-02 21:09:32 UTC
Gentoo has bumped Python to Python 3.11. Currently there are several missing keywords for new Python dependencies that prevents bootstrap on macOS and other architectures supported by prefix.

Note that it's not the only issue of Python 3.11 in Gentoo Prefix. Another problem is Python's util-linux dependency, which has been reported in and should be address at Bug 905618.

I found these packages are affected:

* dev-python/gentoo-common
* dev-python/ensurepip-wheels
* dev-python/ensurepip-pip
* dev-python/ensurepip-setuptools

Missing all prefix keywords. There's no prefix keywords whatsoever.

* app-misc/mime-types

Missing ~arm64-macos keyword, but includes most prefix keywords.
Comment 1 Tom Li 2023-05-02 23:45:08 UTC
I've just committed a patch into my private tree, awaiting for further testing.
Comment 2 Tom Li 2023-05-03 03:39:21 UTC
I just tested the patch and confirmed that it's working. I've just opened a Pull Request at https://github.com/gentoo/gentoo/pull/30851.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-03 06:43:00 UTC
commit af360e896fdf8c35f15391e5143f1b911c3b4c1f
Author: Fabian Groffen <grobian@gentoo.org>
Date:   Wed May 3 08:17:04 2023 +0200

    dev-python/gentoo-common: add Prefix keywords

    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Comment 4 Larry the Git Cow gentoo-dev 2023-05-03 06:44:50 UTC
The bug has been closed via the following commit(s):

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

commit ec9b13756141cfc6064c9aafdfc48f43f09d3e4c
Author:     Yifeng Li <tomli@tomli.me>
AuthorDate: 2023-05-02 23:15:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-03 06:43:40 +0000

    dev-python/ensurepip-pip: keywords for all Prefix targets.
    
    This package is now a dependency of Python 3.11. It needs keywords
    to allow Gentoo Prefix to bootstrap successfully. Since this package
    is an architecture-independent script, it should be safe to keyword
    it for all Gentoo Prefix targets.
    
    Closes: https://bugs.gentoo.org/905619
    Signed-off-by: Yifeng Li <tomli@tomli.me>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/ensurepip-pip/ensurepip-pip-22.3.1.ebuild | 2 +-
 dev-python/ensurepip-pip/ensurepip-pip-23.0.1.ebuild | 2 +-
 dev-python/ensurepip-pip/ensurepip-pip-23.1.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit c3fbb19d90117cec7115aee624dd0be72cd8077e
Author:     Yifeng Li <tomli@tomli.me>
AuthorDate: 2023-05-02 23:30:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-03 06:43:36 +0000

    dev-python/ensurepip-wheels: keywords for all Prefix targets.
    
    This package is now a dependency of Python 3.11. It needs keywords
    to allow Gentoo Prefix to bootstrap successfully. Since this package
    is an architecture-independent script, it should be safe to keyword
    it for all Gentoo Prefix targets.
    
    Bug: https://bugs.gentoo.org/905619
    Signed-off-by: Yifeng Li <tomli@tomli.me>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/ensurepip-wheels/ensurepip-wheels-100.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1305b49fe5f204c970a4e46d1419fad2f6bed44a

commit 1305b49fe5f204c970a4e46d1419fad2f6bed44a
Author:     Yifeng Li <tomli@tomli.me>
AuthorDate: 2023-05-02 23:25:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-03 06:43:32 +0000

    dev-python/ensurepip-setuptools: keywords for all Prefix targets.
    
    This package is now a dependency of Python 3.11. It needs keywords
    to allow Gentoo Prefix to bootstrap successfully. Since this package
    is an architecture-independent script, it should be safe to keyword
    it for all Gentoo Prefix targets.
    
    Bug: https://bugs.gentoo.org/905619
    Signed-off-by: Yifeng Li <tomli@tomli.me>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/ensurepip-setuptools/ensurepip-setuptools-67.6.1.ebuild | 2 +-
 dev-python/ensurepip-setuptools/ensurepip-setuptools-67.7.0.ebuild | 2 +-
 dev-python/ensurepip-setuptools/ensurepip-setuptools-67.7.1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=244d301b6508bc6c7a155f35fa0c5cf2e7fbc693

commit 244d301b6508bc6c7a155f35fa0c5cf2e7fbc693
Author:     Yifeng Li <tomli@tomli.me>
AuthorDate: 2023-05-02 23:17:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-03 06:43:20 +0000

    app-misc/mime-types: keyword ~arm64-macos.
    
    This package is now needed as a dependency to allow Gentoo Prefix's
    stage3 bootstrap to successfully complete on macOS.
    
    Bug: https://bugs.gentoo.org/905619
    Signed-off-by: Yifeng Li <tomli@tomli.me>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/mime-types/mime-types-2.1.53.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)