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

support aiohttp and sanic for python 3.6 #289

Closed
antonio-antuan opened this issue Mar 13, 2019 · 4 comments
Closed

support aiohttp and sanic for python 3.6 #289

antonio-antuan opened this issue Mar 13, 2019 · 4 comments
Labels
Help wanted Extra attention is needed

Comments

@antonio-antuan
Copy link

Looks like aiohttp and sanic integrations python 3.6 can be supported, because of backported contextvars library

@untitaker
Copy link
Member

afaik the issue was that this contextvars backport doesn't work with asyncio from the stdlib at all (leaking context all over the place).

We have leak tests in the sanic test suite, so if the testsuite works with that backport this would be interesting to investigate again

@untitaker untitaker added the Help wanted Extra attention is needed label Mar 13, 2019
@antonio-antuan
Copy link
Author

Unfortunatelly, you are right :(
Here is an issue about asyncio support.

@untitaker
Copy link
Member

Just curious, is something holding you on Python 3.6? Distro packages?

@antonio-antuan
Copy link
Author

antonio-antuan commented Mar 13, 2019

Sure :)
To upgrade from 3.6 to 3.7 we need to change aiohttp, aiopg versions: currently one of them uses async as argument. After upgrading library version, we need change another one, because API changed... A half year ago I tried to do it, but problems apeared like a snowball... Going to make another try :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants