Skip to content

Automate browser based workflows with AI

SKY-9458: Preserve copilot correction goal context (#5818)

Andrew Neilsone8e115f7912c
diff --git a/pyproject.toml b/pyproject.toml
index 65a3a4a8d..feff2253e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -114,8 +114,8 @@ dev = [
"isort>=5.13.2",
"mypy>=1.18.2,<2",
"types-requests>=2.31.0.2,<3",
- "pytest>=9.0.3,<10",
- "pytest-asyncio>=1.0.0,<2",
+ "pytest>=7.4.0,<8",
+ "pytest-asyncio>=0.21.1,<0.22",
# Needed by tests/unit/test_llm_handler_tracing.py which exercises the LLM
# chokepoint's OTEL instrumentation. Cloud runtime also uses this via
# cloud/observability/, but that ships via the `cloud` group's transitive
diff --git a/skyvern/forge/sdk/copilot/agent.py b/skyvern/forge/sdk/copilot/agent.py
index b5e5d70c8..435f4932e 100644
--- a/skyvern/forge/sdk/copilot/agent.py
+++ b/skyvern/forge/sdk/copilot/agent.py
@@ -43,6 +43,12 @@ WORKFLOW_KNOWLEDGE_BASE_PATH = (
MAX_TURNS = 25
+_BLOCK_GOAL_CONTEXT_PREAMBLE = (
+ "Interpret the latest user message in the context of the prior conversation. If it is a correction, "
+ "refinement, or continuation, preserve the established website, actions, filters, and output requirements "
+ "except where the latest message changes them."
+)
+
async def _resolve_live_browser_session_id(
chat_request: WorkflowCopilotChatRequest,
@@ -114,6 +120,34 @@ def _format_chat_history(chat_history: list[WorkflowCopilotChatHistoryMessage])
return "\n".join(lines)
+def _build_block_goal_main_goal(
+ user_message: str,
+ chat_history_text: str,
+ global_llm_context: str | None,
+) -> str:
+ raw_current_message = (user_message or "").strip()
+ if not raw_current_message:
+ return ""
+ current_message = escape_code_fences(raw_current_message)
+ structured_context = StructuredContext.from_json_str(global_llm_context)
+ context_sections: list[str] = []
+ if structured_context.user_goal.strip():
+ prior_goal = escape_code_fences(structured_context.user_goal.strip())
+ context_sections.append(f"Prior high-level goal:\n{prior_goal}")
+ if chat_history_text.strip():
+ escaped_chat_history = escape_code_fences(chat_history_text.strip())
+ context_sections.append(f"Recent chat history:\n{escaped_chat_history}")
+ if not context_sections:
+ return current_message
+
+ return (
+ _BLOCK_GOAL_CONTEXT_PREAMBLE
+ + "\n\n"
+ + "\n\n".join(context_sections)
+ + f"\n\nLatest user message:\n{current_message}"
+ )
+
+
def _build_system_prompt(
tool_usage_guide: str,
security_rules: str = "",
@@ -414,10 +448,11 @@ def _translate_to_agent_result(
ctx.last_test_ok = None
workflow_yaml = ""
if workflow_yaml:
- if ctx.user_message:
- workflow_yaml = wrap_block_goals(workflow_yaml, ctx.user_message)
+ block_goal_main_goal = ctx.block_goal_main_goal or ctx.user_message
+ if block_goal_main_goal:
+ workflow_yaml = wrap_block_goals(workflow_yaml, block_goal_main_goal)
else:
- LOG.warning("REPLACE_WORKFLOW inline path missing ctx.user_message; skipping block-goal wrap")
+ LOG.warning("REPLACE_WORKFLOW inline path missing block-goal context; skipping block-goal wrap")
try:
last_workflow = _process_workflow_yaml(
workflow_id=chat_request.workflow_id,
@@ -598,6 +633,7 @@ async def run_copilot_agent(
)
validated_browser_session_id = await _resolve_live_browser_session_id(chat_request, organization_id)
+ chat_history_text = _format_chat_history(chat_history)
ctx = CopilotContext(
organization_id=organization_id,
@@ -608,6 +644,11 @@ async def run_copilot_agent(
stream=stream,
api_key=api_key,
user_message=chat_request.message,
+ block_goal_main_goal=_build_block_goal_main_goal(
+ user_message=chat_request.message,
+ chat_history_text=chat_history_text,
+ global_llm_context=global_llm_context,
+ ),
workflow_copilot_chat_id=chat_request.workflow_copilot_chat_id,
)
@@ -629,7 +670,6 @@ async def run_copilot_agent(
tool_info: list[tuple[str, str]] = [(tool.name, tool.description or "") for tool in NATIVE_TOOLS]
tool_info.extend((name, overlay.description or "") for name, overlay in overlays.items())
- chat_history_text = _format_chat_history(chat_history)
tool_usage_guide = _build_tool_usage_guide(tool_info)
system_prompt = _build_system_prompt(
tool_usage_guide=tool_usage_guide,
diff --git a/skyvern/forge/sdk/copilot/block_goal_wrapping.py b/skyvern/forge/sdk/copilot/block_goal_wrapping.py
index a0d4bcb30..9202aece5 100644
--- a/skyvern/forge/sdk/copilot/block_goal_wrapping.py
+++ b/skyvern/forge/sdk/copilot/block_goal_wrapping.py
@@ -1,7 +1,7 @@
"""Wrap copilot-v2-generated block intent fields (``navigation_goal``,
-``complete_criterion``, ``terminate_criterion``) with the user's original
-chat message as "big goal" context, mirroring the TaskV2 pattern that
-applies ``MINI_GOAL_TEMPLATE`` at every mini-goal construction site.
+``complete_criterion``, ``terminate_criterion``) with the effective
+"big goal" context, mirroring the TaskV2 pattern that applies
+``MINI_GOAL_TEMPLATE`` at every mini-goal construction site.
Without this wrap:
- The Skyvern verifier (``complete_verify``) has no user-intent context
@@ -22,8 +22,8 @@ from skyvern.constants import MINI_GOAL_TEMPLATE
from skyvern.utils.yaml_loader import safe_load_no_dates
# Block fields whose value expresses the LLM's "mini goal" — what it should
-# do or what it should check for. Wrapped in MINI_GOAL_TEMPLATE alongside
-# the user's chat message so the downstream LLMs can reason about intent.
+# do or what it should check for. Wrapped in MINI_GOAL_TEMPLATE alongside the
+# effective main goal so the downstream LLMs can reason about intent.
# navigation_goal is carried by Task, Action, Navigation, Login, and
# FileDownload blocks; complete_criterion / terminate_criterion by Validation,
# Navigation, and Login blocks.
@@ -35,10 +35,10 @@ _WRAPPABLE_FIELDS: tuple[str, ...] = (
# The template's constant prefix — everything before the ``{mini_goal}``
# placeholder. Presence of this prefix in a wrapped field means it was
-# wrapped on a prior invocation; used for idempotency so repeated tool
-# calls don't stack wrappers. Deriving from the template (rather than a
-# hard-coded substring) keeps idempotency intact if the template's wording
-# changes.
+# wrapped on a prior invocation; used to preserve the mini goal while replacing
+# stale main-goal context, and to keep repeated calls idempotent when the main
+# goal is unchanged. Deriving from the template keeps this intact if the
+# template wording changes.
_WRAPPED_PREFIX = MINI_GOAL_TEMPLATE.partition("{mini_goal}")[0]
_MINI_GOAL_HEADER = "Achieve the following mini goal and once it's achieved, complete:"
_MAIN_GOAL_HEADER = (
@@ -60,11 +60,12 @@ def wrap_block_goals(workflow_yaml: str, user_message: str) -> str:
``complete_criterion``, and ``terminate_criterion`` wrapped via
:data:`skyvern.constants.MINI_GOAL_TEMPLATE`.
- Blocks whose fields are missing, empty, or already wrapped are left
- untouched. Recurses into ``ForLoopBlockYAML.loop_blocks``. No-ops when
- ``user_message`` is empty or the YAML is malformed (malformed input is
- surfaced by the downstream ``_process_workflow_yaml`` call, same as
- today).
+ Blocks whose fields are missing or empty are left untouched. Already
+ wrapped fields are left untouched when their main goal matches, or rewrapped
+ with the new main goal when it changed. Recurses into
+ ``ForLoopBlockYAML.loop_blocks``. No-ops when ``user_message`` is empty or
+ the YAML is malformed (malformed input is surfaced by the downstream
+ ``_process_workflow_yaml`` call, same as today).
"""
if not user_message:
return workflow_yaml
@@ -102,10 +103,13 @@ def _wrap_blocks_in_place(blocks: list[Any], user_message: str) -> bool:
value = block.get(field_name)
if not isinstance(value, str) or not value:
continue
- normalized_existing_goal = _normalize_existing_wrapped_goal(value)
- if normalized_existing_goal is not None:
- if normalized_existing_goal != value:
- block[field_name] = normalized_existing_goal
+ wrapped_parts = _extract_wrapped_goal(value)
+ if wrapped_parts is not None:
+ mini_goal, existing_main_goal = wrapped_parts
+ main_goal = existing_main_goal if existing_main_goal == user_message else user_message
+ next_value = MINI_GOAL_TEMPLATE.format(mini_goal=mini_goal, main_goal=main_goal)
+ if next_value != value:
+ block[field_name] = next_value
mutated = True
continue
if _WRAPPED_PREFIX not in value:
@@ -120,20 +124,13 @@ def _wrap_blocks_in_place(blocks: list[Any], user_message: str) -> bool:
return mutated
-def _normalize_existing_wrapped_goal(value: str) -> str | None:
- parsed = _extract_wrapped_goal(value)
- if parsed is None:
- return None
- mini_goal, main_goal = parsed
- return MINI_GOAL_TEMPLATE.format(mini_goal=mini_goal, main_goal=main_goal)
-
-
# Bounded peel count: a reword turn stacks one layer; anything deeper is
# malformed and we'd rather stop than recurse on adversarial input.
_MAX_GOAL_UNWRAP_DEPTH = 8
def _extract_wrapped_goal(value: str) -> tuple[str, str] | None:
+ """Extract mini/main goal parts from canonical or spaced-fence wrappers."""
current = value
last: tuple[str, str] | None = None
for _ in range(_MAX_GOAL_UNWRAP_DEPTH):
diff --git a/skyvern/forge/sdk/copilot/context.py b/skyvern/forge/sdk/copilot/context.py
index a2e17b3aa..358c908cf 100644
--- a/skyvern/forge/sdk/copilot/context.py
+++ b/skyvern/forge/sdk/copilot/context.py
@@ -162,6 +162,7 @@ class CopilotContext(AgentContext):
format_nudge_count: int = 0
copilot_total_timeout_exceeded: bool = False
user_message: str = ""
+ block_goal_main_goal: str = ""
# Tool tracking
consecutive_tool_tracker: list[str] = field(default_factory=list)
diff --git a/skyvern/forge/sdk/copilot/tools.py b/skyvern/forge/sdk/copilot/tools.py
index cad091c3f..58202e4b8 100644
--- a/skyvern/forge/sdk/copilot/tools.py
+++ b/skyvern/forge/sdk/copilot/tools.py
@@ -2722,12 +2722,13 @@ async def update_and_run_blocks_tool(
prior_definition = await _get_prior_workflow_definition(copilot_ctx)
# Wrap each block's navigation_goal / complete_criterion / terminate_criterion
- # with the user's message as "big goal" context so downstream LLMs (verifier,
+ # with the effective "big goal" context so downstream LLMs (verifier,
# validation-block prompt) have user-intent framing — mirrors TaskV2.
- if copilot_ctx.user_message:
- workflow_yaml = wrap_block_goals(workflow_yaml, copilot_ctx.user_message)
+ block_goal_main_goal = copilot_ctx.block_goal_main_goal or copilot_ctx.user_message
+ if block_goal_main_goal:
+ workflow_yaml = wrap_block_goals(workflow_yaml, block_goal_main_goal)
else:
- LOG.warning("update_and_run_blocks invoked without copilot_ctx.user_message; skipping block-goal wrap")
+ LOG.warning("update_and_run_blocks invoked without block-goal context; skipping block-goal wrap")
# Step 1: Update the workflow
with copilot_span("update_workflow", data={"yaml_length": len(workflow_yaml)}):
diff --git a/tests/unit/test_copilot_agent_helpers.py b/tests/unit/test_copilot_agent_helpers.py
index e52026f4a..23aa24fbe 100644
--- a/tests/unit/test_copilot_agent_helpers.py
+++ b/tests/unit/test_copilot_agent_helpers.py
@@ -225,6 +225,91 @@ def _chat_request() -> SimpleNamespace:
)
+class TestBlockGoalMainGoal:
+ def test_empty_message_returns_empty(self) -> None:
+ assert agent_module._build_block_goal_main_goal("", chat_history_text="", global_llm_context=None) == ""
+ assert agent_module._build_block_goal_main_goal(" ", chat_history_text="", global_llm_context=None) == ""
+
+ def test_no_prior_context_returns_message_verbatim(self) -> None:
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="Go to a site and extract the latest release notes.",
+ chat_history_text="",
+ global_llm_context=None,
+ )
+
+ assert goal == "Go to a site and extract the latest release notes."
+
+ def test_no_prior_context_escapes_code_fences(self) -> None:
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="Use ```this``` safely.",
+ chat_history_text="",
+ global_llm_context=None,
+ )
+
+ assert goal == "Use ` ` `this` ` ` safely."
+
+ def test_structured_user_goal_added_as_prior_high_level_goal(self) -> None:
+ global_context = json.dumps(
+ {"user_goal": "Locate research about gravitational waves this week.", "workflow_state": "draft"}
+ )
+
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="I meant black holes",
+ chat_history_text="",
+ global_llm_context=global_context,
+ )
+
+ assert "Prior high-level goal:\nLocate research about gravitational waves this week." in goal
+ assert "Latest user message:\nI meant black holes" in goal
+ assert "Recent chat history" not in goal
+
+ def test_plain_global_context_becomes_prior_high_level_goal(self) -> None:
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="I meant black holes",
+ chat_history_text="",
+ global_llm_context="Legacy goal with ```fenced``` context.",
+ )
+
+ assert "Prior high-level goal:\nLegacy goal with ` ` `fenced` ` ` context." in goal
+ assert "Latest user message:\nI meant black holes" in goal
+
+ def test_chat_history_added_when_present(self) -> None:
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="I meant black holes",
+ chat_history_text="user: Search arXiv for recent papers.\nai: Drafted workflow.",
+ global_llm_context=None,
+ )
+
+ assert "Recent chat history:\nuser: Search arXiv for recent papers." in goal
+ assert "ai: Drafted workflow." in goal
+ assert "Latest user message:\nI meant black holes" in goal
+
+ def test_chat_history_and_latest_message_escape_code_fences(self) -> None:
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="I meant ```black holes```",
+ chat_history_text="user: Search ```arXiv``` for recent papers.",
+ global_llm_context=None,
+ )
+
+ assert "user: Search ` ` `arXiv` ` ` for recent papers." in goal
+ assert "Latest user message:\nI meant ` ` `black holes` ` `" in goal
+ assert "```" not in goal
+
+ def test_includes_both_structured_goal_and_chat_history(self) -> None:
+ global_context = json.dumps({"user_goal": "Find papers about gravitational waves."})
+
+ goal = agent_module._build_block_goal_main_goal(
+ user_message="I meant neutron stars",
+ chat_history_text="user: Find papers about gravitational waves.",
+ global_llm_context=global_context,
+ )
+
+ assert "Prior high-level goal:\nFind papers about gravitational waves." in goal
+ assert "Recent chat history:" in goal
+ assert "Latest user message:\nI meant neutron stars" in goal
+ assert goal.find("Prior high-level goal") < goal.find("Recent chat history") < goal.find("Latest user message")
+
+
class TestTranslateToAgentResultGating:
"""Covers the three SKY-9143 invariants that live in _translate_to_agent_result."""
@@ -547,6 +632,32 @@ workflow_definition:
assert captured["yaml"] == "WRAPPED::Submit a contact form on example.com.::raw: yaml"
assert ctx.last_workflow_yaml == "WRAPPED::Submit a contact form on example.com.::raw: yaml"
+ def test_inline_replace_workflow_prefers_resolved_block_goal_main_goal(self, monkeypatch) -> None:
+ captured: dict[str, str] = {}
+
+ def fake_process(**kwargs):
+ captured["yaml"] = kwargs["workflow_yaml"]
+ return SimpleNamespace(name="new-wf")
+
+ def fake_wrap(workflow_yaml: str, user_message: str) -> str:
+ return f"WRAPPED::{user_message}::{workflow_yaml}"
+
+ monkeypatch.setattr("skyvern.forge.sdk.copilot.tools._process_workflow_yaml", fake_process)
+ monkeypatch.setattr("skyvern.forge.sdk.copilot.agent.wrap_block_goals", fake_wrap)
+
+ ctx = _ctx(
+ user_message="I meant black holes",
+ block_goal_main_goal="Go to arXiv and find research about black holes.",
+ )
+ result = _fake_run_result(
+ {"type": "REPLACE_WORKFLOW", "user_response": "Here you go.", "workflow_yaml": "raw: yaml"}
+ )
+ agent_module._translate_to_agent_result(
+ result, ctx, global_llm_context=None, chat_request=_chat_request(), organization_id="org-1"
+ )
+
+ assert captured["yaml"] == "WRAPPED::Go to arXiv and find research about black holes.::raw: yaml"
+
def test_ask_question_with_verified_workflow_suppresses_and_clears(self) -> None:
# A verified-but-non-terminal workflow built this turn must not surface
# alongside the question; the clear flag also nulls any stale prior ghost.
diff --git a/tests/unit/test_copilot_block_goal_wrapping.py b/tests/unit/test_copilot_block_goal_wrapping.py
index 0a96fe1c6..652ec2a84 100644
--- a/tests/unit/test_copilot_block_goal_wrapping.py
+++ b/tests/unit/test_copilot_block_goal_wrapping.py
@@ -34,6 +34,10 @@ def _wrapped(mini_goal: str) -> str:
return MINI_GOAL_TEMPLATE.format(mini_goal=mini_goal, main_goal=USER_MESSAGE)
+def _wrapped_with(mini_goal: str, main_goal: str) -> str:
+ return MINI_GOAL_TEMPLATE.format(mini_goal=mini_goal, main_goal=main_goal)
+
+
def test_wraps_task_block_navigation_goal() -> None:
src = _yaml_with_blocks(
{"block_type": "task", "label": "fill_form", "navigation_goal": "Fill in name and email, click Send"}
@@ -143,7 +147,7 @@ def test_idempotent_on_already_wrapped_fields() -> None:
assert block["complete_criterion"] == already_wrapped_criterion
-def test_normalizes_spaced_fence_wrapped_goal_without_adding_reword_turn() -> None:
+def test_normalizes_spaced_fence_wrapped_goal_without_stacking_wrapper() -> None:
revised_goal = "Go to https://example.com. Tell me how many results there are referencing topic beta"
spaced_fence_wrapped_goal = textwrap.dedent(
f"""
@@ -162,7 +166,7 @@ def test_normalizes_spaced_fence_wrapped_goal_without_adding_reword_turn() -> No
}
)
- out = wrap_block_goals(src, "I meant topic beta")
+ out = wrap_block_goals(src, revised_goal)
goal = _blocks_from(out)[0]["navigation_goal"]
assert goal == MINI_GOAL_TEMPLATE.format(
@@ -173,6 +177,56 @@ def test_normalizes_spaced_fence_wrapped_goal_without_adding_reword_turn() -> No
assert goal.count("Achieve the following mini goal") == 1
+def test_rewraps_spaced_fence_wrapped_goal_when_main_goal_changes() -> None:
+ original_goal = "Go to arXiv and find research about gravitational waves."
+ resolved_goal = "Go to arXiv and find research about black holes."
+ spaced_fence_wrapped_goal = textwrap.dedent(
+ f"""
+ Achieve the following mini goal and once it's achieved, complete:
+ ` ` `Enter '{{{{ search_query }}}}' and submit the search` ` `
+
+ This mini goal is part of the big goal the user wants to achieve and use the big goal as context to achieve the mini goal:
+ ` ` `{original_goal}` ` `
+ """
+ ).strip()
+ src = _yaml_with_blocks(
+ {
+ "block_type": "navigation",
+ "label": "search_arxiv",
+ "navigation_goal": spaced_fence_wrapped_goal,
+ }
+ )
+
+ out = wrap_block_goals(src, resolved_goal)
+
+ block = _blocks_from(out)[0]
+ assert block["navigation_goal"] == _wrapped_with(
+ "Enter '{{ search_query }}' and submit the search",
+ resolved_goal,
+ )
+
+
+def test_rewraps_already_wrapped_fields_when_main_goal_changes() -> None:
+ src = _yaml_with_blocks(
+ {
+ "block_type": "navigation",
+ "label": "search_arxiv",
+ "navigation_goal": _wrapped_with(
+ "Enter '{{ search_query }}' and submit the search",
+ "Go to arXiv and find research about gravitational waves.",
+ ),
+ }
+ )
+
+ out = wrap_block_goals(src, "Go to arXiv and find research about black holes.")
+
+ block = _blocks_from(out)[0]
+ assert block["navigation_goal"] == _wrapped_with(
+ "Enter '{{ search_query }}' and submit the search",
+ "Go to arXiv and find research about black holes.",
+ )
+
+
def test_noop_on_empty_user_message() -> None:
src = _yaml_with_blocks(
{
diff --git a/uv.lock b/uv.lock
index df5f731d1..9a37828cf 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2448,7 +2448,7 @@ wheels = [
[[package]]
name = "jupyterlab"
-version = "4.5.7"
+version = "4.5.6"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "async-lru" },
@@ -2465,9 +2465,9 @@ dependencies = [
{ name = "tornado" },
{ name = "traitlets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2b/22/8440ec827762146e7cdecf04335bd348795899d29dc6ae82238707353a2c/jupyterlab-4.5.7.tar.gz", hash = "sha256:55a9822c4754da305f41e113452c68383e214dcf96de760146af89ce5d5117b0", size = 23992763, upload-time = "2026-04-29T16:43:51.328Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/ac/d5/730628e03fff2e8a8e8ccdaedde1489ab1309f9a4fa2536248884e30b7c7/jupyterlab-4.5.6.tar.gz", hash = "sha256:642fe2cfe7f0f5922a8a558ba7a0d246c7bc133b708dfe43f7b3a826d163cf42", size = 23970670, upload-time = "2026-03-11T14:17:04.531Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3d/aa/537b8f7d80e799af19af35fb3ddfc970b951088a13c57dd9387dcfbb7f61/jupyterlab-4.5.7-py3-none-any.whl", hash = "sha256:fba4cb0e2c44a52859669d8c98b45de029d5e515f8407bf8534d2a8fc5f0964d", size = 12450123, upload-time = "2026-04-29T16:43:46.639Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/1b/dad6fdcc658ed7af26fdf3841e7394072c9549a8b896c381ab49dd11e2d9/jupyterlab-4.5.6-py3-none-any.whl", hash = "sha256:d6b3dac883aa4d9993348e0f8e95b24624f75099aed64eab6a4351a9cdd1e580", size = 12447124, upload-time = "2026-03-11T14:17:00.229Z" },
]
[[package]]
@@ -3240,7 +3240,7 @@ wheels = [
[[package]]
name = "notebook"
-version = "7.5.6"
+version = "7.5.5"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "jupyter-server" },
@@ -3249,9 +3249,9 @@ dependencies = [
{ name = "notebook-shim" },
{ name = "tornado" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2a/c2/cf59bd2e6f2c8b976b52477e3e53bf6f97bc714ed046a51821afb428eaee/notebook-7.5.6.tar.gz", hash = "sha256:621174aade80108f0020b0f00738000b215f75fa3cd90771ad7aa0f24536a4e1", size = 14170814, upload-time = "2026-04-30T11:46:26.613Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/1f/6d/41052c48d6f6349ca0a7c4d1f6a78464de135e6d18f5829ba2510e62184c/notebook-7.5.5.tar.gz", hash = "sha256:dc0bfab0f2372c8278c457423d3256c34154ac2cc76bf20e9925260c461013c3", size = 14169167, upload-time = "2026-03-11T16:32:51.922Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e9/d6/1fd0646b9bbd9efbb0b8ae21b2325fbef515769a5621c03e31d8eb8da587/notebook-7.5.6-py3-none-any.whl", hash = "sha256:4dde3f8fb55fa8fb7946d58c6e869ce9baf46d00fc070664f62604569d0faca0", size = 14581730, upload-time = "2026-04-30T11:46:22.342Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/aa/cbd1deb9f07446241e88f8d5fecccd95b249bca0b4e5482214a4d1714c49/notebook-7.5.5-py3-none-any.whl", hash = "sha256:a7c14dbeefa6592e87f72290ca982e0c10f5bbf3786be2a600fda9da2764a2b8", size = 14578929, upload-time = "2026-03-11T16:32:48.021Z" },
]
[[package]]
@@ -4760,31 +4760,29 @@ wheels = [
[[package]]
name = "pytest"
-version = "9.0.3"
+version = "7.4.4"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
{ name = "iniconfig" },
{ name = "packaging" },
{ name = "pluggy" },
- { name = "pygments" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165, upload-time = "2026-04-07T17:16:18.027Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/80/1f/9d8e98e4133ffb16c90f3b405c43e38d3abb715bb5d7a63a5a684f7e46a3/pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280", size = 1357116, upload-time = "2023-12-31T12:00:18.035Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249, upload-time = "2026-04-07T17:16:16.13Z" },
+ { url = "https://files.pythonhosted.org/packages/51/ff/f6e8b8f39e08547faece4bd80f89d5a8de68a38b2d179cc1c4490ffa3286/pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8", size = 325287, upload-time = "2023-12-31T12:00:13.963Z" },
]
[[package]]
name = "pytest-asyncio"
-version = "1.3.0"
+version = "0.21.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pytest" },
- { name = "typing-extensions", marker = "python_full_version < '3.13'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/90/2c/8af215c0f776415f3590cac4f9086ccefd6fd463befeae41cd4d3f193e5a/pytest_asyncio-1.3.0.tar.gz", hash = "sha256:d7f52f36d231b80ee124cd216ffb19369aa168fc10095013c6b014a34d3ee9e5", size = 50087, upload-time = "2025-11-10T16:07:47.256Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/ae/53/57663d99acaac2fcdafdc697e52a9b1b7d6fcf36616281ff9768a44e7ff3/pytest_asyncio-0.21.2.tar.gz", hash = "sha256:d67738fc232b94b326b9d060750beb16e0074210b98dd8b58a5239fa2a154f45", size = 30656, upload-time = "2024-04-29T13:23:24.738Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e5/35/f8b19922b6a25bc0880171a2f1a003eaeb93657475193ab516fd87cac9da/pytest_asyncio-1.3.0-py3-none-any.whl", hash = "sha256:611e26147c7f77640e6d0a92a38ed17c3e9848063698d5c93d5aa7aa11cebff5", size = 15075, upload-time = "2025-11-10T16:07:45.537Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/ce/1e4b53c213dce25d6e8b163697fbce2d43799d76fa08eea6ad270451c370/pytest_asyncio-0.21.2-py3-none-any.whl", hash = "sha256:ab664c88bb7998f711d8039cacd4884da6430886ae8bbd4eded552ed2004f16b", size = 13368, upload-time = "2024-04-29T13:23:23.126Z" },
]
[[package]]
@@ -5817,8 +5815,8 @@ dev = [
{ name = "opentelemetry-sdk", specifier = ">=1.39.0,<2" },
{ name = "pre-commit", specifier = ">=4.2.0,<5" },
{ name = "pydevd-pycharm", specifier = ">=233.6745.319,<234" },
- { name = "pytest", specifier = ">=9.0.3,<10" },
- { name = "pytest-asyncio", specifier = ">=1.0.0,<2" },
+ { name = "pytest", specifier = ">=7.4.0,<8" },
+ { name = "pytest-asyncio", specifier = ">=0.21.1,<0.22" },
{ name = "python-pptx", specifier = ">=1.0.2" },
{ name = "ruff", specifier = ">=0.15.12,<0.16" },
{ name = "twine", specifier = ">=6.1.0,<7" },