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

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

{code:java}
~/Desktop/cassandra-github-code/cassandra-builds/docker/testing$ docker build 
-t apache/cassandra-testing-ubuntu2004-java11:local-test -f 
ubuntu2004_j11.docker .
[+] Building 589.0s (74/74) FINISHED                                            
                                                                                
   docker:desktop-linux
 => [internal] load build definition from ubuntu2004_j11.docker                 
                                                                                
                   0.1s
 => => transferring dockerfile: 12.94kB                                         
                                                                                
                   0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                 
                                                                                
                   2.8s
 => [internal] load .dockerignore                                               
                                                                                
                   0.1s
 => => transferring context: 2B                                                 
                                                                                
                   0.0s
 => [ 1/69] FROM 
docker.io/library/ubuntu:22.04@sha256:445586e41c1de7dfda82d2637f5ff688deea9eb5f5812f8c145afacc35b9f0db
                                                            0.3s
 => => resolve 
docker.io/library/ubuntu:22.04@sha256:445586e41c1de7dfda82d2637f5ff688deea9eb5f5812f8c145afacc35b9f0db
                                                              0.3s
 => [29/69] ADD 
https://raw.githubusercontent.com/apache/cassandra-dtest/trunk/requirements.txt 
/opt                                                                            
   0.6s
 => CACHED [ 2/69] RUN echo 'APT::Acquire::Retries "99";' > 
/etc/apt/apt.conf.d/80-retries                                                  
                                       0.0s
 => CACHED [ 3/69] RUN echo 'Acquire::http::Timeout "60";' > 
/etc/apt/apt.conf.d/80proxy.conf                                                
                                      0.0s
 => CACHED [ 4/69] RUN echo 'Acquire::ftp::Timeout "60";' >> 
/etc/apt/apt.conf.d/80proxy.conf                                                
                                      0.0s
 => CACHED [ 5/69] RUN export DEBIAN_FRONTEND=noninteractive &&     apt-get 
update &&     apt-get install -y --no-install-recommends 
software-properties-common apt-utils vim gnu  0.0s
 => CACHED [ 6/69] RUN export DEBIAN_FRONTEND=noninteractive &&     wget 
https://www.openssl.org/source/openssl-1.1.1w.tar.gz &&     tar xzf 
openssl-1.1.1w.tar.gz &&     cd open  0.0s
 => CACHED [ 7/69] RUN export DEBIAN_FRONTEND=noninteractive &&     wget 
https://www.python.org/ftp/python/3.6.15/Python-3.6.15.tgz &&     tar xzf 
Python-3.6.15.tgz &&     cd Py  0.0s
 => CACHED [ 8/69] RUN export DEBIAN_FRONTEND=noninteractive &&     
add-apt-repository -y ppa:deadsnakes/ppa &&     apt-get update &&     apt-get 
install -y curl git-core python  0.0s
 => CACHED [ 9/69] RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o 
get-pip.py                                                                      
                       0.0s
 => CACHED [10/69] RUN python2.7 get-pip.py                                     
                                                                                
                   0.0s
 => CACHED [11/69] RUN if ! [ -f /usr/bin/python2 ] ; then ln -s 
/usr/bin/python2.7 /usr/bin/python2 ; fi                                        
                                  0.0s
 => CACHED [12/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python2.7 1                                                            
                       0.0s
 => CACHED [13/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3.6 2                                                            
                       0.0s
 => CACHED [14/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3.7 3                                                            
                       0.0s
 => CACHED [15/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3.8 4                                                            
                       0.0s
 => CACHED [16/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3.11 5                                                           
                       0.0s
 => CACHED [17/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3.12 6                                                           
                       0.0s
 => CACHED [18/69] RUN update-alternatives --install /usr/bin/python python 
/usr/bin/python3.13 7                                                           
                       0.0s
 => CACHED [19/69] RUN python2.7 -m pip install --upgrade pip                   
                                                                                
                   0.0s
 => CACHED [20/69] RUN curl -sS https://bootstrap.pypa.io/pip/3.6/get-pip.py | 
python3.6                                                                       
                    0.0s
 => CACHED [21/69] RUN python3.7 -m pip install --upgrade pip                   
                                                                                
                   0.0s
 => CACHED [22/69] RUN python3.8 -m pip install --upgrade pip                   
                                                                                
                   0.0s
 => CACHED [23/69] RUN curl -sS https://bootstrap.pypa.io/get-pip.py | 
python3.11                                                                      
                            0.0s
 => CACHED [24/69] RUN curl -sS https://bootstrap.pypa.io/get-pip.py | 
python3.12                                                                      
                            0.0s
 => CACHED [25/69] RUN curl -sS https://bootstrap.pypa.io/get-pip.py | 
python3.13                                                                      
                            0.0s
 => CACHED [26/69] RUN export DEBIAN_FRONTEND=noninteractive &&     apt-get 
update &&     apt-get install -y --no-install-recommends libjemalloc2           
                       0.0s
 => CACHED [27/69] RUN export DEBIAN_FRONTEND=noninteractive &&     apt-get 
update &&     apt-get install -y dumb-init                                      
                       0.0s
 => CACHED [28/69] RUN export DEBIAN_FRONTEND=noninteractive &&     apt-get 
update &&     apt-get install -y locales &&     locale-gen en_US.UTF-8          
                       0.0s
 => CACHED [29/69] ADD 
https://raw.githubusercontent.com/apache/cassandra-dtest/trunk/requirements.txt 
/opt                                                                        0.0s
 => CACHED [30/69] RUN chmod 0644 /opt/requirements.txt                         
                                                                                
                   0.0s
 => CACHED [31/69] RUN pip2 install virtualenv                                  
                                                                                
                   0.0s
 => CACHED [32/69] RUN pip2 install --upgrade wheel                             
                                                                                
                   0.0s
 => CACHED [33/69] RUN pip3 install virtualenv                                  
                                                                                
                   0.0s
 => CACHED [34/69] RUN pip3 install --upgrade wheel                             
                                                                                
                   0.0s
 => CACHED [35/69] RUN export DEBIAN_FRONTEND=noninteractive &&     apt-get 
update &&     apt-get install -y ca-certificates-java &&     apt-get install -y 
--no-install-recommen  0.0s
 => CACHED [36/69] RUN update-java-alternatives --set java-1.8.0-openjdk-$(dpkg 
--print-architecture)                                                           
                   0.0s
 => CACHED [37/69] RUN find /etc -type f -name java.security -exec sed -i 
's/TLSv1, TLSv1.1//' {} ;                                                       
                         0.0s
 => CACHED [38/69] RUN find /etc -type f -name java.security -exec sed -i 
's/3DES_EDE_CBC$/3DES_EDE_CBC, TLSv1, TLSv1.1/' {} ;                            
                         0.0s
 => CACHED [39/69] RUN export DEBIAN_FRONTEND=noninteractive &&     apt-get 
install -y sudo &&     adduser --disabled-password --gecos "" cassandra &&     
echo "cassandra ALL=(r  0.0s
 => CACHED [40/69] RUN chown -R cassandra:cassandra /home/cassandra             
                                                                                
                   0.0s
 => CACHED [41/69] RUN sh -c '  GO_VERSION="1.24.3" ;  
GO_VERSION_SHAS="3333f6ea53afa971e9078895eaa4ac7204a8c6b5c68c10e6bc9a33e8e391bdd8
 a463cb59382bd7ae7d8f4c68846e73c4d589f223  0.0s
 => CACHED [42/69] WORKDIR /home/cassandra                                      
                                                                                
                   0.0s
 => CACHED [43/69] RUN echo 'export ANT_HOME=/usr/share/ant' >> 
/home/cassandra/.bashrc &&     echo 'export 
JAVA8_HOME=/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)'   0.0s
 => CACHED [44/69] RUN virtualenv --python=python2.7 env2.7                     
                                                                                
                   0.0s
 => CACHED [45/69] RUN chmod +x env2.7/bin/activate                             
                                                                                
                   0.0s
 => CACHED [46/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 && source ~/env2.7/bin/activate && pip2 install 
--upgrade pip && pip2 install -e   0.0s
 => CACHED [47/69] RUN virtualenv --python=python3.6 env3.6                     
                                                                                
                   0.0s
 => CACHED [48/69] RUN chmod +x env3.6/bin/activate                             
                                                                                
                   0.0s
 => CACHED [49/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 && source ~/env3.6/bin/activate && pip3 install 
--upgrade pip && pip3 install -r   0.0s
 => CACHED [50/69] RUN virtualenv --python=python3.7 env3.7                     
                                                                                
                   0.0s
 => CACHED [51/69] RUN chmod +x env3.7/bin/activate                             
                                                                                
                   0.0s
 => CACHED [52/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 && source ~/env3.7/bin/activate && pip3 install 
--upgrade pip && pip3 install -r   0.0s
 => CACHED [53/69] RUN virtualenv --python=python3.8 env3.8                     
                                                                                
                   0.0s
 => CACHED [54/69] RUN chmod +x env3.8/bin/activate                             
                                                                                
                   0.0s
 => CACHED [55/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 && source ~/env3.8/bin/activate && pip3 install 
--upgrade pip && pip3 install -r   0.0s
 => CACHED [56/69] RUN virtualenv --python=python3.11 env3.11                   
                                                                                
                   0.0s
 => CACHED [57/69] RUN chmod +x env3.11/bin/activate                            
                                                                                
                   0.0s
 => CACHED [58/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 && source ~/env3.11/bin/activate && pip3 install 
"pip<25.0" "setuptools==60.8.2"   0.0s
 => CACHED [59/69] RUN virtualenv --python=python3.12 env3.12                   
                                                                                
                   0.0s
 => CACHED [60/69] RUN chmod +x env3.12/bin/activate                            
                                                                                
                   0.0s
 => CACHED [61/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 &&     source ~/env3.12/bin/activate &&     curl 
-sS https://bootstrap.pypa.io/ge  0.0s
 => CACHED [62/69] RUN virtualenv --python=python3.13 env3.13                   
                                                                                
                   0.0s
 => CACHED [63/69] RUN chmod +x env3.13/bin/activate                            
                                                                                
                   0.0s
 => CACHED [64/69] RUN /bin/bash -c "export CASS_DRIVER_NO_CYTHON=1 
CASS_DRIVER_NO_EXTENSIONS=1 &&     source ~/env3.13/bin/activate &&     curl 
-sS https://bootstrap.pypa.io/ge  0.0s
 => CACHED [65/69] RUN mkdir ~/.ssh                                             
                                                                                
                   0.0s
 => CACHED [66/69] RUN echo 'Host *\n UserKnownHostsFile /dev/null\n 
StrictHostKeyChecking no' > ~/.ssh/config                                       
                              0.0s
 => CACHED [67/69] RUN chown cassandra:cassandra ~/.ssh                         
                                                                                
                   0.0s
 => CACHED [68/69] RUN chown cassandra:cassandra ~/.ssh/config                  
                                                                                
                   0.0s
 => CACHED [69/69] RUN chmod 600 ~/.ssh/config                                  
                                                                                
                   0.0s
 => exporting to image                                                          
                                                                                
                 576.4s
 => => exporting layers                                                         
                                                                                
                 329.4s
 => => exporting manifest 
sha256:174558001709c3ae7fe76bd5e855425bfe4ba441f7b31995b95ff66e23e0bef9         
                                                                         0.1s
 => => exporting config 
sha256:8fd742f44f22dc08f5feb754b1e8b788c5d8874a4a7d641134257a348715f595         
                                                                           0.1s
 => => exporting attestation manifest 
sha256:da6857d9eadd9ddf928585389fee26402d5ec20fb328e356ccc5c7e65192ac14         
                                                             0.1s
 => => exporting manifest list 
sha256:bfc52f7e80d111b3986708082646d545c297fca1923c5b648d34e228d1e71a2b         
                                                                    0.1s
 => => naming to 
docker.io/apache/cassandra-testing-ubuntu2004-java11:local-test                 
                                                                                
  0.0s
 => => unpacking to 
docker.io/apache/cassandra-testing-ubuntu2004-java11:local-test                 
                                                                             
245.1s
{code}

> 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 20m
>  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