From 9438ad47d9d76a48e1bdcfe7dc4d49e5665b4620 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 10:55:23 +0000 Subject: [PATCH 1/8] https --- .../reusable_workflows/build-docker-image.yaml.jinja-base | 2 +- template/.github/workflows/ci.yaml.jinja-base | 2 +- template/.github/workflows/pre-commit.yaml.jinja-base | 2 +- template/README.md.jinja-base | 2 +- ... template_uses_pulumi %}pulumi-aws.yml{% endif %}.jinja-base | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/template/.github/reusable_workflows/build-docker-image.yaml.jinja-base b/template/.github/reusable_workflows/build-docker-image.yaml.jinja-base index 9745af5a..895b11d3 100644 --- a/template/.github/reusable_workflows/build-docker-image.yaml.jinja-base +++ b/template/.github/reusable_workflows/build-docker-image.yaml.jinja-base @@ -95,7 +95,7 @@ jobs: uses: ben-z/gh-action-mutex@{% endraw %}{{ gha_mutex }}{% raw %} with: branch: mutex-${{ inputs.repository }}-${{ inputs.image_name }} - timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it + timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it - name: Test if docker image exists if: ${{ inputs.push-role-name != 'no-push' }} diff --git a/template/.github/workflows/ci.yaml.jinja-base b/template/.github/workflows/ci.yaml.jinja-base index f092d914..9432d668 100644 --- a/template/.github/workflows/ci.yaml.jinja-base +++ b/template/.github/workflows/ci.yaml.jinja-base @@ -106,7 +106,7 @@ jobs: uses: ben-z/gh-action-mutex@{% endraw %}{{ gha_mutex }}{% raw %} with: branch: mutex-venv-${{ matrix.os }}-${{ matrix.python-version }} - timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it + timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it - name: Cache Pre-commit hooks uses: actions/cache@{% endraw %}{{ gha_cache }}{% raw %} diff --git a/template/.github/workflows/pre-commit.yaml.jinja-base b/template/.github/workflows/pre-commit.yaml.jinja-base index 74a47fa2..5fb0cf11 100644 --- a/template/.github/workflows/pre-commit.yaml.jinja-base +++ b/template/.github/workflows/pre-commit.yaml.jinja-base @@ -56,7 +56,7 @@ jobs: uses: ben-z/gh-action-mutex@{% endraw %}{{ gha_mutex }}{% raw %} with: branch: mutex-venv-{% endraw %}{{ gha_linux_runner }}{% raw %}-py${{ inputs.python-version }}-nodejs-${{ inputs.node-version }} - timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it + timeout-minutes: {% endraw %}{{ gha_medium_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it - name: Cache Pre-commit hooks uses: actions/cache@{% endraw %}{{ gha_cache }}{% raw %} diff --git a/template/README.md.jinja-base b/template/README.md.jinja-base index ad5f775a..7b3fb3bf 100644 --- a/template/README.md.jinja-base +++ b/template/README.md.jinja-base @@ -2,7 +2,7 @@ [![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-black.json)](https://github.com/copier-org/copier) [![Actions status](https://www.github.com/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}/actions/workflows/ci.yaml/badge.svg?branch=main)](https://www.github.com/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}/actions) [![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://www.github.com/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}) -[![OpenIssues](http://isitmaintained.com/badge/open/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}.svg)](http://isitmaintained.com/project/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}) +[![OpenIssues](https://isitmaintained.com/badge/open/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}.svg)](https://isitmaintained.com/project/{% endraw %}{{ repo_org_name }}/{{ repo_name }}{% raw %}) # Usage To create a new repository using this template: diff --git a/template/template/.github/workflows/{% if template_uses_pulumi %}pulumi-aws.yml{% endif %}.jinja-base b/template/template/.github/workflows/{% if template_uses_pulumi %}pulumi-aws.yml{% endif %}.jinja-base index 0f3c3c25..480ebf59 100644 --- a/template/template/.github/workflows/{% if template_uses_pulumi %}pulumi-aws.yml{% endif %}.jinja-base +++ b/template/template/.github/workflows/{% if template_uses_pulumi %}pulumi-aws.yml{% endif %}.jinja-base @@ -111,7 +111,7 @@ jobs: uses: ben-z/gh-action-mutex@{% endraw %}{{ gha_mutex }}{% raw %} with: branch: mutex-pulumi-${{ inputs.PULUMI_STACK_NAME }}-${{ inputs.ADDITIONAL_MUTEX_SUFFIX }} - timeout-minutes: {% endraw %}{{ gha_long_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it + timeout-minutes: {% endraw %}{{ gha_long_timeout_minutes }}{% raw %} # this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it - name: Pulumi Initial Destroy to cleanup any leftovers uses: ./.github/actions/pulumi_ephemeral_deploy From bec9dafceaa6b18c3394ccac06c3e35dece5a279 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 11:00:53 +0000 Subject: [PATCH 2/8] cli --- extensions/context.py | 2 ++ template/extensions/context.py.jinja-base | 2 ++ 2 files changed, 4 insertions(+) diff --git a/extensions/context.py b/extensions/context.py index 242d20dd..c6885b10 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -110,6 +110,8 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["debian_release_name"] = "bookworm" context["alpine_image_version"] = "3.22" context["nginx_image_version"] = "1.29.1" + ####### + context["kiota_cli_version"] = "1.29" # These also in the tests/data.yml files in this repository and in copier.yaml context["py312_version"] = "3.12.7" # ReadTheDocs does not yet support 3.12.8 context["py313_version"] = "3.13.2" diff --git a/template/extensions/context.py.jinja-base b/template/extensions/context.py.jinja-base index 76c335c7..cd745fca 100644 --- a/template/extensions/context.py.jinja-base +++ b/template/extensions/context.py.jinja-base @@ -104,6 +104,8 @@ class ContextUpdater(ContextHook): context["py313_version"] = "{{ py313_version }}" context["py314_version"] = "{{ py314_version }}" + context["kiota_cli_version"] = "{{ kiota_cli_version }}" + context["debian_release_name"] = "{{ debian_release_name }}" context["alpine_image_version"] = "{{ alpine_image_version }}" context["nginx_image_version"] = "{{ nginx_image_version }}" From 7b5975a67eda3106574d7d1068f65c0f9f9b0009 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 11:42:16 +0000 Subject: [PATCH 3/8] nuxtui --- extensions/context.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/context.py b/extensions/context.py index c6885b10..68f98a08 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -36,7 +36,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["pydantic_version"] = "2.12.4" context["pyinstaller_version"] = "6.16.0" context["setuptools_version"] = "80.7.1" - context["strawberry_graphql_version"] = "0.284.1" + context["strawberry_graphql_version"] = "0.287.0" context["fastapi_version"] = "0.121.0" context["fastapi_offline_version"] = "1.7.4" context["uvicorn_version"] = "0.38.0" @@ -50,7 +50,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["python_kiota_bundle_version"] = "1.9.7" ####### context["node_version"] = "24.7.0" - context["nuxt_ui_version"] = "^4.1.0" + context["nuxt_ui_version"] = "^4.2.1" context["nuxt_version"] = "^4.2.0" context["nuxt_icon_version"] = "^2.1.0" context["typescript_version"] = "^5.9.3" From 1943ac3d578024d6ef2d4e5ca281032149c7e8b9 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 11:42:43 +0000 Subject: [PATCH 4/8] node --- extensions/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/context.py b/extensions/context.py index 68f98a08..2c1deb08 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -66,7 +66,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["nuxt_eslint_version"] = "^1.10.0" context["zod_version"] = "^4.1.12" context["zod_from_json_schema_version"] = "^0.5.1" - context["types_node_version"] = "^24.10.0" + context["types_node_version"] = "^24.10.1" context["nuxt_apollo_version"] = "5.0.0-alpha.15" context["graphql_codegen_cli_version"] = "^6.0.0" context["graphql_codegen_typescript_version"] = "^5.0.0" From bb499092564ad6dce0024497dad497fa142bc923 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 12:01:26 +0000 Subject: [PATCH 5/8] zero --- extensions/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/context.py b/extensions/context.py index 2c1deb08..97cd8c43 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -111,7 +111,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["alpine_image_version"] = "3.22" context["nginx_image_version"] = "1.29.1" ####### - context["kiota_cli_version"] = "1.29" + context["kiota_cli_version"] = "1.29.0" # These also in the tests/data.yml files in this repository and in copier.yaml context["py312_version"] = "3.12.7" # ReadTheDocs does not yet support 3.12.8 context["py313_version"] = "3.13.2" From 1b64524ddccc1352ca0da3c6f12f316f4856dc4a Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 12:35:41 +0000 Subject: [PATCH 6/8] whitespace --- template/extensions/context.py.jinja-base | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/template/extensions/context.py.jinja-base b/template/extensions/context.py.jinja-base index cd745fca..f4085b16 100644 --- a/template/extensions/context.py.jinja-base +++ b/template/extensions/context.py.jinja-base @@ -100,16 +100,16 @@ class ContextUpdater(ContextHook): context["gha_long_timeout_minutes"] = "{{ gha_long_timeout_minutes }}" context["gha_xlong_timeout_minutes"] = "{{ gha_xlong_timeout_minutes }}" - context["py312_version"] = "{{ py312_version }}" - context["py313_version"] = "{{ py313_version }}" - context["py314_version"] = "{{ py314_version }}" - - context["kiota_cli_version"] = "{{ kiota_cli_version }}" - context["debian_release_name"] = "{{ debian_release_name }}" context["alpine_image_version"] = "{{ alpine_image_version }}" context["nginx_image_version"] = "{{ nginx_image_version }}" + context["kiota_cli_version"] = "{{ kiota_cli_version }}" + + context["py312_version"] = "{{ py312_version }}" + context["py313_version"] = "{{ py313_version }}" + context["py314_version"] = "{{ py314_version }}" + # Kludge to be able to help symlinked jinja files in the child and grandchild templates context["template_uses_vuejs"] = {{ "True" if template_uses_vuejs else "False" }} context["template_uses_javascript"] = {{ "True" if template_uses_javascript else "False" }} From d721c2ca600d069a39b104cdb3e9505402f116d7 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 12:38:33 +0000 Subject: [PATCH 7/8] code --- .coveragerc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.coveragerc b/.coveragerc index 7ee237b3..94913474 100644 --- a/.coveragerc +++ b/.coveragerc @@ -5,6 +5,9 @@ omit = */vendor_files/* # omit any auto-generated API client code */generated/open_api/* + # omit circuit python firmware + */firmware/code.py + */firmware/boot.py [report] # Regexes for lines to exclude from consideration From 0d97aa5dc4c279131ac429726c1b5a9bd23b92a5 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Wed, 26 Nov 2025 12:38:57 +0000 Subject: [PATCH 8/8] case --- .coveragerc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 94913474..5f9051a8 100644 --- a/.coveragerc +++ b/.coveragerc @@ -5,7 +5,7 @@ omit = */vendor_files/* # omit any auto-generated API client code */generated/open_api/* - # omit circuit python firmware + # omit CircuitPython firmware */firmware/code.py */firmware/boot.py