diff --git a/mypy-requirements.txt b/mypy-requirements.txt index b272f1129..060e84e7a 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -1,4 +1,4 @@ -mypy==1.7.1 # also update pyproject.toml +mypy==1.8.0 # also update pyproject.toml ruamel.yaml>=0.16.0,<0.19 cwl-utils>=0.32 types-requests diff --git a/pyproject.toml b/pyproject.toml index 1f7f3a5ec..0c427a7f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "setuptools>=45", "setuptools_scm[toml]>=8.0.4,<9", - "mypy==1.7.1", # also update mypy-requirements.txt + "mypy==1.8.0", # also update mypy-requirements.txt "types-requests", "types-psutil", "importlib_resources>=1.4;python_version<'3.9'", diff --git a/tests/test_udocker.py b/tests/test_udocker.py index eb9a0ebfe..63ad97191 100644 --- a/tests/test_udocker.py +++ b/tests/test_udocker.py @@ -11,6 +11,7 @@ from .util import get_data, get_main_output, working_directory LINUX = sys.platform in ("linux", "linux2") +UDOCKER_VERSION = "1.3.12" @pytest.fixture(scope="session") @@ -19,10 +20,13 @@ def udocker(tmp_path_factory: TempPathFactory) -> str: test_environ = copy.copy(os.environ) docker_install_dir = str(tmp_path_factory.mktemp("udocker")) with working_directory(docker_install_dir): - url = "https://github.com/indigo-dc/udocker/releases/download/1.3.5/udocker-1.3.5.tar.gz" + url = ( + "https://github.com/indigo-dc/udocker/releases/download/" + f"{UDOCKER_VERSION}/udocker-{UDOCKER_VERSION}.tar.gz" + ) install_cmds = [ ["curl", "-L", url, "-o", "./udocker-tarball.tgz"], - ["tar", "xzvf", "udocker-tarball.tgz"], + ["tar", "--strip-components=1", "-xzvf", "udocker-tarball.tgz"], ["./udocker/udocker", "install"], ]