Skip to content

When running the library testing, stick to the exact versions required of dependencies #214

@casella

Description

@casella

Currently, when we test libraries in the CI, we load dependencies with the default option, which is to load the dependencies using the latest available backwards-compatible version installed.

I think this is a good idea to do that on the user side. Now that we have MSL 4.1.0, in most cases it makes sense to use it instead of MSL 4.0.0 even though the library has uses(Modelica(version = "4.0.0")). This also allowed us to find some regressions caused by the MSL 4.0.0 -> 4.1.0 because of eps, small, inf, see https://libraries.openmodelica.org/branches/history/master/2025-05-27%2004:24:08..2025-05-28%2004:06:49.html

However, for regular CI testing, I think we should set requireExactVersion = true. The main reason is that new versions are backwards-compatible from an interface point of view, but they often contain bug-fixes and changes that may lead to (sligthly) different results. Those results are likely to be of better quality, but they are not the reference results provided for verification testing, so they will actually lead to verification failure.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions