mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3Packages.modal: 1.4.2 -> 1.5.2, modernize (#542786)
This commit is contained in:
1
pkgs/by-name/mo/modal/package.nix
Normal file
1
pkgs/by-name/mo/modal/package.nix
Normal file
@@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication modal
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user