python-trio / purerpc

Native, async Python gRPC client and server implementation supporting asyncio, uvloop, and trio
Apache License 2.0
217 stars 15 forks source link

anyio dependency is too limited #31

Closed belm0 closed 2 years ago

belm0 commented 3 years ago

purerpc requires anyio 1.x, but anyio is a rapidly evolving API and 2.x is already in use, causing conflicts between purerpc and other application dependencies.

https://github.com/standy66/purerpc/blob/5faa35f2cdf5b36d1398a1aa6a9e681c5344060f/setup.py#L67

purerpc use of anyio is light, so it's probably not hard to support both 1.x and 2.x. (Note that 2.x dropped curio support.)