Just updated to python 3.6. [ebuild R ] app-portage/gentoolkit-0.4.0 PYTHON_TARGETS="-python3_4*"
I've updated my local overlay to enable Python 3.6 for gentoolkit. I've already found an issue with revdep-rebuild. I will keep testing, but if anyone else wants to test, copy either the gentoolkit-0.4.0 or gentoolkit-9999 ebuild to your local overlay and change PYTHON_COMPAT to be: PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6} pypy) If you find an issue, please file a bug and make it block this bug.
I saw that bug https://bugs.gentoo.org/617498 is fixed. Is this bug fixed to??
(In reply to fhede from comment #2) > I saw that bug https://bugs.gentoo.org/617498 is fixed. > Is this bug fixed to?? Python 3.6 has been added to PYTHON_COMPAT in 0.4.1 ebuild but not in 9999.
meanwhile python3_6 has been added to 0.4.0 ebuild, but could it be that this beauty here: Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/revdep-rebuild", line 37, in <module> from gentoolkit.revdep_rebuild import rebuild File "/usr/lib/python3.6/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 29, in <module> from .analyse import analyse File "/usr/lib/python3.6/site-packages/gentoolkit/revdep_rebuild/analyse.py", line 18, in <module> from .collect import (prepare_search_dirs, parse_revdep_config, File "/usr/lib/python3.6/site-packages/gentoolkit/revdep_rebuild/collect.py", line 18, in <module> from .settings import parse_revdep_config File "/usr/lib/python3.6/site-packages/gentoolkit/revdep_rebuild/settings.py", line 19, in <module> 'DEFAULT_LD_FILE': os.path.join(portage.root, 'etc/ld.so.conf'), File "/usr/lib/python3.6/posixpath.py", line 80, in join a = os.fspath(a) TypeError: expected str, bytes or os.PathLike object, not _LegacyGlobalProxy comes from 0.4.0 not supporting python3_6 as python3 at all? I keyworded 0.4.2-r1, which works just fine. Also build 0.4.0 with python2_7 only, which works fine as well.
(In reply to tt_1 from comment #4) > 'DEFAULT_LD_FILE': os.path.join(portage.root, 'etc/ld.so.conf'), > File "/usr/lib/python3.6/posixpath.py", line 80, in join > a = os.fspath(a) > TypeError: expected str, bytes or os.PathLike object, not _LegacyGlobalProxy > > comes from 0.4.0 not supporting python3_6 as python3 at all? Since gentoolkit contains so many tools, it probably means that most of the tools work fine with python3.6, I see the PYTHON_COMPAT was adjusted by this commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9845156c143c6d1ece2ae3a21da8a41daa6c3649 > I keyworded 0.4.2-r1, which works just fine. Also build 0.4.0 with python2_7 > only, which works fine as well. Great! Thanks for reporting.