dev-python/gevent removed from official gentoo tree as of 2022-12-20
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8710aa0a9078053187c690a48117ea820fc91f5c <- gevent has been removed. if one updates @world one would get newer greenlet, which does not work with the latest gevent that was in the tree. Need old gevent with blocker for new greenlet, or new gevent in the overlay for trytond-admin to work
this is the error with greenlet-2.0.1:
tryton ~ # trytond-admin -c /etc/tryton/trytond.conf -d tryton -v --all
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/trytond-admin", line 29, in <module>
import trytond.admin as admin
File "/usr/lib/python3.9/site-packages/trytond/admin.py", line 11, in <module>
from trytond import backend
File "/usr/lib/python3.9/site-packages/trytond/backend/__init__.py", line 22, in <module>
_module = importlib.import_module(_modname)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib/python3.9/site-packages/trytond/backend/postgresql/__init__.py", line 4, in <module>
from .database import (
File "/usr/lib/python3.9/site-packages/trytond/backend/postgresql/database.py", line 783, in <module>
if is_gevent_monkey_patched():
File "/usr/lib/python3.9/site-packages/trytond/tools/gevent.py", line 7, in is_gevent_monkey_patched
from gevent import monkey
File "/usr/lib/python3.9/site-packages/gevent/__init__.py", line 86, in <module>
from gevent._hub_local import get_hub
File "/usr/lib/python3.9/site-packages/gevent/_hub_local.py", line 101, in <module>
import_c_accel(globals(), 'gevent.__hub_local')
File "/usr/lib/python3.9/site-packages/gevent/_util.py", line 148, in import_c_accel
mod = importlib.import_module(cname)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/_hub_local.py", line 1, in init gevent._gevent_c_hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject