From 0d3b4c1d9ad109f17c56aa6bf49a2c3ca79a9216 Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Mon, 27 Apr 2026 10:52:13 +0200 Subject: [PATCH] Add uv sync call to update cli/glue script --- cookiecutter/update_pulp_cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookiecutter/update_pulp_cli.py b/cookiecutter/update_pulp_cli.py index f9d7a7ec4..646e45006 100755 --- a/cookiecutter/update_pulp_cli.py +++ b/cookiecutter/update_pulp_cli.py @@ -9,6 +9,7 @@ import json import logging +import subprocess import urllib.request import tomlkit @@ -119,6 +120,9 @@ def main() -> None: with open("pyproject.toml", "w") as fp: tomlkit.dump(pyproject_toml, fp) + ret = subprocess.call(["uv", "sync"]) + if ret != 0: + raise RuntimeError("uv sync failed.") if __name__ == "__main__":