Hi, Thanks for working on this, its appreciated.
I'm sure we are not the only once with production environments that like to upgrade from Python 3.11. If this could be backported at least to 5.0 it would help with this. Regards, /Tommy -----Original Message----- From: Arvind Kandpal via dev <[email protected]<mailto:arvind%20kandpal%20via%20dev%20%[email protected]%3e>> Reply-To: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Cc: Arvind Kandpal <[email protected]<mailto:arvind%20kandpal%20%[email protected]%3e>> Subject: [DISCUSS] Target branches for Python 3.12/3.13 support in cqlsh (CASSANDRA-20997) Date: Tue, 10 Mar 2026 12:02:31 +0530 Hi everyone, I have been working on CASSANDRA-20997 to add support for Python 3.12 and 3.13. As part of this ticket, we found that simply relaxing the version checks in cqlsh fails because the asyncore module was removed in Python 3.12. To fix this, I have raised a PR that fetches the official pyasyncore package as a dependency and places it in the lib/ directory as a stopgap solution until the asyncio reactor becomes the default. The PR is ready, but Stefan Miklosovic suggested bringing this to the mailing list to figure out the target branches. Should this fix be merged into trunk only, or is there a preference to backport this Python 3.12/3.13 support to 5.0 (and potentially older supported branches like 4.1 or 4.0)? Looking forward to your feedback. Thanks, -- [https://lh3.googleusercontent.com/a/ACg8ocItr9QFLImBpdzRgJTh39PzXqLdu8rvfxw9JxZ4Qv2a-L2ajKs=s288-c-no][ksolves-logo] Arvind Kandpal Junior Software Engineer [phone] (+91) 9650266413<tel:(+91)+9650266413> [https://www.ksolves.com/assets/icon2/location.png] Noida, India [https://www.ksolves.com/assets/icon2/globe.png] www.ksolves.com<https://www.ksolves.com/> [https://www.ksolves.com/wp-content/uploads/2026/02/updated-partner.png] [Great Place To Work Certified]
