Skip to content

Commit

Permalink
Fix handling of empty set
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed May 13, 2023
1 parent 58f84d3 commit 9542104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cibuildwheel/pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ def build(options: Options, tmp_path: Path) -> None:
options.globals.build_selector, options.globals.architectures
)

if not python_configurations:
return

try:
before_all_options_identifier = python_configurations[0].identifier
before_all_options = options.build_options(before_all_options_identifier)
Expand Down

0 comments on commit 9542104

Please sign in to comment.