From ab46e3bc0e9ec971be475c991d82153e385f97a1 Mon Sep 17 00:00:00 2001 From: Solonas Gousteris Date: Fri, 1 Sep 2023 14:35:47 +0300 Subject: [PATCH] fix test issues --- .github/workflows/python.yml | 2 +- ducktape/cluster/remoteaccount.py | 30 +++++++++++++++--------------- requirements-test.txt | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index bfd4056b2..812edb651 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -11,6 +11,6 @@ jobs: with: python-version: '3.8' - name: Install Tox - run: pip install tox==3.28.0 + run: pip install tox==4.11.0 - name: Run Tox run: tox -e style,py38,cover diff --git a/ducktape/cluster/remoteaccount.py b/ducktape/cluster/remoteaccount.py index 1a3b0254b..c33b9940e 100644 --- a/ducktape/cluster/remoteaccount.py +++ b/ducktape/cluster/remoteaccount.py @@ -18,21 +18,21 @@ # Changing it due to https://github.com/redpanda-data/redpanda/issues/6792 paramiko.packet.Packetizer.REKEY_BYTES = pow(2, 32) # noqa -from contextlib import contextmanager -import logging -import os -from paramiko import SSHClient, SSHConfig, MissingHostKeyPolicy -from paramiko.ssh_exception import SSHException, NoValidConnectionsError -import shutil -import signal -import socket -import stat -import tempfile -import warnings - -from ducktape.utils.http_utils import HttpMixin -from ducktape.utils.util import wait_until -from ducktape.errors import DucktapeError +from contextlib import contextmanager # noqa +import logging # noqa +import os # noqa +from paramiko import SSHClient, SSHConfig, MissingHostKeyPolicy # noqa +from paramiko.ssh_exception import SSHException, NoValidConnectionsError # noqa +import shutil # noqa +import signal # noqa +import socket # noqa +import stat # noqa +import tempfile # noqa +import warnings # noqa + +from ducktape.utils.http_utils import HttpMixin # noqa +from ducktape.utils.util import wait_until # noqa +from ducktape.errors import DucktapeError # noqa def check_ssh(method): diff --git a/requirements-test.txt b/requirements-test.txt index 0c71f1c5b..af59e6420 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,4 @@ -pytest==6.1.0 +pytest==6.2.0 # 4.0 drops py27 support mock==4.0.2 psutil==5.7.2