-
Notifications
You must be signed in to change notification settings - Fork 4
Cannot install working REPL from PyPI #28
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
Comments
Refer #26, there's a lot of breaking changes in upstream pymodbus which needs to be caught up. |
Thank you for the quick response, but it would have been better had you taken the time to read my report first. I am not complaining that the REPL does not work with latest pymodbus, but that it is currently very difficult to install a working combination of pymodbus-repl and pymodbus. Because pymodbus-repl does not depend on pymodbus at all, let alone "pymodbus<3.8", neither way of installing from PyPI works:
Fix: Add a dependency on |
Apologies for the incomplete response and the inconvenience caused, to begin with |
Update: The latest pymodbus version compatible with pymodbus-repl appears to be 3.7.2, and I was wrong that just adding that dependency to pymodbus-repl will sufficiently fix the problem. When Adding an exclusion to pymodbus will probably (I have not tried it) just end up with pip using an earlier version of pymodbus that doesn't have it. The "correct" way of installing things ( Installing |
The alleged fix to #22 added a dependency on pymodbus 3.7.0 in a section with "dev" in its name, but since PyPI and pip do not care about that, this still leaves no way to install a working pymodbus with REPL from PyPI without delving deep into dependencies and bug reports.
The documentation says to
pip install pymodbus[repl]
; this currently results in pymodbus 3.8.6, i.e. the situation of #22. If I dopip install pymodbus-repl
instead, I find that this does not work either because pymodbus-repl declares no dependency on (any version of) pymodbus, leaving me with a frontend to nothing.By the way, what the documentation actually says is
This may work when the cwd is in a working copy of the pymodbus repo, but certainly in no other case.
There should be a dependency on a compatible version of pymodbus here:
The text was updated successfully, but these errors were encountered: