From c01eef6756fd6e8601349af92713f0d8650eb810 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Thu, 16 Jul 2026 19:09:27 -0700 Subject: [PATCH 1/2] python3Packages.modal: 1.4.2 -> 1.5.2, modernize Signed-off-by: Ethan Carter Edwards --- .../python-modules/modal/default.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/modal/default.nix b/pkgs/development/python-modules/modal/default.nix index e4aaf6442534..37c219d408dd 100644 --- a/pkgs/development/python-modules/modal/default.nix +++ b/pkgs/development/python-modules/modal/default.nix @@ -34,18 +34,21 @@ types-toml, typing-extensions, watchfiles, + versionCheckHook, }: buildPythonPackage (finalAttrs: { pname = "modal"; - version = "1.4.2"; + version = "1.5.2"; pyproject = true; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "modal-labs"; repo = "modal-client"; tag = "py/v${finalAttrs.version}"; - hash = "sha256-MXaiei2hUBwI9qlB7HZtWbnrsZq/iLnZgqIejn2ZgX8="; + hash = "sha256-YWSf5xsap5zfy1KbAyamFmjEIe7qpRcj6TfuWf/Tu68="; }; sourceRoot = "${finalAttrs.src.name}/py"; @@ -105,6 +108,7 @@ buildPythonPackage (finalAttrs: { pytestCheckHook python-dotenv six + versionCheckHook ]; disabledTestPaths = [ @@ -127,6 +131,15 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # Non-deterministic "test_queue_blocking_put" + + # try to hit modal servers + "test_blob_upload_uses_proxy" + "test_grpc_control_plane_uses_prox" + "test_grpc_task_command_router_uses_proxy" + "test_socks5_proxy_via_all_proxy" + + # flaky + "test_process_fork" ]; __darwinAllowLocalNetworking = true; From 31d109128a24e1ae0022716f936e24ec267721ba Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Thu, 16 Jul 2026 19:11:05 -0700 Subject: [PATCH 2/2] modal: init at 1.5.2 Signed-off-by: Ethan Carter Edwards --- pkgs/by-name/mo/modal/package.nix | 1 + 1 file changed, 1 insertion(+) create mode 100644 pkgs/by-name/mo/modal/package.nix diff --git a/pkgs/by-name/mo/modal/package.nix b/pkgs/by-name/mo/modal/package.nix new file mode 100644 index 000000000000..40f1008f2f06 --- /dev/null +++ b/pkgs/by-name/mo/modal/package.nix @@ -0,0 +1 @@ +{ python3Packages }: with python3Packages; toPythonApplication modal