From 6c52c38ca9bfd9091c33135ccabde07c8e7d6880 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Aug 2025 08:27:02 +0200 Subject: [PATCH] python313Packages.pymodbus: 3.10.0 -> 3.11.0 Changelog: https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.11.0 --- pkgs/development/python-modules/pymodbus/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pymodbus/default.nix b/pkgs/development/python-modules/pymodbus/default.nix index bcab34d61452..d6d3986506ba 100644 --- a/pkgs/development/python-modules/pymodbus/default.nix +++ b/pkgs/development/python-modules/pymodbus/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "pymodbus"; - version = "3.10.0"; + version = "3.11.0"; pyproject = true; src = fetchFromGitHub { owner = "pymodbus-dev"; repo = "pymodbus"; tag = "v${version}"; - hash = "sha256-Frrx3FXtz4GCCv106t/pMpfsPSCINH74Ner+WlccbgQ="; + hash = "sha256-bwTc2tzgGNcsDDeHkjq9ZeTuYLc7u76WbMvzOmzOTI4="; }; build-system = [ setuptools ]; @@ -70,6 +70,11 @@ buildPythonPackage rec { "test_simulator" ]; + disabledTestPaths = [ + # Don't test the examples + "examples/" + ]; + meta = with lib; { description = "Python implementation of the Modbus protocol"; longDescription = '' @@ -80,7 +85,7 @@ buildPythonPackage rec { ''; homepage = "https://github.com/pymodbus-dev/pymodbus"; changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/${src.tag}"; - license = with licenses; [ bsd3 ]; + license = licenses.bsd3; maintainers = with maintainers; [ fab ]; mainProgram = "pymodbus.simulator"; };