Skip to content

Let Physiomodel skip exact uses when upgrading libraries - #406

Merged
sjoelund merged 1 commit into
masterfrom
physiomodel-upgrade-fallback
Nov 9, 2026
Merged

sjoelund merged 1 commit into
masterfrom
physiomodel-upgrade-fallback

Conversation

@sjoelund

@sjoelund sjoelund commented Nov 9, 2026

Copy link
Copy Markdown
Member

upgradeInstalledPackages() installs each installed version again, with exactly the versions that it uses. Since OpenModelica#17920, omc stops when one of these versions is not in the index. Physiomodel master uses Physiolibrary 2.3.3, which does not exist, and installLibraries.mos failed.

The script now does the same steps as upgradeInstalledPackages(). Only Physiomodel can fall back to an install without exact uses. The other libraries still get the exact versions that they use, for example Modelica_DeviceDrivers 2.1.1 for AixLib. If one of them fails, the script stops as before.

Assisted-by: Claude Opus 5.5

upgradeInstalledPackages() installs each installed version again, with
exactly the versions that it uses. Since OpenModelica#17920, omc stops
when one of these versions is not in the index. Physiomodel master uses
Physiolibrary 2.3.3, which does not exist, and installLibraries.mos
failed.

The script now does the same steps as upgradeInstalledPackages(). Only
Physiomodel can fall back to an install without exact uses. The other
libraries still get the exact versions that they use, for example
Modelica_DeviceDrivers 2.1.1 for AixLib. If one of them fails, the
script stops as before.

Assisted-by: Claude Opus 5.5
@sjoelund
sjoelund merged commit e61f834 into master Nov 9, 2026
4 checks passed
@sjoelund
sjoelund deleted the physiomodel-upgrade-fallback branch November 9, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant