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" 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",