forkdelta / backend-replacement

Replacement backend
GNU Affero General Public License v3.0
57 stars 97 forks source link

Update websockets requirement from ~=7.0.0 to ~=8.1 #225

Closed dependabot-preview[bot] closed 1 year ago

dependabot-preview[bot] commented 4 years ago

Updates the requirements on websockets to permit the latest version.

Changelog *Sourced from [websockets's changelog](https://github.com/aaugustin/websockets/blob/master/docs/changelog.rst).* > 8.1 > === > > - Added compatibility with Python 3.8. > > 8.0.2 > ===== > > - Restored the ability to pass a socket with the `sock` parameter of \~server.serve. > - Removed an incorrect assertion when a connection drops. > > 8.0.1 > ===== > > - Restored the ability to import `WebSocketProtocolError` from `websockets`. > > 8.0 > === > >
> > **Version 8.0 drops compatibility with Python 3.4 and 3.5.** > >
> >
> > **Version 8.0 expects** `process_request` **to be a coroutine.** > > Previously, it could be a function or a coroutine. > > If you're passing a `process_request` argument to \~server.serve or \~server.WebSocketServerProtocol, or if you're overriding \~protocol.WebSocketServerProtocol.process\_request in a subclass, define it with `async def` instead of `def`. > > For backwards compatibility, functions are still mostly supported, but mixing functions and coroutines won't work in some inheritance scenarios. > >
> >
> > **Version 8.0 changes the behavior of the** `max_queue` **parameter.** > > If you were setting `max_queue=0` to make the queue of incoming messages unbounded, change it to `max_queue=None`. > >
> >
> > **Version 8.0 deprecates the** `host` **,** `port` **, and** `secure` **attributes of** \~protocol.WebSocketCommonProtocol. > > Use \~protocol.WebSocketCommonProtocol.local\_address in servers and \~protocol.WebSocketCommonProtocol.remote\_address in clients instead of `host` and `port`. > ... (truncated)
Commits - [`139085f`](https://github.com/aaugustin/websockets/commit/139085fe2624192a5a6c72b1e5db211dcec6ced1) Bump version number. - [`20d1eb2`](https://github.com/aaugustin/websockets/commit/20d1eb2e5afcc03b49aafbf113250ffdc9f432e2) RST doesn't work inside raw HTML. - [`b4f6efa`](https://github.com/aaugustin/websockets/commit/b4f6efaf829c6b6acd33294fb6cab14bdc61584b) Make single-element tuple unpacking more explicit. - [`2a3c858`](https://github.com/aaugustin/websockets/commit/2a3c8581a3689326d31386804b100710623526c8) Reject invalid Basic Auth credentials. - [`0b5de4e`](https://github.com/aaugustin/websockets/commit/0b5de4e3d11928115c56d52a983d0fc356559925) Add websockets for enterprise page to the docs. - [`d62ef45`](https://github.com/aaugustin/websockets/commit/d62ef45facfc07aedf1f630b891f8c06212c5c59) Use the new Tidelift copy in README. - [`2a87496`](https://github.com/aaugustin/websockets/commit/2a87496cd80b273205bf5226ab0f9c12078b775d) hardcoded top-level export - [`3dab1fb`](https://github.com/aaugustin/websockets/commit/3dab1fbe3705ba2c24cc7672d5ca3d7f02ea3535) Small simplification. - [`154c5fa`](https://github.com/aaugustin/websockets/commit/154c5fa964fe407341edad5e70367e64913023bb) Remove useless type declaration. - [`d537c26`](https://github.com/aaugustin/websockets/commit/d537c26ac380a1b74444f83f31cd744f7f24bf15) Fix refactoring error. - Additional commits viewable in [compare view](https://github.com/aaugustin/websockets/compare/7.0...8.1)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)