Merge pull request #328157 from dotlambda/python3Packages.asyncua
python311Packages.asyncua: 1.1.0 -> 1.1.5
This commit is contained in:
commit
e0fb3bcb12
@ -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 <class 'asyncio.exceptions.TimeoutError'>
|
||||
"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"
|
||||
|
Loading…
Reference in New Issue
Block a user