From fc42c187df51bd4a601425422706ccd55b4e2272 Mon Sep 17 00:00:00 2001 From: James Wah Date: Tue, 7 Jan 2025 10:38:29 +1100 Subject: [PATCH] Request compatible versions of dependencies This avoids problems when upstream makes breaking changes while maintaining semver, as pymodbus has done. Fixes #102. --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 517745a..2064dae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,8 +25,8 @@ packages = find: include_package_data = True python_requires = >= 3.8 install_requires = - pymodbus >= 3.5.0 - pyserial-asyncio >= 0.6.0 + pymodbus ~= 3.5.0 + pyserial-asyncio ~= 0.6.0 [options.packages.find] where = src