From 47a1cd0d1d94f1c1237dc608d7be04b53b5ca618 Mon Sep 17 00:00:00 2001 From: Jan Remmet Date: Wed, 19 Jul 2023 16:24:01 +0200 Subject: [PATCH] pyproject: don't use minimalmodbus 2.1.0 or 2.1.1 crashes tests/test_modbusrtudriver.py minimalmodbus.MasterReportedException: Failed to initialise serial port minimalmodbus-2.0.1 was working before. Signed-off-by: Jan Remmet --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1e1195694..3c15bbfe0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ docker = ["docker>=5.0.2"] graph = ["graphviz>=0.17.0"] kasa = ["python-kasa>=0.4.0"] modbus = ["pyModbusTCP>=0.1.10"] -modbusrtu = ["minimalmodbus>=1.0.2"] +modbusrtu = ["minimalmodbus>=1.0.2, !=2.1.0, !=2.1.1"] mqtt = ["paho-mqtt>=1.5.1"] onewire = ["onewire>=0.2"] pyvisa = [ @@ -94,7 +94,7 @@ dev = [ "pyModbusTCP>=0.1.10", # labgrid[modbusrtu] - "minimalmodbus>=1.0.2", + "minimalmodbus>=1.0.2, !=2.1.0, !=2.1.1", # labgrid[mqtt] "paho-mqtt>=1.5.1",