From 798cf66de4c405aa88289d530bf7deb52644ae14 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 5 Aug 2026 19:19:58 +0200 Subject: [PATCH] python3Packages.pystiebeleltron: 0.3.2 -> 0.6.2 --- .../python-modules/pystiebeleltron/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pystiebeleltron/default.nix b/pkgs/development/python-modules/pystiebeleltron/default.nix index 1e9ba577a4fb..d53de9894a71 100644 --- a/pkgs/development/python-modules/pystiebeleltron/default.nix +++ b/pkgs/development/python-modules/pystiebeleltron/default.nix @@ -3,7 +3,7 @@ buildPythonPackage, fetchFromGitHub, hatchling, - pymodbus, + modbus-connection, pytestCheckHook, pytest-asyncio, pytest-mock, @@ -11,19 +11,22 @@ buildPythonPackage rec { pname = "pystiebeleltron"; - version = "0.3.2"; + version = "0.6.2"; pyproject = true; src = fetchFromGitHub { owner = "ThyMYthOS"; repo = "python-stiebel-eltron"; tag = "v${version}"; - hash = "sha256-ApFhqJsYC/Kym1ITq5dn0/OQ6++led6RbG97DGvno0k="; + hash = "sha256-tX9n+ez6+ToK7nVxZfhjywdk4hjqi685kTboNxSW+Ag="; }; build-system = [ hatchling ]; - dependencies = [ pymodbus ]; + dependencies = [ + modbus-connection + ] + ++ modbus-connection.optional-dependencies.pymodbus; nativeCheckInputs = [ pytestCheckHook @@ -31,11 +34,6 @@ buildPythonPackage rec { pytest-mock ]; - disabledTestPaths = [ - # mock server is not compatible with pymodbus 3.13 - "test/test_pystiebeleltron.py" - ]; - pythonImportsCheck = [ "pystiebeleltron" ]; meta = {