From adcb13a679543ee2c68de012608bd4cc1f2dfe8f Mon Sep 17 00:00:00 2001 From: mloubout Date: Thu, 27 Jun 2024 16:14:58 -0400 Subject: [PATCH] fix py deps --- Project.toml | 2 +- deps/build.jl | 4 ++-- src/pysource/sources.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index cab5b71cf..75c75f8eb 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JUDI" uuid = "f3b833dc-6b2e-5b9c-b940-873ed6319979" authors = ["Philipp Witte, Mathias Louboutin"] -version = "3.4.3" +version = "3.4.4" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" diff --git a/deps/build.jl b/deps/build.jl index 1a864342a..42f873c2b 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -21,8 +21,8 @@ cmd = Cmd([python, "-m", "pip", "install", "-U", "--user", "devito[extras,tests] try dv_ver = split(pk.get_distribution("devito").version, "+")[1] - if cmp(dv_ver, "4.4") < 0 - @info "Devito version too low, updating to >=4.4" + if cmp(dv_ver, "4.8.7") < 0 + @info "Devito version too low, updating to >=4.8.7" run(cmd) end catch e diff --git a/src/pysource/sources.py b/src/pysource/sources.py index 789ab7c85..cf7bb72ff 100644 --- a/src/pysource/sources.py +++ b/src/pysource/sources.py @@ -1,4 +1,4 @@ -from cached_property import cached_property +from functools import cached_property from devito.types import SparseTimeFunction import numpy as np