You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/10/13 17:26:05 UTC

(kafka) branch 3.7 updated: KAFKA-17520 Align ducktape version in tests/docker/Dockerfile and tests/setup.py (#17485)

This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.7 by this push:
     new 50e310b4353 KAFKA-17520 Align ducktape version in tests/docker/Dockerfile and tests/setup.py (#17485)
50e310b4353 is described below

commit 50e310b4353d17db60df4694613e9c9437e6fe81
Author: Ken Huang <s7...@gmail.com>
AuthorDate: Mon Oct 14 01:25:56 2024 +0800

    KAFKA-17520 Align ducktape version in tests/docker/Dockerfile and tests/setup.py (#17485)
    
    Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
 tests/docker/Dockerfile | 3 ++-
 tests/setup.py          | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index 60da7e6b8b1..2a5efa43de5 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -35,7 +35,8 @@ LABEL ducker.creator=$ducker_creator
 # we have to install git since it is included in openjdk:8 but not openjdk:11
 RUN apt update && apt install -y sudo git netcat iptables rsync unzip wget curl jq coreutils openssh-server net-tools vim python3-pip python3-dev libffi-dev libssl-dev cmake pkg-config libfuse-dev iperf traceroute iproute2 iputils-ping && apt-get -y clean
 RUN python3 -m pip install -U pip==21.1.1;
-RUN pip3 install --upgrade cffi virtualenv pyasn1 boto3 pycrypto pywinrm ipaddress enum34 debugpy && pip3 install --upgrade "ducktape>0.8"
+# NOTE: ducktape 0.11.4 requires python3.9
+RUN pip3 install --upgrade cffi virtualenv pyasn1 boto3 pycrypto pywinrm ipaddress enum34 debugpy && pip3 install --upgrade "ducktape==0.11.4"
 
 # Set up ssh
 COPY ./ssh-config /root/.ssh/config
diff --git a/tests/setup.py b/tests/setup.py
index f60870dcaa4..fd3b9738676 100644
--- a/tests/setup.py
+++ b/tests/setup.py
@@ -51,7 +51,7 @@ setup(name="kafkatest",
       license="apache2.0",
       packages=find_packages(),
       include_package_data=True,
-      install_requires=["ducktape==0.8.14", "requests==2.24.0"],
+      install_requires=["ducktape==0.11.4", "requests==2.31.0"],
       tests_require=["pytest", "mock"],
       cmdclass={'test': PyTest},
       zip_safe=False