From 06baaf89476b50e01130007fca3ca7db68accc0a Mon Sep 17 00:00:00 2001 From: MilesCranmerBot Date: Sun, 11 Oct 2026 11:48:52 +0100 Subject: [PATCH] libpython: drop the unused C++ compiler The shared library links no C++ runtime (libpython3.15.so.1.0 needs only libc, libm, libgcc_s and friends; the macOS dylib only libSystem), but the compiler's run-exports made every libpython build require libstdcxx >=15 on Linux and libcxx on macOS. Environments capped below libstdcxx 15 (e.g. Julia 1.10 and 1.12 via CondaPkg) therefore cannot install libpython, nor python 3.13/3.14 builds that pin it exactly. Co-authored-by: Miles Cranmer --- recipe/meta.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 11189aa16..44247e152 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 0 %} +{% set build_number = 1 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -320,7 +320,6 @@ outputs: build: - {{ compiler('c') }} - {{ stdlib('c') }} - - {{ compiler('cxx') }} host: - {{ pin_subpackage('python', exact=True) }} run: