From 6173572ec707a5cc2dfc074605e33797371df20e Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 16 Oct 2023 14:43:20 +1100 Subject: [PATCH] don't use `pin_subpackage(..., exact=True)` in libarrow run-constraint --- recipe/meta.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e8fe4fa8d..04b9c0d27 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -208,14 +208,16 @@ outputs: run_constrained: - apache-arrow-proc =*={{ build_ext }} # avoid that libarrow-X & -Y get installed with different builds or even versions; - # since everything else depends on libarrow, it's enough to enforce this here once - - {{ pin_subpackage("libarrow-acero", exact=True) }} - - {{ pin_subpackage("libarrow-dataset", exact=True) }} - - {{ pin_subpackage("libarrow-flight", exact=True) }} - - {{ pin_subpackage("libarrow-flight-sql", exact=True) }} - - {{ pin_subpackage("libarrow-gandiva", exact=True) }} - - {{ pin_subpackage("libarrow-substrait", exact=True) }} - - {{ pin_subpackage("libparquet", exact=True) }} + # since everything else depends on libarrow, it's enough to enforce this here once; + # can't use `pin_subpackage(..., exact=True)` because when libarrow gets built first + # (and the metadata populated), the hashes for the other outputs aren't known yet. + - libarrow-acero ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} + - libarrow-dataset ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} + - libarrow-flight ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} + - libarrow-flight-sql ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} + - libarrow-gandiva ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} + - libarrow-substrait ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} + - libparquet ={{ version }}=*_{{ PKG_BUILDNUM }}_{{ build_ext }} # avoid installation with old naming of lib package - arrow-cpp <0.0a0 # old parquet lib output, now part of this feedstock