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

Support pymodbus 3.4.1 #394

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

canton7
Copy link
Collaborator

@canton7 canton7 commented Aug 16, 2023

HA has upgraded the version it uses. Since we specify a lower version, if there are any other integrations which use the higher version we'll race to see which gets installed first, so there's a chance that we'll end up with 3.4.1.

This matters, because 3.4.1 doesn't have automatic (re)connections.

Fix this. Also relax our range to >=3.1.3, so that if HA upgrades its version again we'll deterministically get the newer version, and if there's a problem we'll know about it, rather than being in a sometimes-working state.

Fixes: #393

HA has upgraded the version it uses. Since we specify a lower version, if
there are any other integrations which use the higher version we'll race
to see which gets installed first, so there's a chance that we'll end
up with 3.4.1.

This matters, because 3.4.1 doesn't have automatic (re)connections.

Fix this. Also relax our range to >=3.1.3, so that if HA upgrades its
version again we'll deterministically get the newer version, and if there's
a problem we'll know about it, rather than being in a sometimes-working
state.

Fixes: nathanmarlor#393
@canton7 canton7 merged commit b030e1b into nathanmarlor:main Aug 16, 2023
3 checks passed
@canton7 canton7 deleted the bugfix/pymodbus branch August 16, 2023 08:43
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.

Upgrade pymodbus to 3.4.1
1 participant