@ahopkins wrote:
Opinions wanted…
The new
SanicTestClient
usesrequests-async
instead ofaiohttp
. In the past, we got around havingaiohttp
be a hard dependency by doing the import right inside the method.I think we really have two options here: (1) we make
requests-async
a hard dependency of Sanic (and not justpip install sanic[test]
; or (2) we break offtesting.py
into a new repo. That new repo would become an extra dependency. What are your thoughts? @core-devs?My argument for making it a project on its own would be to continue to keep Sanic core as lean and dependency free as it can be in production.