linux-automation / lxa-iobus

Linux Automation IOBus server
https://lxa-iobus.readthedocs.io/en/latest/
Apache License 2.0
3 stars 4 forks source link

Remove use of deprecated (in version 4.0) python-can API #31

Closed hnez closed 2 years ago

hnez commented 2 years ago

Some time between python-can version 2.0 and 3.0 the extended_id parameter of the Message class was renamed to is_extended_id but the old name was kept for backward compatibility as a deprecated parameter.

With the release of python-can 4.0 this parameter was removed.

Change the parameter name to make the server python-can 4.0 compatible.

SmithChart commented 2 years ago

Tested on Python 3.10, 3.9 and 3.7. LGTM.