Closed eriko-de closed 2 years ago
Appreciate all the great info! Can you please confirm Raspberry Pi defaults to Python 3.7.3 just so I can recreate the environment exactly?
I have addressed the two issues:
xmltodict
recently released version 0.13.0 which breaks the type hinting in adderlib
(they are no longer using OrderedDict
). Set the required version to 0.12.0 for now; will include support for newer versions of xmltodict
in a future release.
Used older-style typing.List
type hinting for compatibility with python3.7.x to address the "not subscriptable" error.
These changes are currently available in the py3.7-fixes branch here: https://github.com/mjiggidy/adderlib/tree/py3.7-fixes
@eriko-de If you're comfortable cloning this branch and installing (python3 setup.py install
) into the default Raspberry Pi python 3.7 environment, would you mind testing and verifying this fixes your issues before I roll it out to PyPi? Please be sure to remove any previous installations of adderlib
or xmltodict
first.
Thanks!
Merged the fixes to the master branch and issued v1.0.3 to PyPi. Please let me know if this continues to be an issue.
Thanks!
Hey, first of all many thanks for this awesome libary :)
I used it to test and play around with some adderlib devices on a network running a script on a raspberry pi.
When I was using it, I found two minor issues related to dependencies and runtimes:
I needed to compile the latest python version (3.10.5 at that time) to have it work.
This is my first python project so maybe there is an easier solution for the issues. Just wanted to share my experiences