diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index cf29a29a2461..601c0cf32386 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -216,3 +216,8 @@ rpds-py==0.24.0 # Constraint num2words to 0.5.14 as 0.5.15 and 0.5.16 were removed from PyPI num2words==0.5.14 + +# pymodbus does not follow SemVer, and it keeps getting +# downgraded or upgraded by custom components +# This ensures all use the same version +pymodbus==3.9.2 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index 779393d2c79a..eb986fd8bb0a 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -242,6 +242,11 @@ rpds-py==0.24.0 # Constraint num2words to 0.5.14 as 0.5.15 and 0.5.16 were removed from PyPI num2words==0.5.14 + +# pymodbus does not follow SemVer, and it keeps getting +# downgraded or upgraded by custom components +# This ensures all use the same version +pymodbus==3.9.2 """ GENERATED_MESSAGE = (