This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new e146c7c9164 KAFKA-17520 Align ducktape version in
tests/docker/Dockerfile and tests/setup.py (#17240)
e146c7c9164 is described below
commit e146c7c9164c4e8817fe891ac9d7d1661889b2b4
Author: Eric Chang <[email protected]>
AuthorDate: Thu Sep 26 03:44:40 2024 +0800
KAFKA-17520 Align ducktape version in tests/docker/Dockerfile and
tests/setup.py (#17240)
Reviewers: Chia-Ping Tsai <[email protected]>
---
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 bca82534cdd..57b71bf4fd0 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -63,7 +63,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"
COPY --from=build-native-image /build/kafka-binary/ /opt/kafka-binary/
# Set up ssh
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