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

Examples don't work with pypi package #14

Open
sjev opened this issue Nov 11, 2023 · 0 comments
Open

Examples don't work with pypi package #14

sjev opened this issue Nov 11, 2023 · 0 comments

Comments

@sjev
Copy link

sjev commented Nov 11, 2023

While having same version numbering, code on pypi is different from this repo. This results in non-functioning example code, when trying to run with pypi package.

How to reproduce

  1. pip install solopy
  2. try to run examples/BLDC_Speed_Control.py .

result:

AttributeError: 'SoloMotorControllerUart' object has no attribute 'connection_is_working'.

analysis

I've compared SOLOMotorControllersUart.py from pypi package with github code.

  • both claim # @version 3.1.1 in the header
  • checked version installed from pypi, it is 3.1.3
  • compared actual code. It has different interfaces
    • pypi : serial_close and serial_is_working
    • repo: disconnect and connection_is_working.

conclusion

Two incompatible code versions share the same version number.

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

No branches or pull requests

1 participant