OMPython icon indicating copy to clipboard operation
OMPython copied to clipboard

Conversion guide to upgrade to OMPython 4

Open AnHeuermann opened this issue 3 months ago • 2 comments

Description

Is there a write up of the main breaking changes in OMPython v4.0.0?

While trying to update OMPython in https://github.com/OpenModelica/OpenModelicaLibraryTesting I noticed some breaking changes. It would be nice if there was some place in the documentation telling users how to upgrade.

Breaking changes I noticed:

  • Class OMCSessionZMQ no longer accepts Docker arguments --> I found a new class OMCProcessDocker which does and used that one.
  • Module pyparsing is no longer exported.
  • omc.sendExpression('exit') no longer works --> omc.sendExpression('quit()') or simply let the class destruction handle it.

Are there more mayor changes?

AnHeuermann avatar Nov 12 '25 09:11 AnHeuermann