diff --git a/.claude/skills/address-pr-comments/fetch-pr-comments.py b/.claude/skills/address-pr-comments/fetch-pr-comments.py index c88b27aff..283a46a41 100755 --- a/.claude/skills/address-pr-comments/fetch-pr-comments.py +++ b/.claude/skills/address-pr-comments/fetch-pr-comments.py @@ -70,6 +70,7 @@ def gh_rest(*args: str) -> Any: # noqa: ANN401 — return type is genuinely unk ["gh", *call_args], # noqa: S607 — gh is expected on PATH capture_output=True, text=True, + encoding="utf-8", check=True, timeout=GH_TIMEOUT_SECONDS, ) @@ -91,6 +92,7 @@ def gh_graphql(query: str, variables: dict[str, str | int]) -> Any: # noqa: ANN args, capture_output=True, text=True, + encoding="utf-8", check=True, timeout=GH_TIMEOUT_SECONDS, ) @@ -105,6 +107,7 @@ def fetch_current_user_login() -> str: ["gh", "api", "user", "--jq", ".login"], # noqa: S607 — gh is expected on PATH capture_output=True, text=True, + encoding="utf-8", check=True, timeout=GH_TIMEOUT_SECONDS, ) diff --git a/.config/.copier-answers.yml b/.config/.copier-answers.yml index dbe1ebd31..e2d5615cc 100644 --- a/.config/.copier-answers.yml +++ b/.config/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.0.144 +_commit: v0.0.145 _src_path: gh:LabAutomationAndScreening/copier-base-template.git copier_answers_directory: .config description: A web app that is hosted within a local intranet. Nuxt frontend, python diff --git a/extensions/context.py b/extensions/context.py index 63226f1dd..0d994e2a8 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -64,9 +64,10 @@ def hook( # noqa: PLR0915 # yes, this is a lot of statements, but it's all just context["python_faker_version"] = ">=40.35.0" context["mutmut_version"] = ">=3.6.0" context["pyrefly_version"] = ">=1.1.1" + context["vacuum_openapi_version"] = "0.30.0" context["default_node_version"] = "24.11.1" - context["nuxt_ui_version"] = "^4.8.1" + context["nuxt_ui_version"] = "^4.10.0" context["nuxt_version"] = "^4.4.6" context["nuxt_icon_version"] = "^2.2.1" context["typescript_version"] = "^6.0.2" @@ -96,9 +97,10 @@ def hook( # noqa: PLR0915 # yes, this is a lot of statements, but it's all just context["vue_eslint_parser_version"] = "^10.4.0" context["happy_dom_version"] = "^20.10.1" context["node_kiota_bundle_version"] = "1.0.0-preview.103" - context["labsync_nuxt_common_version"] = "^0.1.4" + context["labsync_nuxt_common_version"] = "^0.2.3" context["tanstack_vue_table_version"] = "^8.21.3" context["unplugin_auto_import_version"] = "^21.0.0" + context["openapi_types_version"] = "^12.1.3" context["gha_checkout"] = "v6.0.2" context["gha_setup_python"] = "v6.2.0" diff --git a/template/.claude/skills/address-pr-comments/fetch-pr-comments.py b/template/.claude/skills/address-pr-comments/fetch-pr-comments.py index c88b27aff..283a46a41 100755 --- a/template/.claude/skills/address-pr-comments/fetch-pr-comments.py +++ b/template/.claude/skills/address-pr-comments/fetch-pr-comments.py @@ -70,6 +70,7 @@ def gh_rest(*args: str) -> Any: # noqa: ANN401 — return type is genuinely unk ["gh", *call_args], # noqa: S607 — gh is expected on PATH capture_output=True, text=True, + encoding="utf-8", check=True, timeout=GH_TIMEOUT_SECONDS, ) @@ -91,6 +92,7 @@ def gh_graphql(query: str, variables: dict[str, str | int]) -> Any: # noqa: ANN args, capture_output=True, text=True, + encoding="utf-8", check=True, timeout=GH_TIMEOUT_SECONDS, ) @@ -105,6 +107,7 @@ def fetch_current_user_login() -> str: ["gh", "api", "user", "--jq", ".login"], # noqa: S607 — gh is expected on PATH capture_output=True, text=True, + encoding="utf-8", check=True, timeout=GH_TIMEOUT_SECONDS, ) diff --git a/template/frontend/package.json.jinja b/template/frontend/package.json.jinja index e4d4ec7a2..37463b1fd 100644 --- a/template/frontend/package.json.jinja +++ b/template/frontend/package.json.jinja @@ -71,7 +71,8 @@ "graphql": "^16.14.0", "graphql-tag": "^2.12.6",{% endraw %}{% endif %}{% raw %} "happy-dom": "{% endraw %}{{ happy_dom_version }}{% raw %}",{% endraw %}{% if frontend_uses_graphql %}{% raw %} - "mock-apollo-client": "^1.4.0",{% endraw %}{% endif %}{% raw %} + "mock-apollo-client": "^1.4.0",{% endraw %}{% endif %}{% if is_circuit_python_driver %}{% raw %} + "openapi-types": "{% endraw %}{{ openapi_types_version }}{% raw %}",{% endraw %}{% endif %}{% raw %} "playwright": "{% endraw %}{{ playwright_version }}{% raw %}", "playwright-core": "{% endraw %}{{ playwright_version }}{% raw %}", "postcss": "^8.5.14",