diff --git a/pylib/cassandra-cqlsh-tests.sh b/pylib/cassandra-cqlsh-tests.sh index 871c542ccc..75ed3fd763 100755 --- a/pylib/cassandra-cqlsh-tests.sh +++ b/pylib/cassandra-cqlsh-tests.sh @@ -59,6 +59,9 @@ fi set -e # enable immediate exit if venv setup fails virtualenv --python=python2 venv source venv/bin/activate +# install pip for python2 like this, if it is not already installed +# curl -sS https://bootstrap.pypa.io/pip/2.7/get-pip.py | python2 +pip install 'pip<21' 'setuptools<45' 'wheel<0.35' 'pbr<6' pip install -r ${CASSANDRA_DIR}/pylib/requirements.txt pip freeze diff --git a/pylib/requirements.txt b/pylib/requirements.txt index b177be80df..8b1a81b98c 100644 --- a/pylib/requirements.txt +++ b/pylib/requirements.txt @@ -19,9 +19,9 @@ # http://datastax.github.io/python-driver/installation.html#cython-based-extensions futures six --e git+https://github.com/datastax/python-driver.git@cassandra-test#egg=cassandra-driver +-e git+https://github.com/apache/cassandra-python-driver.git@3.25.0#egg=cassandra-driver # Used ccm version is tracked by cassandra-test branch in ccm repo. Please create a PR there for fixes or upgrades to new releases. --e git+https://github.com/riptano/ccm.git@cassandra-test#egg=ccm +-e git+https://github.com/apache/cassandra-ccm.git@cassandra-test#egg=ccm cql decorator docopt