From e74dbcfd77865c4dfc4c47dead4cac6f66c429cb Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Mon, 8 Apr 2024 10:13:15 +0200 Subject: [PATCH 1/2] Correct runtime requirements for snappy <1.2.0 Signed-off-by: Julien Jerphanion --- recipe/patch_yaml/snappy.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipe/patch_yaml/snappy.yaml b/recipe/patch_yaml/snappy.yaml index 3e5f97a80..d65e02bd1 100644 --- a/recipe/patch_yaml/snappy.yaml +++ b/recipe/patch_yaml/snappy.yaml @@ -6,3 +6,13 @@ then: - replace_depends: old: snappy >=1.1.7,<1.1.8.0a0 new: snappy >=1.1.7,<2.0.0.0a0 +--- +# For context, see: https://github.com/conda-forge/snappy-feedstock/issues/35 +if: + name: "*" + has_depends: snappy + timestamp_lt: 1712498454329 +then: + - tighten_depends: + name: snappy + max_pin: 'x.x' From ad13e8b540e1d7a9c2c37fa78fc4b67ea60bcf0d Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Mon, 8 Apr 2024 10:25:36 +0200 Subject: [PATCH 2/2] Adapt previous patch accordingly Signed-off-by: Julien Jerphanion Co-authored-by: Uwe L. Korn --- recipe/patch_yaml/snappy.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipe/patch_yaml/snappy.yaml b/recipe/patch_yaml/snappy.yaml index d65e02bd1..409aabe01 100644 --- a/recipe/patch_yaml/snappy.yaml +++ b/recipe/patch_yaml/snappy.yaml @@ -1,13 +1,17 @@ # from this snippet # _replace_pin('snappy >=1.1.7,<1.1.8.0a0', 'snappy >=1.1.7,<2.0.0.0a0', deps, record) +# +# Adapted with respect to the ABI change from 1.1.x to 1.2.x: +# See: https://github.com/conda-forge/snappy-feedstock/issues/35 if: name: "*" then: - replace_depends: old: snappy >=1.1.7,<1.1.8.0a0 - new: snappy >=1.1.7,<2.0.0.0a0 + new: snappy >=1.1.7,<1.2.0.0a0 --- -# For context, see: https://github.com/conda-forge/snappy-feedstock/issues/35 +# ABI change from 1.1.x to 1.2.x +# See: https://github.com/conda-forge/snappy-feedstock/issues/35 if: name: "*" has_depends: snappy