From fe279adef441cec377c4b1f0eb56657742b9976f Mon Sep 17 00:00:00 2001 From: John Blischak Date: Fri, 8 Nov 2024 15:34:38 -0500 Subject: [PATCH] anndata 0.11.0 requires python >= 3.10 (#902) --- recipe/patch_yaml/anndata.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/recipe/patch_yaml/anndata.yaml b/recipe/patch_yaml/anndata.yaml index 83acb7ae6..37971b3c5 100644 --- a/recipe/patch_yaml/anndata.yaml +++ b/recipe/patch_yaml/anndata.yaml @@ -19,3 +19,19 @@ then: - replace_depends: old: "python >=3.6" new: "python >=3.8" +--- +# anndata 0.11.0 dropped support for Python 3.9 but build 0 didn't update the +# Python pin. Fixed for build_number 1 in +# https://github.com/conda-forge/anndata-feedstock/pull/45 +if: + name: anndata + version: "0.11.0" + build_number: 0 + timestamp_lt: 1731005774000 +then: + - replace_depends: + old: "python >=3.9" + new: "python >=3.10" + - replace_depends: + old: "h5py >=3.1" + new: "h5py >=3.6"