-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate failing tests on Linux and MacOS when upgrading MeshKernel to 2.0.0 #444
Comments
Describe bug: OS conda --version pip --version Minimal example
Error message on exactuting
Additional context
|
Describe the issue: conda --version pip --version Minimal example
Error message on executing
Additional context |
Meshkernel is available as a compiled library in the wheel packages for both Windows and Linux. To install it, simply run the command 'pip install meshkernel'. There's no need to build Meshkernel from sources for these operating systems. However, for Mac, there is currently no solution available as we don't have macOS agents. The Meshkernel 1.0.0 wheel package did include a compiled macOS library that was generated by one of our developers on their laptop. |
Thanks @lucacarniato So you're saying I can install
|
installing meshkernel before dfm_tools could work |
Hi @lucacarniato, When I follow the steps in #444 (comment) on a Mac, I get this error:
Will test on Linux now. |
Following this approach on a CentOS 8 VM, I managed to install |
Hi @backeb, regarding your original error: "OSError: Unsupported operating system: Darwin", indeed, the latest MeshKernel(Py) does not come in a MacOSX version. I've already listed it in the hydrolib-core release notes from previous month: |
Thanks @arthurvd, I'm working on a docker container, so I can use dfm_tools from my Mac. |
@arthurvd I've tried some steps to getting it working in an ubuntu docker container here: https://github.com/openearth/bed-data-preparation/issues/1#issuecomment-1545822906 but the install fails on a |
Meshkernelpy 2.1.0 was released a few weeks ago, macos/linux support was fixed here. This issue can probably be fixed by updating the dependencies. |
Will be fixed with:
In the next release of meshkernel |
If macOS support is fixed, we should re-add the macOS in our GitHub ci.yml workflow. |
The installation fails because of an issue with installing meshkernelpy: Deltares/MeshKernelPy#162 Therefore I cannot run the test in your code yet. |
After some trial and error I noticed that the Also, the installation issues by @backeb above seem to be meshkernel related, since it does not cover macos-13-arm64 since we do not have these runners available. A meshkernelpy issues was created: Deltares/MeshKernelPy#162 Therefore, I suggest to wrap up this issue (which goal is to repair the linux and macos testbenches) by testing on macos-13 now. I have created a follow-up issue to investigate macos 14 arm64 support here: #635 |
What is the need for this task.
We are trying to upgrade MeshKernel from 1.0.0 to 2.0.0, see PR #442.
When doing that we notice that the CI is failing on Linux and MacOS:
What is the task?
Investigate why these tests are failing and whether it is on the hydrolib-core or meshkernel side.
Additional context
The stacktrace: stacktraces.txt
The text was updated successfully, but these errors were encountered: