Skip to content

Commit

Permalink
add constraints from host run_exports
Browse files Browse the repository at this point in the history
both weak and strong apply from host environment, not just weak
  • Loading branch information
minrk committed May 7, 2024
1 parent a099222 commit 4601b45
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion conda_forge_feedstock_check_solvable/mamba_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4601b45

Please sign in to comment.