Skip to content

Commit

Permalink
Limit use of numpy 2.0 to imod > 0.17.1 (#904)
Browse files Browse the repository at this point in the history
* Limit use of numpy 2.0 to imod > 0.17.1

* Proper old numpy dependency specification
  • Loading branch information
JoerivanEngelen authored Nov 22, 2024
1 parent b80e04b commit d5be33e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions recipe/patch_yaml/imod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,14 @@ then:
- replace_depends:
old: xarray >=2023.04.0
new: xarray >=2023.08.0
---
# iMOD Python <= 0.17.1 doesn't support numpy 2.0
if:
name: imod
timestamp_le: 1731329388000
version_le: "0.17.1"
has_depends: numpy
then:
- replace_depends:
old: numpy
new: numpy <2.0

0 comments on commit d5be33e

Please sign in to comment.