Skip to content

Cannot install working REPL from PyPI #28

@chrullrich

Description

@chrullrich

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 do pip 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

Install as pymodbus optional dependency

$ pip install ".[repl]"

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:

> pip show pymodbus-repl
Name: pymodbus_repl
Version: 2.0.4
Summary: REPL (Read-Eval-Print Loop) tool for working with Modbus devices using the Pymodbus library.
Home-page: https://github.com/pymodbus-dev/repl
Author: dhoomakethu
Author-email: otlasanju@gmail.com
License:
Location: (elided)
Requires: prompt-toolkit, pygments, tabulate, typer
Required-by:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions