Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request compatible versions of dependencies #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abrasive
Copy link

@abrasive abrasive commented Jan 7, 2025

The pymodbus requirement in setup.cfg was written as pymodbus>=3.5.0, which allows pip to choose versions that may be marked as incompatible via semantic versioning, eg. 3.6.x, 3.7.x etc.

This change switches both requirements (pymodbus and pyserial-asyncio) to use ~= which restricts them to semver-compatible versions, so for pymodbus to 3.5.x. This avoids having to do work like #102 just because upstream has made a breaking change.

This avoids problems when upstream makes breaking changes while
maintaining semver, as pymodbus has done.

Fixes nmakel#102.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant