[
https://issues.apache.org/jira/browse/CASSANDRA-20997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066075#comment-18066075
]
Stefan Miklosovic commented on CASSANDRA-20997:
-----------------------------------------------
We need to update scripts in {{.build}} to use 3.13
{code}
$ python_version=3.13 .build/docker/run-tests.sh -a cqlsh-test
Defaulting to java 11
Docker version 28.1.1, build 4eba377
Build image not found locally, pulling image
apache/cassandra-ubuntu2004_test:13ea9cfeec64fc20188db3619dcae235...
Successfully pulled build image.
Unable to find image 'alpine:3.19.1' locally
3.19.1: Pulling from library/alpine
4abcf2066143: Pull complete
Digest: sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
Status: Downloaded newer image for alpine:3.19.1
Running container
cassandra_ubuntu2004_test_cqlsh-test_jdk11_arch-x86_64_python3-13_1_1__Sb9oC1
08d848bd866c58039e4daf74b67b62826a137ca467e1d8abc5c63d48c32faeee
update-alternatives: error: alternative /usr/bin/python3.13 for python not
registered; not setting
Using Java 11
Running run-tests.sh -a cqlsh-test -c 1/1
{code}
We do not have 3.13 in the image so we can not switch to it. Then we need to
push that image and (like) accommodate CI as well.
It is also questionable if we want to update Python 3.13 in CircleCI build to
pick it up too. I would be in favor of that, it seems to be a small change.
> 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: 1h 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]