python310Packages.pymodbus 0 -> 1 attrpath: python310Packages.pymodbus Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/3i6g77vrdnzcxzvkmg7xxiq08875lcbn-packages.json.drv building '/nix/store/3i6g77vrdnzcxzvkmg7xxiq08875lcbn-packages.json.drv'... Going to be running update for following packages: - python3.10-pymodbus-3.3.2 Press Enter key to continue... Running update for: - python3.10-pymodbus-3.3.2: UPDATING ... - python3.10-pymodbus-3.3.2: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/pymodbus/default.nix b/pkgs/development/python-modules/pymodbus/default.nix index c1b1b75d284c..03b0ac4c3c69 100644 --- a/pkgs/development/python-modules/pymodbus/default.nix +++ b/pkgs/development/python-modules/pymodbus/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "pymodbus"; - version = "3.3.2"; + version = "3.4.1"; format = "setuptools"; src = fetchFromGitHub { owner = "pymodbus-dev"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-EGJyb0AVLKN7FEoeWF4rVqmJBNbXHent9P+cxc13rQs="; + hash = "sha256-zSsXFXyQFNWId0O/ILI3va5u4RgrPAGpgs89g7HthVY="; }; # Twisted asynchronous version is not supported due to a missing dependency No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --no-out-link --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.pymodbus nix build failed. def get_certificate(suffix: str):  """Get example certificate.""" delimiter = "\\" if os.name == "nt" else "/" cwd = os.getcwd().split(delimiter)[-1] if cwd == "examples": path = "." # pragma no cover elif cwd == "sub_examples": path = "../../examples" # pragma no cover elif cwd == "test": path = "../examples" elif cwd == "pymodbus": path = "examples" # pragma no cover else: > raise RuntimeError(f"**Error** Cannot find certificate path={cwd}") E RuntimeError: **Error** Cannot find certificate path=source examples/helper.py:136: RuntimeError =========================== short test summary info ============================ FAILED test/sub_examples/test_client_server_async.py::TestClientServerAsyncExamples::test_client_no_server[tls-tls-6203-30] - RuntimeError: **Error** Cannot find certificate path=source FAILED test/sub_examples/test_client_server_async.py::TestClientServerAsyncExamples::test_combinations[tls-tls-6203-0] - RuntimeError: **Error** Cannot find certificate path=source FAILED test/sub_examples/test_client_server_async.py::TestClientServerAsyncExamples::test_server_client_twice[tls-tls-6203-20] - RuntimeError: **Error** Cannot find certificate path=source FAILED test/sub_examples/test_examples.py::TestExamples::test_client_async_calls[tls-tls-6403] - RuntimeError: **Error** Cannot find certificate path=source FAILED test/sub_examples/test_helper.py::TestHelperExamples::test_certificate[crt] - RuntimeError: **Error** Cannot find certificate path=source FAILED test/sub_examples/test_helper.py::TestHelperExamples::test_certificate[key] - RuntimeError: **Error** Cannot find certificate path=source ERROR test/sub_examples/test_client_server_async.py::TestClientServerAsyncExamples::test_server_no_client[tls-tls-6203-10] - RuntimeError: ServerAsyncStop called without server task active. ERROR test/sub_examples/test_client_server_async.py::TestClientServerAsyncExamples::test_combinations[tls-tls-6203-0] - RuntimeError: ServerAsyncStop called without server task active. ERROR test/sub_examples/test_client_server_async.py::TestClientServerAsyncExamples::test_server_client_twice[tls-tls-6203-20] - RuntimeError: ServerAsyncStop called without server task active. ERROR test/sub_examples/test_examples.py::TestExamples::test_client_async_calls[tls-tls-6403] - RuntimeError: ServerAsyncStop called without server task active. ======== 6 failed, 572 passed, 3 skipped, 4 errors, 21 rerun in 32.24s ========= /nix/store/7aprjn0yf6p06krg4087sxvilfp4c8yy-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context