-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontext.py
More file actions
45 lines (39 loc) · 1.81 KB
/
context.py
File metadata and controls
45 lines (39 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# adapted from https://github.com/copier-org/copier-templates-extensions#context-hook-extension
from typing import Any
from typing import override
from copier_templates_extensions import ContextHook
class ContextUpdater(ContextHook):
update = False
@override
def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
context["uv_version"] = "0.6.6"
context["pre_commit_version"] = "4.1.0"
context["pyright_version"] = "1.1.396"
context["pytest_version"] = "8.3.4"
context["pytest_randomly_version"] = "3.16.0"
context["pytest_cov_version"] = "6.0.0"
context["copier_version"] = "9.5.0"
context["copier_templates_extension_version"] = "0.3.0"
context["sphinx_version"] = "8.1.3"
context["pulumi_version"] = "3.155.0"
context["pulumi_aws_version"] = "6.67.0"
context["pulumi_aws_native_version"] = "1.25.0"
context["pulumi_command_version"] = "1.0.1"
context["pulumi_github"] = ""
context["boto3_version"] = "1.37.11"
context["ephemeral_pulumi_deploy_version"] = "0.0.2"
context["pydantic_version"] = "2.10.6"
context["pyinstaller_version"] = "6.12.0"
context["setuptools_version"] = "76.0.0"
context["gha_checkout"] = "v4.2.2"
context["gha_setup_python"] = "v5.4.0"
context["gha_cache"] = "v4.2.0"
context["gha_upload_artifact"] = "v4.4.3"
context["gha_configure_aws_credentials"] = "v4.0.2"
context["gha_mutex"] = "1ebad517141198e08d47cf72f3c0975316620a65 # v1.0.0-alpha.10"
context["gha_linux_runner"] = "ubuntu-24.04"
context["gha_windows_runner"] = "windows-2022"
context["py311_version"] = ""
context["py312_version"] = "3.12.7"
context["py313_version"] = "3.13.2"
return context