"cubicweb.pyramid.core.CubicWebPyramidRequest" is still used in this cube while it has been moved to cubicweb_web
It's imported and used only in this file : https://forge.extranet.logilab.fr/cubicweb/cubes/api/-/blob/branch/default/cubicweb_api/routes.py#L21
Corresponding commit cubicweb/cubicweb@18f5d970d1a9