When I locally enabled pypy3 support in app-portage/gentoopm and app-portage/smart-live-rebuild, it works fine. But I can't send such PR because app-portage/gentoopm requires sys-apps/pkgcore to support pypy3, otherwise repoman complains. And its dependency (dev-python/snakeoil) seems to fail tests for me with a compilation error: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver2 -ggdb3 -fPIC -fno-strict-aliasing -Iinclude -I/usr/lib/pypy3.6/include -I/usr/lib/pypy3.6/include -c /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_posix.c -o /mnt/portagetmp/portage/dev-py thon/snakeoil-0.8.8/work/snakeoil-0.8.8-pypy3/temp.linux-x86_64-3.6/mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_posix.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=znver2 -ggdb3 -fPIC -fno-strict-aliasing -Iinclude -I/usr/lib/pypy3.6/include -I/usr/lib/pypy3.6/include -c /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_sequences.c -o /mnt/portagetmp/portage/de v-python/snakeoil-0.8.8/work/snakeoil-0.8.8-pypy3/temp.linux-x86_64-3.6/mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_sequences.o /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_posix.c:501: warning: "PyObject_Unicode" redefined 501 | #define PyObject_Unicode PyObject_Str | In file included from /usr/lib/pypy3.6/include/Python.h:144, from /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_posix.c:18: /usr/lib/pypy3.6/include/pypy_decl.h:681: note: this is the location of the previous definition 681 | #define PyObject_Unicode PyPyObject_Unicode | /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_sequences.c:500: warning: "PyObject_Unicode" redefined 500 | #define PyObject_Unicode PyObject_Str | In file included from /usr/lib/pypy3.6/include/Python.h:144, from /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_sequences.c:17: /usr/lib/pypy3.6/include/pypy_decl.h:681: note: this is the location of the previous definition 681 | #define PyObject_Unicode PyPyObject_Unicode | /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_posix.c:618:10: fatal error: osdefs.h: No such file or directory 618 | #include "osdefs.h" | ^~~~~~~~~~ compilation terminated. x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=znver2 -ggdb3 /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8-pypy3/temp.linux-x86_64-3.6/mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8/src/snakeoil/_sequen ces.o -o /mnt/portagetmp/portage/dev-python/snakeoil-0.8.8/work/snakeoil-0.8.8-pypy3/lib/snakeoil/_sequences.pypy36-pp73-x86_64-linux-gnu.so -- Performing basic C toolchain sanity check -- Performing basic C toolchain sanity check -- works error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
Created attachment 663190 [details] emerge --info
This is error shown when I'm running emerge using pypy3: Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild' This is the reason for this request. <@mgorny> maybe the set should be split from the tool
(In reply to Alexey from comment #2) > This is error shown when I'm running emerge using pypy3: > > Error during set creation: Could not import > 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild' > I got that error in a new emerge parallel to the emerge @world one after I've added the line "PYTHON_TARGETS="python3_9 python3_8" in /etc/portage/make.conf (had no PYTHON_TARGETS line before, but 3.7 (and 3.6 maybe) were possibly in effect) but that was because the @world emerge didn't yet emerge app-portage/smart-live-rebuild-1.3.6 so it wasn't using the same python as portage and gentoopm (which were already emerged when I ran the parallel emerge) So this is unrelated to your issue, but just wanted to mention it just in case anyone temp-hits this error in the future.