From 666759e362b98cb2dd456cab9ee60e6ad75ff67e Mon Sep 17 00:00:00 2001 From: Ojas Mor Date: Tue, 29 Sep 2026 09:42:27 -0700 Subject: [PATCH] chore(deps): hold modal below 1.6 until the tests stop introspecting functions modal 1.5 deprecates Function.get_raw_f and Function.get_build_def and 1.6 removes them; the modal-infra tests use both. Replace the stale pin comment with that reason and add a Dependabot ignore for modal >= 1.6 so 1.5.x patches still arrive but the removal cannot land as a routine weekly bump. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/dependabot.yml | 8 ++++++++ packages/modal-infra/pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c6d92ddd7..802b0b6ce 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -80,6 +80,14 @@ updates: - "*" update-types: - major + ignore: + # modal 1.6 removes Function.get_raw_f and Function.get_build_def, which the + # modal-infra tests use to introspect functions (deprecated in 1.5). Ignore + # only 1.6 and above so 1.5.x patches still arrive. Drop this entry once the + # tests stop using those two methods. + - dependency-name: modal + versions: + - ">= 1.6.0" # Base images in Dockerfiles. - package-ecosystem: docker diff --git a/packages/modal-infra/pyproject.toml b/packages/modal-infra/pyproject.toml index 67a7b014d..582bae653 100644 --- a/packages/modal-infra/pyproject.toml +++ b/packages/modal-infra/pyproject.toml @@ -5,7 +5,7 @@ description = "Modal sandbox infrastructure for Open-Inspect coding agent" requires-python = ">=3.12" dependencies = [ "open-inspect-sandbox-runtime", # sibling package, resolved via [tool.uv.sources] - "modal==1.5.5", # Tested SDK; newer releases remove endpoint introspection used by tests + "modal==1.5.5", # Tested SDK; 1.6 removes Function.get_raw_f/get_build_def, which the tests use "httpx>=0.27.0", "pydantic>=2.0", "fastapi>=0.110.0",