-
Notifications
You must be signed in to change notification settings - Fork 159
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
Bug in settings.py: AttributeError: 'module' object has no attribute ENABLE_PUSH #1050
Comments
You'll get this error if you install https://github.com/Lukasa/hyper with h2 3.0.0 or higher. But the setup.py for Lukasa/hyper specifically pins to the 2.x series of h2, precisely to avoid this issue: https://github.com/Lukasa/hyper/blob/development/setup.py#L79-L81 If you run We could do the proposed change, but we’d have to bump the required version of h2 in hyper (as the |
The 2.4 series is not still supported, so that bump sounds reasonable to me. |
Any updates on this? |
Hi @aladagemre, I think this is better asked on the hyper tracker, however I think you should take a look at httpx as I believe it to be the successor to hyper. (As I don't think this is a h2 issue, I'll close. Please reopen if you think otherwise). |
h2 updated from h2.settings.ENABLE_PUSH to h2.settings.SettingCodes.ENABLE_PUSH.
Please replace /hyper/http20/connection.py:411 with:
{h2.settings.SettingCodes.ENABLE_PUSH: int(self._enable_push)}
The text was updated successfully, but these errors were encountered: