[
https://issues.apache.org/jira/browse/CASSANDRA-19603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842540#comment-17842540
]
Bret McGuire commented on CASSANDRA-19603:
------------------------------------------
Note: PYTHON-1366 (the ticket for PR 1187) returns a DependencyException when
we're unable to find a working event loop.
[PYTHON-1375|https://datastax-oss.atlassian.net/browse/PYTHON-1375] aims to
make sure the existing asyncio reactor is ready for prime time and is the new
default reactor. The current plan is that PYTHON-1375 will be included in the
next release (3.30.0), although due to other commitments work on that release
has been delayed a bit.
> Upgrade deprecated asyncore to asyncio
> --------------------------------------
>
> Key: CASSANDRA-19603
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19603
> Project: Cassandra
> Issue Type: Improvement
> Components: CQL/Interpreter
> Reporter: Brad Schoening
> Priority: Normal
>
> The asyncore module is deprecated and has been removed in Python 3.12. To
> support 3.12, we need to upgrade to use asyncio.
> DEBUG test_cqlsh:run_cqlsh.py:194 read ' from cqlshlib.cqlshmain import
> main\r\n File "pylib/cqlshlib/cqlshmain.py", line 37, in <module>\r\n
> from cassandra.cluster import Cluster\r\n File
> "lib/cassandra-driver-internal-only-3.29.0.zip/cassandra-driver-3.29.0/cassandra/cluster.py",
> line 173, in <module>\r\ncassandra.DependencyException: Unable to load a
> default connection class\r\nThe following exceptions were observed: \r\n -
> The C extension needed to use libev was not found. This probably means that
> you didn\'t have the required build dependencies when installing the driver.
> See [http://datastax.github.io/python-driver/installation.html#c-extensions]
> for instructions on installing build dependencies and building the C
> extension.\r\n - Unable to import asyncore module. Note that this module has
> been removed in Python 3.12 so when using the driver with this version (or
> anything newer) you will need to use one of the other event loop
> implementations.\r\n' from subproc
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]