From 4601b45329fe00a52b6faa184bf27d7e8ebf915a Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 7 May 2024 15:30:02 +0200 Subject: [PATCH] add constraints from host run_exports both weak and strong apply from host environment, not just weak --- conda_forge_feedstock_check_solvable/mamba_solver.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/conda_forge_feedstock_check_solvable/mamba_solver.py b/conda_forge_feedstock_check_solvable/mamba_solver.py index c26dca1..5b123dd 100644 --- a/conda_forge_feedstock_check_solvable/mamba_solver.py +++ b/conda_forge_feedstock_check_solvable/mamba_solver.py @@ -1087,7 +1087,13 @@ def _is_recipe_solvable_on_platform( if m.noarch or m.noarch_python: run_req = list(set(run_req) | host_rx["noarch"]) else: - run_req = list(set(run_req) | host_rx["weak"]) + run_req = list( + set(run_req) + | host_rx["weak"] + | host_rx["weak_constrains"] + | host_rx["strong"] + | host_rx["strong_constrains"] + ) if run_req: run_req = apply_pins(run_req, host_req or [], build_req or [], outnames, m)