Merge pull request #234074 from mweinelt/trio-websocket-0.10.2

python310Packages.trio-websocket: 0.9.2 -> 0.10.2

authored by Fabian Affolter and committed by GitHub 72e7fa15 ae89c0d0

+21 -4
+21 -4
pkgs/development/python-modules/trio-websocket/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 - , async_generator 5 + , exceptiongroup 5 6 , pytest-trio 6 7 , pytestCheckHook 7 8 , trio ··· 11 12 12 13 buildPythonPackage rec { 13 14 pname = "trio-websocket"; 14 - version = "0.9.2"; 15 + version = "0.10.2"; 16 + format = "setuptools"; 15 17 16 18 src = fetchFromGitHub { 17 19 owner = "HyperionGray"; 18 20 repo = "trio-websocket"; 19 21 rev = version; 20 - hash = "sha256-8VrpI/pk5IhEvqzo036cnIbJ1Hu3UfQ6GHTNkNJUYvo="; 22 + hash = "sha256-djoTxkIKY52l+WnxL1FwlqrU/zvsLVkPUAHn9BxJ45k="; 21 23 }; 22 24 23 25 propagatedBuildInputs = [ 24 - async_generator 26 + exceptiongroup 25 27 trio 26 28 wsproto 27 29 ]; ··· 32 34 trustme 33 35 ]; 34 36 37 + disabledTests = lib.optionals stdenv.isDarwin [ 38 + # Failed: DID NOT RAISE <class 'ValueError'> 39 + "test_finalization_dropped_exception" 40 + # Timing related 41 + "test_client_close_timeout" 42 + "test_cm_exit_with_pending_messages" 43 + "test_server_close_timeout" 44 + "test_server_handler_exit" 45 + "test_server_open_timeout" 46 + ]; 47 + 48 + __darwinAllowLocalNetworking = true; 49 + 35 50 pythonImportsCheck = [ "trio_websocket" ]; 36 51 37 52 meta = with lib; { 53 + changelog = "https://github.com/HyperionGray/trio-websocket/blob/${version}/CHANGELOG.md"; 38 54 description = "WebSocket client and server implementation for Python Trio"; 55 + homepage = "https://github.com/HyperionGray/trio-websocket"; 39 56 license = licenses.mit; 40 57 maintainers = with maintainers; [ SuperSandro2000 ]; 41 58 };