Skip to content

Commit

Permalink
BUG only look at cross for build vs host
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Jun 13, 2024
1 parent 005e498 commit 97bf169
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions conda_forge_feedstock_check_solvable/check_solvable.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,7 @@ def _is_recipe_solvable_on_platform(
| host_rx["strong_constrains"]
)

pin_compat_req = (
(host_req or [])
if m.is_cross and not m.build_is_host
else (build_req or [])
)
pin_compat_req = (host_req or []) if m.is_cross else (build_req or [])

run_constrained = apply_pins(
run_constrained, host_req or [], build_req or [], outnames, m
Expand Down

0 comments on commit 97bf169

Please sign in to comment.