-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Multidict version 4.7.0 breaks Sanic #1729
Comments
I get the same thing in my CI builds:
Environment (please complete the following information):
|
Downgrading to |
The error occurs because the
I reported the issue aio-libs/multidict#416 and made a PR I also made a PR aio-libs/multidict#417 ... a lot of boilerplate for 44 bytes |
Only the latest Sanic version 19.9.0 fail as well as 19.6.3. Version 19.6.2 (and older) works well with multidict==4.7.0. |
Also, interestingly, both 19.9.0 and 19.6.3 work on my machine with my local Python 3.8.0 (built with pyenv, Mac OS 10.15), but both don't work in the official Python Docker image 3.8. |
Here am also getting the same issue
am using python 3.7.2 version and sanic=* is in my pipfile |
Sanic version 19.6.2 work on my machine |
downgrading multidict to 4.6.1 fixed the problem for me! |
My PR is merged - hope 4.7.1 will come out soon |
Thanks all for these responses.. multidict 4.6.1 is working for me. |
@qwesda, I confirm the error is gone with the new Thanks! |
requires 4.7.1 or above |
Has anyone run Sanic with |
@ahopkins, I'm using it, no issues so far. |
Describe the bug
multidict
project just released (1 hour ago) their version 4.7.0 (https://pypi.org/project/multidict/#history), this includes a change that breaks SanicHeader
class definition.Code snippet
Expected behavior
Sanic module imports correctly.
Environment (please complete the following information):
Additional context
No extra context
The text was updated successfully, but these errors were encountered: