Skip to content
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

Update to meshkernelpy 5.0.1 #702

Closed
veenstrajelmer opened this issue Sep 16, 2024 · 2 comments · Fixed by #708
Closed

Update to meshkernelpy 5.0.1 #702

veenstrajelmer opened this issue Sep 16, 2024 · 2 comments · Fixed by #708

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Sep 16, 2024

What is the need for this task.
Major version of meshkernelpy was updated (to 5.0.0), hydrolib-core should be accomodated for this new version. It is the expectation that no code changes are needed.

What is the task?
Update minimum meshkernelpy version in pyproject.toml

Also, add testcase for DeleteMeshOption.FACES_WITH_INCLUDED_CIRCUMCENTERS

@veenstrajelmer
Copy link
Collaborator Author

veenstrajelmer commented Sep 16, 2024

Two testcases fail:

FAILED tests/dflowfm/test_net.py::test_create_clip_2d[0-False-22-68-13] - assert 30 == 22
FAILED tests/dflowfm/test_net.py::test_create_clip_2d[1-False-30-98-20] - assert 22 == 30

Reported in Deltares/MeshKernelPy#189. It can be easily solved by switching the expected values, but the new deletion behavior is counter-intuitive and might be a breaking change for some users. Therefore, this should be considered carefully. In my view, the best way to move forward is patching meshkernel(py) by reverting the deletion behaviour.

@veenstrajelmer
Copy link
Collaborator Author

This is resolved in meshkernel 5.0.1, released today

@veenstrajelmer veenstrajelmer changed the title Update to meshkernelpy 5.0.0 Update to meshkernelpy 5.0.1 Oct 18, 2024
@veenstrajelmer veenstrajelmer linked a pull request Oct 18, 2024 that will close this issue
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 a pull request may close this issue.

1 participant