Skip to content

Commit 11d61cf

Browse files
authored
Copier update (Python 3.14 support) (#78)
Pull in upstream template changes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for Python 3.14.0. * Added OpenIssues badge to documentation. * **Chores** * Updated dependencies including pytest (8.4.2 → 9.0.0), pnpm (10.20.0 → 10.21.0), and other package versions. * Enhanced code quality tooling configurations with improved exclusion patterns for auto-generated code. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 2abe759 commit 11d61cf

File tree

13 files changed

+39
-20
lines changed

13 files changed

+39
-20
lines changed

.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.81
2+
_commit: v0.0.83
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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): ac3ca44a # spellchecker:disable-line
66+
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): a69fbb56 # spellchecker:disable-line
6767
}

.devcontainer/install-ci-tooling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from pathlib import Path
99

1010
UV_VERSION = "0.9.7"
11-
PNPM_VERSION = "10.20.0"
11+
PNPM_VERSION = "10.21.0"
1212
COPIER_VERSION = "9.10.3"
1313
COPIER_TEMPLATE_EXTENSIONS_VERSION = "0.3.3"
1414
PRE_COMMIT_VERSION = "4.3.0"

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,13 @@ repos:
140140
rev: e73b8ba0c1316be565983236c72e653ad44e6b66 # frozen: v1.7.7
141141
hooks:
142142
- id: docformatter
143-
exclude: (tests*)|(exceptions\.py)|(warnings\.py)
143+
exclude: |
144+
(?x)^(
145+
.*/tests/.*|
146+
exceptions\.py|
147+
warnings\.py|
148+
.*/generated/open[-_]api/.*|
149+
)$
144150
args:
145151
- --in-place
146152
- --wrap-summaries=150

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-
5+
[![OpenIssues](http://isitmaintained.com/badge/open/LabAutomationAndScreening/copier-python-package-template.svg)](http://isitmaintained.com/project/LabAutomationAndScreening/copier-python-package-template)
66

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

copier.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ python_ci_versions:
5757
choices:
5858
- "3.12.7"
5959
- "3.13.2"
60+
- "3.14.0"
6061

6162

6263
aws_identity_center_id:

extensions/context.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ class ContextUpdater(ContextHook):
1111
@override
1212
def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
1313
context["uv_version"] = "0.9.7"
14-
context["pnpm_version"] = "10.20.0"
14+
context["pnpm_version"] = "10.21.0"
1515
context["pre_commit_version"] = "4.3.0"
1616
context["pyright_version"] = "1.1.407"
17-
context["pytest_version"] = "8.4.2"
17+
context["pytest_version"] = "9.0.0"
1818
context["pytest_randomly_version"] = "4.0.1"
1919
context["pytest_cov_version"] = "7.0.0"
2020
context["copier_version"] = "9.10.3"
2121
context["copier_template_extensions_version"] = "0.3.3"
2222
context["sphinx_version"] = "8.1.3"
23-
context["pulumi_version"] = "3.205.0"
24-
context["pulumi_aws_version"] = "7.10.0"
25-
context["pulumi_aws_native_version"] = "1.37.0"
23+
context["pulumi_version"] = "3.206.0"
24+
context["pulumi_aws_version"] = "7.11.0"
25+
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"
@@ -41,6 +41,8 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
4141
context["uuid_utils_version"] = "0.11.0"
4242
context["syrupy_version"] = "5.0.0"
4343
context["structlog_version"] = "25.5.0"
44+
context["httpx_version"] = "0.28.1"
45+
context["python_kiota_bundle_version"] = "1.9.7"
4446

4547
context["node_version"] = "24.7.0"
4648
context["nuxt_ui_version"] = "^4.1.0"
@@ -59,15 +61,15 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
5961
context["nuxt_eslint_version"] = "^1.10.0"
6062
context["zod_version"] = "^4.1.12"
6163
context["zod_from_json_schema_version"] = "^0.5.1"
62-
context["types_node_version"] = "^24.9.2"
64+
context["types_node_version"] = "^24.10.0"
6365
context["nuxt_apollo_version"] = "5.0.0-alpha.15"
6466
context["graphql_codegen_cli_version"] = "^6.0.0"
6567
context["graphql_codegen_typescript_version"] = "^5.0.0"
6668
context["graphql_codegen_typescript_operations_version"] = "^5.0.0"
6769
context["tailwindcss_version"] = "^4.1.11"
6870
context["iconify_vue_version"] = "^5.0.0"
6971
context["iconify_json_lucide_version"] = "^1.2.71"
70-
context["nuxt_fonts_version"] = "^0.11.4"
72+
context["nuxt_fonts_version"] = "^0.12.1"
7173
context["nuxtjs_color_mode_version"] = "^3.5.2"
7274
context["vue_test_utils_version"] = "^2.4.6"
7375
context["nuxt_test_utils_version"] = "3.19.1"
@@ -94,9 +96,9 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
9496
context["gha_linux_runner"] = "ubuntu-24.04"
9597
context["gha_windows_runner"] = "windows-2025"
9698

97-
context["py311_version"] = ""
9899
context["py312_version"] = "3.12.7"
99100
context["py313_version"] = "3.13.2"
101+
context["py314_version"] = "3.14.0"
100102

101103
context["debian_release_name"] = "bookworm"
102104
context["alpine_image_version"] = "3.22"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.12.7"
77
dependencies = [
88
# Managed by upstream template
9-
"pytest>=8.4.2",
9+
"pytest>=9.0.0",
1010
"pytest-cov>=7.0.0",
1111
"pytest-randomly>=4.0.1",
1212
"pyright[nodejs]>=1.1.407",

template/.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ branch = True
33
omit =
44
# omit anything supplied by vendors
55
*/vendor_files/*
6+
# omit any auto-generated API client code
7+
*/generated/open_api/*
68

79
[report]
810
# Regexes for lines to exclude from consideration

template/.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,13 @@ repos:
140140
rev: e73b8ba0c1316be565983236c72e653ad44e6b66 # frozen: v1.7.7
141141
hooks:
142142
- id: docformatter
143-
exclude: (tests*)|(exceptions\.py)|(warnings\.py)
143+
exclude: |
144+
(?x)^(
145+
.*/tests/.*|
146+
exceptions\.py|
147+
warnings\.py|
148+
.*/generated/open[-_]api/.*|
149+
)$
144150
args:
145151
- --in-place
146152
- --wrap-summaries=150

0 commit comments

Comments
 (0)