python3Packages.modal: 1.4.2 -> 1.5.2, modernize

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-07-16 19:09:27 -07:00
parent be37fe5c46
commit c01eef6756
@@ -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;