You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ma...@apache.org on 2022/03/11 12:18:55 UTC
[kafka] branch 2.6 updated: MINOR: unpin ducktape dependency to always use the newest version (#11883)
This is an automated email from the ASF dual-hosted git repository.
manikumar pushed a commit to branch 2.6
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.6 by this push:
new 21d2671 MINOR: unpin ducktape dependency to always use the newest version (#11883)
21d2671 is described below
commit 21d2671bd21a44f2b3df507909915ec96b2fc24f
Author: Stanislav Vodetskyi <49...@users.noreply.github.com>
AuthorDate: Fri Mar 11 04:17:00 2022 -0800
MINOR: unpin ducktape dependency to always use the newest version (#11883)
Ensures we always have the latest published ducktape version (compatible with python 2).
This way whenever we release a new one, we won't have to cherry pick a bunch of commits across a bunch of branches.
---
tests/docker/Dockerfile | 2 +-
tests/setup.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index 66d1c38..6191d9e 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -34,7 +34,7 @@ LABEL ducker.creator=$ducker_creator
# Update Linux and install necessary utilities.
RUN apt update && apt install -y sudo netcat iptables rsync unzip wget curl jq coreutils openssh-server net-tools vim python-pip python-dev libffi-dev libssl-dev cmake pkg-config libfuse-dev iperf traceroute && apt-get -y clean
RUN python -m pip install -U pip==9.0.3;
-RUN pip install --upgrade cffi virtualenv pyasn1 boto3 pycrypto pywinrm ipaddress enum34 && pip install --upgrade ducktape==0.7.17
+RUN pip install --upgrade cffi virtualenv pyasn1 boto3 pycrypto pywinrm ipaddress enum34 && pip install --upgrade "ducktape>0.7,<0.8"
# Set up ssh
COPY ./ssh-config /root/.ssh/config
diff --git a/tests/setup.py b/tests/setup.py
index 6927710..3d9c82a 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.7.17", "requests==2.22.0"],
+ install_requires=["ducktape>0.7,<0.8", "requests==2.22.0"],
tests_require=["pytest", "mock"],
cmdclass={'test': PyTest},
)