Skip to content

Commit

Permalink
Handle skipped patches on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish committed Sep 13, 2024
1 parent beb360d commit 5a39a74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ def build(setup_kwargs: Dict[str, Any]) -> None:
except subprocess.CalledProcessError as e:
print(e.output)
# We want to ignore this if it was a case of already applied
if "Skipping patch" not in e.output:
if (
"Skipping patch" not in e.output
and "Ignoring previously applied" not in e.output
):
raise

setup_kwargs.update({"ext_modules": extensions})
Expand Down

0 comments on commit 5a39a74

Please sign in to comment.