Skip to content

Commit

Permalink
Merge pull request #925 from JoerivanEngelen/fix-imod-0.18.1
Browse files Browse the repository at this point in the history
Limit python and xarray version for imod<=0.18.1
  • Loading branch information
ocefpaf authored Dec 12, 2024
2 parents 3374104 + a2457f4 commit 16574a3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions recipe/patch_yaml/imod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,24 @@ then:
- replace_depends:
old: numpy
new: numpy <2.0
---
# iMOD Python <= 0.18.1 doesn't support Python 3.13
if:
name: imod
timestamp_le: 1733911551000
version_le: "0.18.1"
then:
- tighten_depends:
name: python
upper_bound: "3.13"
---
# iMOD Python <= 0.18.1 gives trouble with copying and writing HFBs for
# xarray < 2024.10.0
if:
name: imod
timestamp_le: 1733911551000
version_le: "0.18.1"
then:
- tighten_depends:
name: xarray
upper_bound: "2024.10.0"

0 comments on commit 16574a3

Please sign in to comment.