Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a newer pip so the MacOS wheel gets installed #1525

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Conversation

erikwijmans
Copy link
Contributor

Motivation and Context

The MacOS wheel for clang-format requires pip>=21 to be installed (and building all of llvm is no fun).

How Has This Been Tested

Locally.

Types of changes

Bug fix (non-breaking change which fixes an issue)

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Oct 6, 2021
@aclegg3
Copy link
Contributor

aclegg3 commented Oct 6, 2021

With this change, I'm still seeing local crash running pre-commit hook building clang-format. Relevant line seems to indicate that our configured cmake version is too old.

CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
        CMake 3.16 or higher is required.  You are running version 3.14.0

@erikwijmans
Copy link
Contributor Author

@aclegg3 I'm gonna land this as I think your error likely requires a different fix.

@henryiii
Copy link

henryiii commented Oct 7, 2021

Why is it building? It should not be building as long as pip is new enough (unless you are on Alpine, though that will be fixed soon). The CMake version is also fixed in master and will be in the next release, but it really shouldn't be building locally.

@erikwijmans
Copy link
Contributor Author

At least for me it was building because the pip pre-commit uses in its venv was 20 and that doesn't recognize the universal2 tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants