OpenCyphal / pycyphal

Python implementation of the Cyphal protocol stack.
https://pycyphal.readthedocs.io/
MIT License
117 stars 105 forks source link

Migrate to Nunavut v2 #277

Closed pavel-kirienko closed 6 months ago

Willmac16 commented 6 months ago

Is there a list of remaining tasks to move to Nunavut v2?

I would be happy to help if I can, as my build system would be greatly simplified without two different versions of Nunavut to wrangle.

pavel-kirienko commented 6 months ago

List of tasks to move to Nunavut v2:

Remove the DSDL templates completely and instead invoke the default Python generator available in Nunavut v2. These directories need to go: pycyphal/dsdl/_templates, pycyphal/dsdl/_serialized_representation. _builtin_form.py, _composite_object.py are not needed either because the respective functionality has been moved into the Nunavut-generated support module.

Upgrade _compiler.py to invoke the new Nunavut API correctly.

Remove all DSDL-related tests affected by the removal of the modules mentioned above. They have already been migrated to Nunavut.