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.
I've just committed a patch into my private tree, awaiting for further testing.
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.
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>
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(-)