From fe60c7bf46c6cd59498f5a9f239743ca49eb6c4f Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 7 Sep 2026 12:33:56 +0200 Subject: [PATCH 1/4] add run-export to libpython --- recipe/meta.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5635714e0..9f03ada83 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 = 1 %} +{% set build_number = 2 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -311,6 +311,9 @@ outputs: - PY_INTERP_DEBUG={{ py_interp_debug }} - PY_FREETHREADING={{ freethreading }} string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }} + run_exports: + weak: + - {{ pin_subpackage("libpython", max_pin=None) }} requirements: build: - {{ compiler('c') }} From d4f589d2658386966e133fcd681dd0daff79ea8e Mon Sep 17 00:00:00 2001 From: h-vetinari Date: Mon, 14 Sep 2026 16:44:17 +0200 Subject: [PATCH 2/4] improve libpython run-exports Co-authored-by: Isuru Fernando --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 9f03ada83..026e5fcbc 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -313,7 +313,7 @@ outputs: string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }} run_exports: weak: - - {{ pin_subpackage("libpython", max_pin=None) }} + - {{ pin_subpackage("libpython", min_pin="x.x", max_pin="x") }} requirements: build: - {{ compiler('c') }} From fccda24634935473af90cb464b64dcac80c5e678 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 16 Sep 2026 11:16:43 -0700 Subject: [PATCH 3/4] Apply suggestion from @isuruf --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 026e5fcbc..f47795ff0 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -313,7 +313,7 @@ outputs: string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }} run_exports: weak: - - {{ pin_subpackage("libpython", min_pin="x.x", max_pin="x") }} + - {{ pin_subpackage("libpython", min_pin="x.x", max_pin="x") }} # [unix] requirements: build: - {{ compiler('c') }} From 47f338b7907cff7384149f91a9253cf7138c112f Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 16 Sep 2026 11:34:41 -0700 Subject: [PATCH 4/4] Fix formatting of run_exports in meta.yaml --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index f47795ff0..c30fb4c35 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -311,8 +311,8 @@ outputs: - PY_INTERP_DEBUG={{ py_interp_debug }} - PY_FREETHREADING={{ freethreading }} string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }} - run_exports: - weak: + run_exports: # [unix] + weak: # [unix] - {{ pin_subpackage("libpython", min_pin="x.x", max_pin="x") }} # [unix] requirements: build: