Skip to content

fix: avoiding an extra system call#279

Merged
henryiii merged 1 commit intoscikit-build:masterfrom
henryiii:henryiii/fix/extracall
Sep 7, 2022
Merged

fix: avoiding an extra system call#279
henryiii merged 1 commit intoscikit-build:masterfrom
henryiii:henryiii/fix/extracall

Conversation

@henryiii
Copy link
Copy Markdown
Contributor

@henryiii henryiii commented Sep 7, 2022

This make it harder to mock system calls because platform calls uname, at least on Python 3.7 (and maybe not on 3.11). Using sys.platform.startswith is the canonical way to do this anyway.

Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii merged commit 0f8cffa into scikit-build:master Sep 7, 2022
@henryiii henryiii deleted the henryiii/fix/extracall branch September 7, 2022 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants