mdolab / openconcept

OpenConcept: A toolkit for conceptual MDAO of aircraft with unconventional propulsion architectures
MIT License
36 stars 32 forks source link

OpenMDAO v3.31 internal `_setup_procs` change breaks `PhaseGroup` and `IntegratorGroup` #65

Open eytanadler opened 7 months ago

eytanadler commented 7 months ago

Description

OpenMDAO v3.31 changes the om.Group _setup_procs method function signature from _setup_procs(pathname, comm, mode, prob_meta) to _setup_procs(pathname, comm, prob_meta) . This breaks the four instances of _setup_procs in openconcept/mission/mission_groups.py. I'm not sure the best way to handle it because fixing it will break OpenConcept's backward compatibility with all versions of OpenMDAO before v3.31. The best solution would be to find a workaround that doesn't need to use the hidden methods.

For now, I'm adding an upper bound of v3.30 on the OpenMDAO version.