[ 
https://issues.apache.org/jira/browse/CASSANDRA-20997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059881#comment-18059881
 ] 

Arvind Kandpal commented on CASSANDRA-20997:
--------------------------------------------

*Update on my approach after looking more into the build system:*

Instead of manually adding asyncore.py, I plan to use the existing dependency 
mechanism.
 # Use .build/build-resolver.xml to fetch the official pyasyncore package from 
PyPI and place it as a .zip in the lib/ directory.
 # Add 'pyasyncore-' to the third_parties tuple in bin/cqlsh.py.
 # Relax the version guards in bin/cqlsh and bin/cqlsh.py to allow 3.12 and 
3.13.

This matches exactly how existing dependencies like wcwidth and pure_sasl are 
currently handled. It safely fixes the driver crash on Python 3.12+ without 
touching the bundled driver's internal code.

I have raised a PR Please review : cc [~stefan.miklosovic] 

> Support Python 3.13
> -------------------
>
>                 Key: CASSANDRA-20997
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20997
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Build, Dependencies, Tool/cqlsh
>            Reporter: fmaurer
>            Assignee: Arvind Kandpal
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Using the cassandra install for debian using the latest deb of 5.0.6, the 
> database does not come up with JDK-21:
> {{java.lang.UnsupportedOperationException: The Security Manager is deprecated 
> and will be removed in a future release}}
>  
> This can be fixed with 
> {{JVM_EXTRA_OPTS="$JVM_EXTRA_OPTS -Djava.security.manager=allow"}}
> {{in /etc/cassandra/cassandra-env.sh}}
> then after {{systemctl restart cassandra}}
> the `cqlsh` fails with
> {{Warning: unsupported version of Python, required 3.6-3.11 but found 3.13}}
> {{No appropriate Python interpreter found.}}
>  
> I would like to see a project of this size to support a more recent 
> technology stack as well.
> Is there any plan to fix these issues? Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to