[ https://issues.apache.org/jira/browse/CASSANDRA-19603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brad Schoening updated CASSANDRA-19603: --------------------------------------- Description: 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 was: 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 "/Users/brad/apache/cassandra/bin/../pylib/cqlshlib/cqlshmain.py", line 37, in <module>\r\n from cassandra.cluster import Cluster\r\n File "/Users/brad/apache/cassandra/bin/../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 > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org