[ https://issues.apache.org/jira/browse/CASSANDRA-18472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715048#comment-17715048 ]
Brandon Williams commented on CASSANDRA-18472: ---------------------------------------------- Indeed, creating the venv by forcing 2.7 to be the virtualenv backend solves it. Patch [here|https://github.com/driftx/cassandra-builds/tree/CASSANDRA-18472] that does that. > Docker images can no longer be built due to python2.7 > ----------------------------------------------------- > > Key: CASSANDRA-18472 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18472 > Project: Cassandra > Issue Type: Bug > Components: CI > Reporter: Brandon Williams > Assignee: Brandon Williams > Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 5.x > > > {noformat} > => [linux/amd64 35/56] WORKDIR /home/cassandra > > 0.1s > => [linux/amd64 36/56] RUN echo 'export ANT_HOME=/usr/share/ant' >> > /home/cassandra/.bashrc && echo 'export > JAVA8_HOME=/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)' >> > /home/cassandra/.b 0.2s > => ERROR [linux/amd64 37/56] RUN virtualenv --python=python2.7 env2.7 > > 0.5s > ------ > > [linux/amd64 37/56] RUN virtualenv --python=python2.7 env2.7: > #100 0.424 RuntimeError: failed to find interpreter for Builtin discover of > python_spec='python2.7' > ------ > ubuntu2004_j11.docker:128 > -------------------- > 126 | # included in the base image, the compiled objects are not updated > by pip at run time, which can > 127 | # cause errors if the tests rely on new driver functionality or > bug fixes. > 128 | >>> RUN virtualenv --python=python2.7 env2.7 > 129 | RUN chmod +x env2.7/bin/activate > 130 | 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 -r /opt/requirements.txt && pip2 freeze --user" > -------------------- > error: failed to solve: rpc error: code = Unknown desc = process "/bin/sh -c > virtualenv --python=python2.7 env2.7" did not complete successfully: exit > code: 1 > {noformat} -- 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