Skip to content

Commit

Permalink
Don't replace original value of skip_binary (#319)
Browse files Browse the repository at this point in the history
Stop replacing the original value of skip binary so that the local wheel removal logic still works.
  • Loading branch information
allenporter authored Jan 26, 2022
1 parent 4990dbb commit 33e4a1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions builder/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def builder(
# Build every wheel like a single installation
packages = extract_packages(requirement, requirement_diff)
constraints = parse_requirements(constraint) if constraint else []
skip_binary = check_available_binary(
skip_binary_new = check_available_binary(
wheels_index,
skip_binary,
packages,
Expand All @@ -145,7 +145,7 @@ def builder(
package,
wheels_index,
wheels_dir,
skip_binary,
skip_binary_new,
timeout,
alpine_version,
constraint,
Expand All @@ -161,7 +161,7 @@ def builder(
temp_requirement = Path("/tmp/wheels_requirement.txt")
write_requirement(temp_requirement, packages)
constraints = parse_requirements(constraint) if constraint else []
skip_binary = check_available_binary(
skip_binary_new = check_available_binary(
wheels_index,
skip_binary,
packages,
Expand All @@ -172,7 +172,7 @@ def builder(
temp_requirement,
wheels_index,
wheels_dir,
skip_binary,
skip_binary_new,
timeout,
alpine_version,
constraint,
Expand Down

0 comments on commit 33e4a1a

Please sign in to comment.