From 711d3d3f55dd58bdb511d3d2c9218a42db1ec96a Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 5 Dec 2024 13:37:22 +0100 Subject: [PATCH] past builds of fenics-ffc don't support numpy 2 patch has been applied for build 40 --- recipe/patch_yaml/ffc-numpy.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipe/patch_yaml/ffc-numpy.yaml diff --git a/recipe/patch_yaml/ffc-numpy.yaml b/recipe/patch_yaml/ffc-numpy.yaml new file mode 100644 index 000000000..9ff2aec32 --- /dev/null +++ b/recipe/patch_yaml/ffc-numpy.yaml @@ -0,0 +1,14 @@ +# fenics-ffc up to 2019.1.0 doesn't support numpy 2 +# but has unbounded numpy dependency +# conda-forge only has version 2019.1.0 of this package +# a patch was backported in 2019.1.0 build 40 +if: + name: fenics-ffc + version: "2019.1.0" + build_number_lt: 40 + timestamp_lt: 1733402352000 +then: + - tighten_depends: + # don't support numpy 2 + name: numpy + upper_bound: 2.0.0