From 42a4d10ea5ed0d8f337edb73a2c8a3c60e162aaa Mon Sep 17 00:00:00 2001 From: DiscordLiz <47602820+DiscordLiz@users.noreply.github.com> Date: Sat, 8 Feb 2020 07:45:45 -0500 Subject: [PATCH] Update websockets & Show DeprecationWarnings from all modules (#3527) related : #3526 --- changelog.d/3256.dep.rst | 1 + changelog.d/3526.enhance.rst | 1 + redbot/__init__.py | 2 ++ setup.cfg | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelog.d/3256.dep.rst create mode 100644 changelog.d/3526.enhance.rst diff --git a/changelog.d/3256.dep.rst b/changelog.d/3256.dep.rst new file mode 100644 index 000000000..554998fa1 --- /dev/null +++ b/changelog.d/3256.dep.rst @@ -0,0 +1 @@ +Use websockets 8.1 diff --git a/changelog.d/3526.enhance.rst b/changelog.d/3526.enhance.rst new file mode 100644 index 000000000..15256eb6a --- /dev/null +++ b/changelog.d/3526.enhance.rst @@ -0,0 +1 @@ +Show DeprecationWarning's diff --git a/redbot/__init__.py b/redbot/__init__.py index 16461d28d..5e930bf52 100644 --- a/redbot/__init__.py +++ b/redbot/__init__.py @@ -196,3 +196,5 @@ version_info = VersionInfo.from_str(__version__) # Filter fuzzywuzzy slow sequence matcher warning _warnings.filterwarnings("ignore", module=r"fuzzywuzzy.*") +# Show DeprecationWarning +_warnings.filterwarnings("default", category=DeprecationWarning) diff --git a/setup.cfg b/setup.cfg index ef68bef17..78f5fa611 100644 --- a/setup.cfg +++ b/setup.cfg @@ -50,7 +50,7 @@ install_requires = schema==0.7.1 tqdm==4.41.1 uvloop==0.14.0; sys_platform != "win32" and platform_python_implementation == "CPython" - websockets==6.0 + websockets==8.1 yarl==1.4.2 [options.extras_require]