Skip to content

Commit 6fcc2cc

Browse files
committed
copier
1 parent 11d61cf commit 6fcc2cc

16 files changed

Lines changed: 58 additions & 41 deletions

File tree

‎.copier-answers.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v0.0.83
2+
_commit: v0.0.85
33
_src_path: gh:LabAutomationAndScreening/copier-base-template.git
44
description: Copier template for creating Python libraries and executables
55
install_claude_cli: false

‎.devcontainer/devcontainer.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"extensions": [
2222
// basic tooling
2323
// "eamodio.gitlens@15.5.1",
24-
"coderabbit.coderabbit-vscode@0.15.2",
24+
"coderabbit.coderabbit-vscode@0.16.0",
2525
"ms-vscode.live-server@0.5.2025051301",
2626
"MS-vsliveshare.vsliveshare@1.0.5905",
2727
"github.copilot@1.388.0",
28-
"github.copilot-chat@0.33.2025102701",
28+
"github.copilot-chat@0.34.2025112401",
2929

3030
// Python
3131
"ms-python.python@2025.17.2025100201",
@@ -63,5 +63,5 @@
6363
"initializeCommand": "sh .devcontainer/initialize-command.sh",
6464
"onCreateCommand": "sh .devcontainer/on-create-command.sh",
6565
"postStartCommand": "sh .devcontainer/post-start-command.sh"
66-
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): a69fbb56 # spellchecker:disable-line
66+
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): eeccb984 # spellchecker:disable-line
6767
}

‎.devcontainer/install-ci-tooling.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
import tempfile
88
from pathlib import Path
99

10-
UV_VERSION = "0.9.7"
11-
PNPM_VERSION = "10.21.0"
12-
COPIER_VERSION = "9.10.3"
10+
UV_VERSION = "0.9.11"
11+
PNPM_VERSION = "10.23.0"
12+
COPIER_VERSION = "9.11.0"
1313
COPIER_TEMPLATE_EXTENSIONS_VERSION = "0.3.3"
14-
PRE_COMMIT_VERSION = "4.3.0"
14+
PRE_COMMIT_VERSION = "4.5.0"
1515
GITHUB_WINDOWS_RUNNER_BIN_PATH = r"C:\Users\runneradmin\.local\bin"
1616
INSTALL_SSM_PLUGIN_BY_DEFAULT = False
1717
parser = argparse.ArgumentParser(description="Install CI tooling for the repo")

‎.github/reusable_workflows/build-docker-image.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ permissions:
4343
jobs:
4444
build-image:
4545
name: Build Docker Image
46+
timeout-minutes: 15
4647
runs-on: ubuntu-24.04
4748
outputs:
4849
artifact-name: ${{ steps.calculate-build-context-hash.outputs.image_name_no_slashes }}
@@ -94,7 +95,7 @@ jobs:
9495
uses: ben-z/gh-action-mutex@1ebad517141198e08d47cf72f3c0975316620a65 # v1.0.0-alpha.10
9596
with:
9697
branch: mutex-${{ inputs.repository }}-${{ inputs.image_name }}
97-
timeout-minutes: 30 # 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
98+
timeout-minutes: 8 # 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
9899

99100
- name: Test if docker image exists
100101
if: ${{ inputs.push-role-name != 'no-push' }}

‎.github/workflows/ci.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
'--data-file tests/copier_data/data3.yaml',
4747
]
4848
runs-on: ${{ matrix.os }}
49+
timeout-minutes: 8
4950
env:
5051
UV_PYTHON: ${{ matrix.python-version }}
5152
permissions:
@@ -107,7 +108,7 @@ jobs:
107108
uses: ben-z/gh-action-mutex@1ebad517141198e08d47cf72f3c0975316620a65 # v1.0.0-alpha.10
108109
with:
109110
branch: mutex-venv-${{ matrix.os }}-${{ matrix.python-version }}
110-
timeout-minutes: 30 # 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
111+
timeout-minutes: 8 # 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
111112

112113
- name: Cache Pre-commit hooks
113114
uses: actions/cache@v4.2.4
@@ -133,6 +134,7 @@ jobs:
133134

134135
required-check:
135136
runs-on: ubuntu-24.04
137+
timeout-minutes: 2
136138
needs: [ lint-matrix, get-values ]
137139
permissions:
138140
statuses: write # needed for updating status on Dependabot PRs

‎.github/workflows/get-values.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ permissions:
1919
jobs:
2020
get-values:
2121
runs-on: ubuntu-24.04
22+
timeout-minutes: 2
2223
outputs:
2324
new-dependabot-sha: ${{ steps.update-hash.outputs.new-sha }}
2425
dependabot-commit-created: ${{ steps.update-hash.outputs.commit-created }}

‎.github/workflows/pre-commit.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ permissions:
2828
jobs:
2929
pre-commit:
3030
runs-on: ubuntu-24.04
31+
timeout-minutes: 8
3132
name: Pre-commit
3233
steps:
3334
- name: Checkout code during push
@@ -55,7 +56,7 @@ jobs:
5556
uses: ben-z/gh-action-mutex@1ebad517141198e08d47cf72f3c0975316620a65 # v1.0.0-alpha.10
5657
with:
5758
branch: mutex-venv-ubuntu-24.04-py${{ inputs.python-version }}-nodejs-${{ inputs.node-version }}
58-
timeout-minutes: 30 # 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
59+
timeout-minutes: 8 # 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
5960

6061
- name: Cache Pre-commit hooks
6162
uses: actions/cache@v4.2.4

‎.github/workflows/tag-on-merge.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
create-tag:
1111
if: github.event.pull_request.merged == true
1212
runs-on: ubuntu-24.04
13+
timeout-minutes: 2
1314
permissions:
1415
contents: write
1516
steps:

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![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)
33
[![Actions status](https://www.github.com/LabAutomationAndScreening/copier-python-package-template/actions/workflows/ci.yaml/badge.svg?branch=main)](https://www.github.com/LabAutomationAndScreening/copier-python-package-template/actions)
44
[![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/LabAutomationAndScreening/copier-python-package-template)
5-
[![OpenIssues](http://isitmaintained.com/badge/open/LabAutomationAndScreening/copier-python-package-template.svg)](http://isitmaintained.com/project/LabAutomationAndScreening/copier-python-package-template)
5+
[![OpenIssues](https://isitmaintained.com/badge/open/LabAutomationAndScreening/copier-python-package-template.svg)](https://isitmaintained.com/project/LabAutomationAndScreening/copier-python-package-template)
66

77
# Usage
88
To create a new repository using this template:

‎extensions/context.py‎

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,28 @@ class ContextUpdater(ContextHook):
1010

1111
@override
1212
def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
13-
context["uv_version"] = "0.9.7"
14-
context["pnpm_version"] = "10.21.0"
15-
context["pre_commit_version"] = "4.3.0"
13+
context["uv_version"] = "0.9.11"
14+
context["pnpm_version"] = "10.23.0"
15+
context["pre_commit_version"] = "4.5.0"
1616
context["pyright_version"] = "1.1.407"
17-
context["pytest_version"] = "9.0.0"
17+
context["pytest_version"] = "9.0.1"
1818
context["pytest_randomly_version"] = "4.0.1"
1919
context["pytest_cov_version"] = "7.0.0"
20-
context["copier_version"] = "9.10.3"
20+
context["copier_version"] = "9.11.0"
2121
context["copier_template_extensions_version"] = "0.3.3"
2222
context["sphinx_version"] = "8.1.3"
23-
context["pulumi_version"] = "3.206.0"
24-
context["pulumi_aws_version"] = "7.11.0"
23+
context["pulumi_version"] = "3.208.0"
24+
context["pulumi_aws_version"] = "7.12.0"
2525
context["pulumi_aws_native_version"] = "1.38.0"
2626
context["pulumi_command_version"] = "1.1.3"
2727
context["pulumi_github_version"] = "6.8.0"
2828
context["pulumi_okta_version"] = "6.1.0"
29-
context["boto3_version"] = "1.40.57"
29+
context["boto3_version"] = "1.41.2"
3030
context["ephemeral_pulumi_deploy_version"] = "0.0.5"
31-
context["pydantic_version"] = "2.12.3"
31+
context["pydantic_version"] = "2.12.4"
3232
context["pyinstaller_version"] = "6.16.0"
3333
context["setuptools_version"] = "80.7.1"
34-
context["strawberry_graphql_version"] = "0.284.1"
34+
context["strawberry_graphql_version"] = "0.287.0"
3535
context["fastapi_version"] = "0.121.0"
3636
context["fastapi_offline_version"] = "1.7.4"
3737
context["uvicorn_version"] = "0.38.0"
@@ -45,7 +45,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
4545
context["python_kiota_bundle_version"] = "1.9.7"
4646

4747
context["node_version"] = "24.7.0"
48-
context["nuxt_ui_version"] = "^4.1.0"
48+
context["nuxt_ui_version"] = "^4.2.1"
4949
context["nuxt_version"] = "^4.2.0"
5050
context["nuxt_icon_version"] = "^2.1.0"
5151
context["typescript_version"] = "^5.9.3"
@@ -61,7 +61,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
6161
context["nuxt_eslint_version"] = "^1.10.0"
6262
context["zod_version"] = "^4.1.12"
6363
context["zod_from_json_schema_version"] = "^0.5.1"
64-
context["types_node_version"] = "^24.10.0"
64+
context["types_node_version"] = "^24.10.1"
6565
context["nuxt_apollo_version"] = "5.0.0-alpha.15"
6666
context["graphql_codegen_cli_version"] = "^6.0.0"
6767
context["graphql_codegen_typescript_version"] = "^5.0.0"
@@ -95,15 +95,21 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
9595
context["gha_sleep"] = "v2.0.3"
9696
context["gha_linux_runner"] = "ubuntu-24.04"
9797
context["gha_windows_runner"] = "windows-2025"
98-
99-
context["py312_version"] = "3.12.7"
100-
context["py313_version"] = "3.13.2"
101-
context["py314_version"] = "3.14.0"
98+
context["gha_short_timeout_minutes"] = "2"
99+
context["gha_medium_timeout_minutes"] = "8"
100+
context["gha_long_timeout_minutes"] = "15"
101+
context["gha_xlong_timeout_minutes"] = "45"
102102

103103
context["debian_release_name"] = "bookworm"
104104
context["alpine_image_version"] = "3.22"
105105
context["nginx_image_version"] = "1.29.1"
106106

107+
context["kiota_cli_version"] = "1.29.0"
108+
109+
context["py312_version"] = "3.12.7"
110+
context["py313_version"] = "3.13.2"
111+
context["py314_version"] = "3.14.0"
112+
107113
# Kludge to be able to help symlinked jinja files in the child and grandchild templates
108114
context["template_uses_vuejs"] = False
109115
context["template_uses_javascript"] = False

0 commit comments

Comments
 (0)