Skip to content

Commit 4d50b5a

Browse files
committed
pull in
1 parent c90829e commit 4d50b5a

14 files changed

Lines changed: 91 additions & 21 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.130
2+
_commit: v0.0.133
33
_src_path: gh:LabAutomationAndScreening/copier-base-template.git
44
copier_answers_directory: .
55
description: Copier template for creating Python libraries and executables

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@
6565
"initializeCommand": "sh .devcontainer/initialize-command.sh",
6666
"onCreateCommand": "sh .devcontainer/on-create-command.sh",
6767
"postStartCommand": "sh .devcontainer/post-start-command.sh"
68-
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): ca20b755 # spellchecker:disable-line
68+
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): d321b6ef # spellchecker:disable-line
6969
}

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,19 @@ jobs:
4949
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
5050
id: find-pr-num
5151
# Based on https://github.com/actions/checkout/issues/58#issuecomment-847922894
52+
env:
53+
MERGE_MSG: ${{ github.event.merge_group.head_commit.message }}
5254
run: |
5355
5456
[[ '${{ github.event_name }}' = 'pull_request' ]] && full_number=${{ github.event.number }}
5557
5658
# example message in merge group context: "Merge pull request #10 from org-name/branch-name\n\ncommit message"
57-
[[ '${{ github.event_name }}' = 'merge_group' ]] && message='${{ github.event.merge_group.head_commit.message }}' && echo Extracting from $message && number_and_following_text=${message##*#} && full_number=${number_and_following_text%%[!0-9]*}
59+
if [[ '${{ github.event_name }}' = 'merge_group' ]]; then
60+
message="$MERGE_MSG"
61+
echo "Extracting from $message"
62+
number_and_following_text="${message##*#}"
63+
full_number="${number_and_following_text%%[!0-9]*}"
64+
fi
5865
5966
short_number=${full_number:${#full_number}<2?0:-2} # only use the last two digits so that the stack name is no more than 7 characters and doesn't get too long. Based on https://stackoverflow.com/questions/19858600/accessing-last-x-characters-of-a-string-in-bash
6067

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ test-screenshots/
7272
playwright-report/
7373
test-results/
7474
.vitest-attachments/
75+
mutants/
7576

7677
# test coverage
7778
tests/__coverage__

‎extensions/context.py‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,35 +17,35 @@ def hook( # noqa: PLR0915 # yes, this is a lot of statements, but it's all just
1717
context["npm_version"] = "11.13.0"
1818
context["nvm_version"] = "0.40.4"
1919
context["pre_commit_version"] = "4.5.1"
20-
context["pyright_version"] = ">=1.1.409"
20+
context["pyright_version"] = ">=1.1.410"
2121
context["pytest_version"] = ">=9.0.3"
2222
context["pytest_randomly_version"] = ">=4.1.0"
2323
context["pytest_cov_version"] = ">=7.1.0"
2424
context["ty_version"] = ">=0.0.40"
2525
context["copier_version"] = "==9.15.1"
2626
context["copier_template_extensions_version"] = "==0.3.3"
2727
context["sphinx_version"] = "9.0.4"
28-
context["pulumi_version"] = ">=3.234.0"
29-
context["pulumi_aws_version"] = ">=7.28.0"
30-
context["pulumi_aws_native_version"] = ">=1.63.0"
28+
context["pulumi_version"] = ">=3.245.0"
29+
context["pulumi_aws_version"] = ">=7.32.0"
30+
context["pulumi_aws_native_version"] = ">=1.68.0"
3131
context["pulumi_command_version"] = ">=1.2.1"
3232
context["pulumi_github_version"] = ">=6.13.1"
3333
context["pulumi_okta_version"] = ">=6.6.0"
3434
context["boto3_version"] = ">=1.42.92"
35-
context["ephemeral_pulumi_deploy_version"] = ">=0.0.6"
35+
context["ephemeral_pulumi_deploy_version"] = ">=0.0.7"
3636
context["pydantic_version"] = ">=2.13.4"
3737
context["pyinstaller_version"] = ">=6.20.0"
3838
context["setuptools_version"] = "80.7.1"
3939
context["strawberry_graphql_version"] = ">=0.298.0"
4040
context["fastapi_version"] = ">=0.136.3"
4141
context["fastapi_offline_version"] = ">=1.7.4"
42-
context["uvicorn_version"] = ">=0.48.0"
43-
context["lab_auto_pulumi_version"] = ">=0.2.0"
42+
context["uvicorn_version"] = ">=0.49.0"
43+
context["lab_auto_pulumi_version"] = ">=0.2.3"
4444
context["ariadne_codegen_version"] = ">=0.18.0"
4545
context["pytest_mock_version"] = ">=3.15.1"
4646
context["uuid_utils_version"] = ">=0.16.0"
47-
context["syrupy_version"] = ">=5.2.0"
48-
context["structlog_version"] = ">=25.5.0"
47+
context["syrupy_version"] = ">=5.3.1"
48+
context["structlog_version"] = ">=26.1.0"
4949
context["httpx_version"] = ">=0.28.1"
5050
context["httpx2_version"] = ">=2.2.0"
5151
context["python_kiota_bundle_version"] = ">=1.10.2"
@@ -54,7 +54,9 @@ def hook( # noqa: PLR0915 # yes, this is a lot of statements, but it's all just
5454
context["pytest_asyncio_version"] = ">=1.4.0"
5555
context["pytest_timeout_version"] = ">=2.4.0"
5656
context["pytest_reserial_version"] = ">=0.6.1"
57-
context["python_faker_version"] = ">=40.18.0"
57+
context["python_faker_version"] = ">=40.21.0"
58+
context["mutmut_version"] = "@git+https://github.com/boxed/mutmut.git@e92d763eb8a6c16fb7a1f39ea34ffa6c620c9548"
59+
context["pyrefly_version"] = ">=1.0.0"
5860

5961
context["default_node_version"] = "24.11.1"
6062
context["nuxt_ui_version"] = "^4.8.1"
@@ -85,7 +87,7 @@ def hook( # noqa: PLR0915 # yes, this is a lot of statements, but it's all just
8587
context["vue_test_utils_version"] = "^2.4.6"
8688
context["nuxt_test_utils_version"] = "^4.0.3"
8789
context["vue_eslint_parser_version"] = "^10.4.0"
88-
context["happy_dom_version"] = "^20.9.0"
90+
context["happy_dom_version"] = "^20.10.1"
8991
context["node_kiota_bundle_version"] = "1.0.0-preview.102"
9092

9193
context["gha_checkout"] = "v6.0.2"
@@ -105,6 +107,7 @@ def hook( # noqa: PLR0915 # yes, this is a lot of statements, but it's all just
105107
context["gha_pypi_publish"] = "v1.14.0"
106108
context["gha_sleep"] = "v2.0.3"
107109
context["gha_absaoss_k3d"] = "v2.4.0"
110+
context["k3d_version"] = "v5.5.0"
108111
context["gha_azure_setup_helm"] = "v5.0.0"
109112
context["helm_version"] = "v3.18.3"
110113
context["gha_azure_setup_kubectl"] = "v5.1.0"

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"pytest>=9.0.3",
1313
"pytest-cov>=7.1.0",
1414
"pytest-randomly>=4.1.0",
15-
"pyright[nodejs]>=1.1.409",
15+
"pyright[nodejs]>=1.1.410",
1616
"ty>=0.0.40",
1717
"copier==9.15.1",
1818
"copier-template-extensions==0.3.3"

‎pyrightconfig.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"**/.venv",
1616
"**/venv",
1717
"**/copier_template_resources",
18+
"**/mutants",
1819
"**/.claude/plugins"
1920
],
2021
"strictListInference": true,

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,19 @@ jobs:
4949
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
5050
id: find-pr-num
5151
# Based on https://github.com/actions/checkout/issues/58#issuecomment-847922894
52+
env:
53+
MERGE_MSG: ${{ github.event.merge_group.head_commit.message }}
5254
run: |
5355
5456
[[ '${{ github.event_name }}' = 'pull_request' ]] && full_number=${{ github.event.number }}
5557
5658
# example message in merge group context: "Merge pull request #10 from org-name/branch-name\n\ncommit message"
57-
[[ '${{ github.event_name }}' = 'merge_group' ]] && message='${{ github.event.merge_group.head_commit.message }}' && echo Extracting from $message && number_and_following_text=${message##*#} && full_number=${number_and_following_text%%[!0-9]*}
59+
if [[ '${{ github.event_name }}' = 'merge_group' ]]; then
60+
message="$MERGE_MSG"
61+
echo "Extracting from $message"
62+
number_and_following_text="${message##*#}"
63+
full_number="${number_and_following_text%%[!0-9]*}"
64+
fi
5865
5966
short_number=${full_number:${#full_number}<2?0:-2} # only use the last two digits so that the stack name is no more than 7 characters and doesn't get too long. Based on https://stackoverflow.com/questions/19858600/accessing-last-x-characters-of-a-string-in-bash
6067

‎template/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ test-screenshots/
7272
playwright-report/
7373
test-results/
7474
.vitest-attachments/
75+
mutants/
7576

7677
# test coverage
7778
tests/__coverage__

‎template/pyproject.toml.jinja‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ dev = [
2626

2727
# Managed by upstream template
2828
"pyright{% endraw %}{{ pyright_version }}{% raw %}",
29+
"pyrefly{% endraw %}{{ pyrefly_version }}{% raw %}",
2930
"pytest{% endraw %}{{ pytest_version }}{% raw %}",
3031
"pytest-cov{% endraw %}{{ pytest_cov_version }}{% raw %}",
3132
"pytest-randomly{% endraw %}{{ pytest_randomly_version }}{% raw %}",{% endraw %}{% if configure_vcrpy %}{% raw %}
3233
"pytest-recording{% endraw %}{{ pytest_recording_version }}{% raw %}",
33-
"vcrpy{% endraw %}{{ vcrpy_version }}{% raw %}",{% endraw %}{% endif %}{% raw %}{% endraw %}{% if create_docs %}{% raw %}
34+
"vcrpy{% endraw %}{{ vcrpy_version }}{% raw %}",{% endraw %}{% endif %}{% raw %}
35+
"mutmut{% endraw %}{{ mutmut_version }}{% raw %}",{% endraw %}{% if create_docs %}{% raw %}
3436
"sphinx=={% endraw %}{{ sphinx_version }}{% raw %}",{% endraw %}{% endif %}{% raw %}{% endraw %}{% if deploy_as_executable %}{% raw %}
3537
"pyinstaller{% endraw %}{{ pyinstaller_version }}{% raw %}",{% endraw %}{% endif %}{% raw %}
3638
]

0 commit comments

Comments
 (0)