Monday, October 14, 2019 Python 3.8.0 is now available Reproducible: Always Python 3.8.0 is the newest feature release of the Python language
Created attachment 593130 [details] python-3.8.0 ebuild Just changed slot and patchset numbers from 3.7.5. Patchset follows.
Created attachment 593132 [details, diff] First patch
Created attachment 593134 [details, diff] Second patch
Created attachment 593136 [details, diff] Third patch
Created attachment 593138 [details, diff] Fourth patch
Created attachment 593140 [details, diff] Fifth patch
Created attachment 593142 [details, diff] Sixth patch
Created attachment 593144 [details, diff] Eighth patch
Created attachment 593146 [details, diff] Ninth patch
Created attachment 593148 [details, diff] Seventh patch
All the patches were ported from the 3.7.4-1 patchset and require review by someone knowledgeable.
Especially second and seventh, because were not straightforward and I might've missed something there.
Created attachment 593278 [details] all patches combined
✓ Python 3.8.0 ✓ IPython 7.8.0 ✓ Jupyter QtConsole 4.5.5 Thank you, it works!
✓ portage ✓ layman
Thanks! What has to be changed that emerge accepts PYTHON_COMPAT=( python3_8 )
emerge accepts PYTHON_COMPAT=( python3_7 python3_8 ) PYTHON_TARGETS="python3_7 python3_8" when you change /usr/portage/eclass/python-utils-r1.eclass: * _PYTHON_ALL_IMPLS= ... python3_8 * _python_impl_supported() { ... case "${impl}" in python3_[5678] also: $ grep python3_8 /etc/portage/profile/use.stable.mask -python_targets_python3_8 -python_single_target_python3_8
Created attachment 593388 [details] htop to vaunt of my success
Created attachment 593460 [details, diff] Python hashlib patch I missed another patch from 3.7.5-r1. Ported that.
Created attachment 593462 [details] Updated ebuild to include hashlib patch Updated ebuild
(In reply to MaxKarlErnstPlanck from comment #17) > emerge accepts > PYTHON_COMPAT=( python3_7 python3_8 ) > PYTHON_TARGETS="python3_7 python3_8" > when you change /usr/portage/eclass/python-utils-r1.eclass: > > * _PYTHON_ALL_IMPLS= ... python3_8 > * _python_impl_supported() { ... case "${impl}" in python3_[5678] > > also: > $ grep python3_8 /etc/portage/profile/use.stable.mask > -python_targets_python3_8 > -python_single_target_python3_8 Thanks! My changes get lost after every eix-sync. How can this be disabled? Helmut
> My changes get lost after every eix-sync. How can this be disabled? Well, I guess we have to wait until gentoo devs make that permanent. So, Gentoo Devs, please, add python3.8 support to /usr/portage/eclass/python-utils-r1.eclass
(In reply to Helmut Jarausch from comment #21) > My changes get lost after every eix-sync. How can this be disabled? > Helmut You could create your local overlay, copy eclass there along with ebuild and patches, rename it to something like python-utils-r99.eclass and modify ebuild in local overlay so it uses your custom eclass instead of default one. Gentoo Devs seems to be ignoring this Python release for quite a while; I know that they are underhanded, but that's still very strange.
Bad news is that we can't use your patches because you didn't read the disclaimer above attachment form. Good news is that a few of them are wrong anyway, so the effort in detecting that and fixing them would exceed the effort from rebasing old patches from scratch. I've pushed a fresh patchset to git.g.o:fork/cpython, gentoo-3.8.0 tag. I have a new ebuild on the way, and will commit it as soon as I finish initial testing.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0966d2ffd1195cfd55e8e9b598d5720b6cc4f47d commit 0966d2ffd1195cfd55e8e9b598d5720b6cc4f47d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-11-11 20:51:52 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-11-11 21:03:18 +0000 dev-lang/python: Bump to 3.8.0 Closes: https://bugs.gentoo.org/697842 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-lang/python/Manifest | 2 + dev-lang/python/python-3.8.0.ebuild | 331 ++++++++++++++++++++++++++++++++++++ 2 files changed, 333 insertions(+)