From: Colin Watson <cjwatson@debian.org>
Date: Sun, 12 Jan 2025 20:22:36 +0000
Subject: Use standard-asynchat rather than pyasynchat

There are a couple of different versions on PyPI following the removal
of `asynchat` from the standard library; `standard-asynchat` is the one
packaged in Debian.

Last-Update: 2025-09-28
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 6dc7152..c0904a9 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ TEST_DEPS = [
     "setuptools",
 ]
 if sys.version_info[:2] >= (3, 12):
-    TEST_DEPS.extend(["pyasyncore", "pyasynchat"])
+    TEST_DEPS.extend(["pyasyncore", "standard-asynchat"])
 
 if WINDOWS:
     TEST_DEPS.append("pywin32")
@@ -124,7 +124,7 @@ def main():
         # fmt: on
         install_requires=[
             "pyasyncore;python_version>='3.12'",
-            "pyasynchat;python_version>='3.12'",
+            "standard-asynchat;python_version>='3.12'",
         ],
         classifiers=[
             "Development Status :: 5 - Production/Stable",
