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")])