Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Python: Support trio #4001

Closed
helderco opened this issue Nov 28, 2022 · 2 comments
Closed

✨ Python: Support trio #4001

helderco opened this issue Nov 28, 2022 · 2 comments
Labels
kind/dx Issue affects the Dagger developer experience: cue syntax, APIs, etc sdk/python

Comments

@helderco
Copy link
Contributor

helderco commented Nov 28, 2022

What are you trying to do?

Having trio support would be nice. I've been slowly moving towards this by first adopting anyio and now migrating to httpx.

What's missing is testing it. The current tests are already based on anyio, so it's just a matter of switching the backend during a test run.

By focusing on AnyIO we should get Trio support and any other backend that AnyIO supports.

Why is this important to you?

Python comes with the asyncio built-in package, but Trio has a friendlier API and we want to include its users. Otherwise people who use Trio can't use the Dagger Python SDK.

Dependencies

@helderco helderco changed the title ✨ Python: Support *trio* ✨ Python: Support trio Nov 28, 2022
@helderco
Copy link
Contributor Author

I suspect a problem with this since gql uses asyncio specifically. Need to investigate if we can work with that or convince the project to adopt AnyIO.

@mircubed mircubed added the stuck label Jan 12, 2023
@mircubed mircubed added kind/dx Issue affects the Dagger developer experience: cue syntax, APIs, etc and removed stuck labels Mar 20, 2023
@helderco
Copy link
Contributor Author

It's been more than a year since there's any activity to move the core GraphQL library to adopt AnyIO instead of asyncio. Let's revisit this at a later time.

@helderco helderco closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dx Issue affects the Dagger developer experience: cue syntax, APIs, etc sdk/python
Projects
None yet
Development

No branches or pull requests

3 participants