From ddb24b2a0c1889cbe06adda139dd3a988dcdbef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 18 Jul 2024 04:49:12 -0700 Subject: [PATCH] python311Packages.asyncua: 1.1.0 -> 1.1.5 Diff: https://github.com/FreeOpcUa/opcua-asyncio/compare/refs/tags/v1.1.0...v1.1.5 Changelog: https://github.com/FreeOpcUa/opcua-asyncio/releases/tag/v1.1.5 --- .../python-modules/asyncua/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/asyncua/default.nix b/pkgs/development/python-modules/asyncua/default.nix index 9b9c571dde30..d095b203d72f 100644 --- a/pkgs/development/python-modules/asyncua/default.nix +++ b/pkgs/development/python-modules/asyncua/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "asyncua"; - version = "1.1.0"; + version = "1.1.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -29,24 +29,20 @@ buildPythonPackage rec { owner = "FreeOpcUa"; repo = "opcua-asyncio"; rev = "refs/tags/v${version}"; - hash = "sha256-tHlo5oNsb8E6r0vmSi0eVbk4RCMg0xe97LITzW9FQWA="; + hash = "sha256-XXjzYDOEBdA4uk0VCzscHrPCY2Lgin0JBAVDdxmSOio="; fetchSubmodules = true; }; postPatch = '' - # https://github.com/FreeOpcUa/opcua-asyncio/issues/1263 - substituteInPlace setup.py \ - --replace ", 'asynctest'" "" - # Workaround hardcoded paths in test # "test_cli_tools_which_require_sigint" substituteInPlace tests/test_tools.py \ - --replace "tools/" "$out/bin/" + --replace-fail "tools/" "$out/bin/" ''; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ aiofiles aiosqlite cryptography @@ -65,9 +61,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "asyncua" ]; - disabledTests = lib.optionals stdenv.isDarwin [ + disabledTests = [ # Failed: DID NOT RAISE "test_publish" + ] ++ lib.optionals stdenv.isDarwin [ # OSError: [Errno 48] error while attempting to bind on address ('127.0.0.1',... "test_anonymous_rejection" "test_certificate_handling_success"