From 10f5bf4699139529bc8f53d4b1adee0cdfcfd22e Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Thu, 16 Nov 2023 11:28:50 +0000 Subject: [PATCH] Update ehrQL image to v1 At time of writing, the ehrQL image is still at v0, but we will need this change in the near future to switch to v1 once a Docker ehrQL image with a v1 tag is available. --- opensafely/pull.py | 2 +- tests/test_pull.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opensafely/pull.py b/opensafely/pull.py index 2c3472c..011a098 100644 --- a/opensafely/pull.py +++ b/opensafely/pull.py @@ -130,7 +130,7 @@ def remove_deprecated_images(local_images): def get_default_version_for_image(name): if name in ["databuilder", "ehrql"]: - return "v0" + return "v1" else: return "latest" diff --git a/tests/test_pull.py b/tests/test_pull.py index b1c0749..155c220 100644 --- a/tests/test_pull.py +++ b/tests/test_pull.py @@ -45,8 +45,8 @@ def test_default_no_local_images_force(run, capsys): stdout="", ) run.expect(["docker", "pull", tag("cohortextractor")]) - run.expect(["docker", "pull", tag("databuilder", version="v0")]) - run.expect(["docker", "pull", tag("ehrql", version="v0")]) + run.expect(["docker", "pull", tag("databuilder", version="v1")]) + run.expect(["docker", "pull", tag("ehrql", version="v1")]) run.expect(["docker", "pull", tag("jupyter")]) run.expect(["docker", "pull", tag("python")]) run.expect(["docker", "pull", tag("r")])