From 4931100b443c37ca21568a257fc582221ee8c38d Mon Sep 17 00:00:00 2001 From: Sami Altamimi Date: Tue, 5 Oct 2021 21:03:05 -0500 Subject: [PATCH 1/2] Advise version incompatibility with Python 3.9.7 Due to a bug in Python 3.9.7, code situations where we call an __init__ function in a subclass will fail with a TypeError. This is only a bug within the Python language and was patched out with Python 3.10 and this doesn't affect Python 3.9.6. Here, we are advising the incompatibility. --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 1c956bdc..19a87468 100644 --- a/README.rst +++ b/README.rst @@ -41,7 +41,9 @@ Key Features Installing ---------- -**Python 3.8 or higher is required** +**Python 3.8 or higher is required*** + +***Do not use 3.9.7 as Python 3.9.7 has a bug that causes a TypeError with __init__ methods in subclasses.** View more `here `_. To install the library without full voice support, you can just run the following command: -- 2.47.2 From e48493b36cde5afae40afe0fbab84c0ef895656c Mon Sep 17 00:00:00 2001 From: Sami Altamimi Date: Tue, 5 Oct 2021 21:12:40 -0500 Subject: [PATCH 2/2] Actually block out Python 3.9.7 reference PR https://github.com/iDevision/enhanced-discord.py/pull/93 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 40f5b037..b4442a50 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ setup( include_package_data=True, install_requires=requirements, extras_require=extras_require, - python_requires=">=3.8.0", + python_requires=">=3.8.0, !=3.9.7", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", -- 2.47.2