Discord.py: Does not work with websockets >= 4.0

Created on 28 Dec 2017  路  2Comments  路  Source: Rapptz/discord.py

Per https://github.com/aaugustin/websockets/commit/0827eeee5bfe8b776dfae70642a336d324435027 the force keyword is no longer supported in close_connection. This causes the following error when trying to call it currently:

TypeError: close_connection() got an unexpected keyword argument 'force'

Most helpful comment

It would be really nice if you made it compatible with websockets>=4.0 though, because otherwise distros won't be able to package websockets and discord.py in a consistent way.

All 2 comments

The dependances for discord.py are pinned.
https://before-you-ship.18f.gov/infrastructure/pinning-dependencies/

And as such are not designed to work on other versions.

It would be really nice if you made it compatible with websockets>=4.0 though, because otherwise distros won't be able to package websockets and discord.py in a consistent way.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adhoc92 picture adhoc92  路  3Comments

MrBrahm picture MrBrahm  路  3Comments

synbitz picture synbitz  路  3Comments

JackL0 picture JackL0  路  3Comments

Yolotroll101 picture Yolotroll101  路  3Comments