From 55e5b4efde1fb2402b15793425e66fb343cf32a4 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Mon, 15 Dec 2025 14:03:35 +0000 Subject: [PATCH 1/2] context --- extensions/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/context.py b/extensions/context.py index b48037c6..61470e10 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -24,7 +24,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["pytest_randomly_version"] = "4.0.1" context["pytest_cov_version"] = "7.0.0" ####### - context["sphinx_version"] = "8.1.3" + context["sphinx_version"] = "9.0.4" context["pulumi_version"] = "3.208.0" context["pulumi_aws_version"] = "7.12.0" context["pulumi_aws_native_version"] = "1.38.0" From 243766ab9495744118351a963d22710879f684cb Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Mon, 15 Dec 2025 18:18:50 +0000 Subject: [PATCH 2/2] no pydantic --- ...ate_might_want_to_use_vcrpy %}vcrpy_fixtures.py{% endif %} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/copier_template_resources/{% if template_might_want_to_use_vcrpy %}vcrpy_fixtures.py{% endif %} b/template/copier_template_resources/{% if template_might_want_to_use_vcrpy %}vcrpy_fixtures.py{% endif %} index cb33e4ff..4283fe1c 100644 --- a/template/copier_template_resources/{% if template_might_want_to_use_vcrpy %}vcrpy_fixtures.py{% endif %} +++ b/template/copier_template_resources/{% if template_might_want_to_use_vcrpy %}vcrpy_fixtures.py{% endif %} @@ -1,8 +1,8 @@ import os +from typing import Any from typing import cast import pytest -from pydantic import JsonValue from vcr import VCR UNREACHABLE_IP_ADDRESS = "192.0.2.1" # RFC 5737 TEST-NET-1 @@ -42,7 +42,7 @@ def pytest_recording_configure( ) vcr.match_on += ("body",) # body is not included by default, but it seems relevant - def before_record_response(response: dict[str, JsonValue]) -> dict[str, JsonValue]: + def before_record_response(response: dict[str, str | dict[str, Any]]) -> dict[str, str | dict[str, Any]]: headers_to_filter = ( "Transfer-Encoding", "Date",