Hello, I’m maintaining a package net-misc/etebase-server on my overlay. I see that since I have it on my overlay, uvicorn has been added to ::gentoo. If I would add etebase-server as a proxy-maint in ::gentoo, dev-python/uvicorn should RDEPEND on dev-python/websockets as it need it. Maybe could it be added as a USE flag if you wish.
and probably also in DEPEND
Hi, As far as I can tell, websockets is just one of several backends that uvicorn supports. That's why upstream doesn't list it as a mandatory dependency, only h11 is mandatory: https://github.com/encode/uvicorn/blob/bf1c64e2c141971c546671c7dc91b8ccf0afeb7d/setup.py#L46 A USE flag that doesn't require a rebuild doesn't sound very useful and we don't yet have support for runtime-switchable USE flags. It's probably easiest if you add websockets to your package's RDEPEND.
Right, but I heavily think that uvicorn needs it also at build time, else, it does not work
Ah maybe not, sorry, you are right.
(In reply to Quentin Retornaz from comment #3) > Right, but I heavily think that uvicorn needs it also at build time, else, > it does not work > Ah maybe not, sorry, you are right. Just for the test phase, I think. This is why it is only listed there. I spent quite a bit of time checking dependencies for httpx and its revdeps.