From 195f004397045cce5a9fae104071070155e603b2 Mon Sep 17 00:00:00 2001 From: Christopher Doris Date: Wed, 23 Nov 2022 17:00:41 +0000 Subject: [PATCH] fix pyarrow depending on incorrect version of libstdcxx-ng --- recipe/gen_patch_json.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipe/gen_patch_json.py b/recipe/gen_patch_json.py index b9e9bb1a2..f22de81cd 100644 --- a/recipe/gen_patch_json.py +++ b/recipe/gen_patch_json.py @@ -601,6 +601,11 @@ def _gen_new_index_per_key(repodata, subdir, index_key): # The underlying issue is https://github.com/numpy/numpy/issues/17913 if record.get('timestamp', 0) < 1607959235411 and any(dep.split(' ')[0] == 'numpy' for dep in record.get('depends', ())): _pin_stricter(fn, record, "numpy", "x", "1.20") + # these versions actually require symbols only present in libstdc++ >=12 + if subdir == 'linux-64' and 'cpu' in record['build'] and (record['version'], record['build_number']) in [('8.0.0', 1), ('7.0.0', 6), ('6.0.1', 18)]: + for i, dep in enumerate(record['depends']): + if dep.split(' ')[0] == 'libstdcxx-ng': + record['depends'][i] = 'libstdcxx-ng >=12' if record_name == "kartothek": if record["version"] in ["3.15.0", "3.15.1", "3.16.0"] \