RedCokeDevelopment / Teapot.py

A multi-purpose discord.py python discord bot
https://teapot.bot
MIT License
185 stars 33 forks source link

Bump websockets from 6.0 to 8.1 #17

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 4 years ago

Bumps websockets from 6.0 to 8.1.

Changelog

Sourced from websockets's changelog.

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.

Commits
  • 139085f Bump version number.
  • 20d1eb2 RST doesn't work inside raw HTML.
  • b4f6efa Make single-element tuple unpacking more explicit.
  • 2a3c858 Reject invalid Basic Auth credentials.
  • 0b5de4e Add websockets for enterprise page to the docs.
  • d62ef45 Use the new Tidelift copy in README.
  • 2a87496 hardcoded top-level export
  • 3dab1fb Small simplification.
  • 154c5fa Remove useless type declaration.
  • d537c26 Fix refactoring error.
  • Additional commits viewable in compare view


Dependabot compatibility score

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)