diff --git a/pyproject.toml b/pyproject.toml index 615df75b4..fc38094b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -318,7 +318,7 @@ dev = [ "sybil==6.1.0", "tenacity==8.2.3", "torch==2.3.0", - "types-docker==7.0.0.20240501", # This is very incomplete, so we still do not check ``test_docker.py`` with pyright. + "types-docker==7.0.0.20240503", # This is very incomplete, so we still do not check ``test_docker.py`` with pyright. "types-Pillow==10.2.0.20240423", "types-PyYAML==6.0.12.20240311", "types-requests==2.31.0.20240406", diff --git a/tests/mock_vws/test_docker.py b/tests/mock_vws/test_docker.py index 5678dd5f1..66798e2e9 100644 --- a/tests/mock_vws/test_docker.py +++ b/tests/mock_vws/test_docker.py @@ -122,7 +122,7 @@ def test_build_and_run( vwq_tag = f"vws-mock-vwq:latest-{random}" try: - target_manager_image, _ = client.images.build( # type: ignore[no-untyped-call] + target_manager_image, _ = client.images.build( path=str(repository_root), dockerfile=str(dockerfile), tag=target_manager_tag, @@ -143,7 +143,7 @@ def test_build_and_run( reason="We do not currently support using Windows containers." ) - vwq_image, _ = client.images.build( # type: ignore[no-untyped-call] + vwq_image, _ = client.images.build( path=str(repository_root), dockerfile=str(dockerfile), tag=vwq_tag, @@ -151,7 +151,7 @@ def test_build_and_run( rm=True, ) - vws_image, _ = client.images.build( # type: ignore[no-untyped-call] + vws_image, _ = client.images.build( path=str(repository_root), dockerfile=str(dockerfile), tag=vws_tag,