Restrict versions of fmpy and numpy requirements#16
Conversation
|
I guess you needed this on Ubuntu 24.04? |
|
This should be independent of the OS version, as the packages come from pip. |
430a7fd to
0453840
Compare
|
I fixed the tests on main and rebased here. |
|
Tests are running through now, but also did on main. Is this also a caching "feature"? |
|
I don't see the previous test output anymore after the force-push, so I cannot see the logs. But none of the workflows in this repository uses any caching between test jobs. Do you remember what the logs said? |
|
Found it: This is unrelated to this PR, and fixed by #17 |
|
Ah, I understand now what you meant. The tests work with NumPy 2, so the whole package is fine, and this PR is not needed per se. The issue is that other python-based packages we use require NumPy 1, so installing them all in the same venv would fail. But this is more of an issue on the other packages. |
Restricts the NumPy version to 1 and fmpy version to one of the versions documented in https://github.com/precice/fmi-runner/blob/main/docs/README.md, since fmpy now uses NumPy 2.
Still testing.