Upgrade Python scripts

Major releases can change the BornAgain Python API. Available migration guides and tools:

For transitions without a dedicated guide, including 20 to 21 and 22 to 23, check the API changes in CHANGELOG and update your script accordingly.